Grasscutter_Resources/Resources/Scripts/Activity/3001/activity3001_group303001034.lua
2022-04-29 16:40:51 +02:00

1444 lines
28 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1
L0_1 = {}
L1_1 = {}
L1_1.config_id = 34001
L1_1.monster_id = 21011401
L2_1 = {}
L2_1.x = 999.724
L2_1.y = 343.959
L2_1.z = -636.944
L1_1.pos = L2_1
L2_1 = {}
L2_1.x = 0.0
L2_1.y = 153.245
L2_1.z = 0.0
L1_1.rot = L2_1
L1_1.level = 32
L1_1.climate_area_id = 1
L1_1.area_id = 10
L2_1 = {}
L2_1.config_id = 34002
L2_1.monster_id = 21011401
L3_1 = {}
L3_1.x = 1003.846
L3_1.y = 348.107
L3_1.z = -650.532
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 348.697
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 32
L2_1.climate_area_id = 1
L2_1.area_id = 10
L3_1 = {}
L3_1.config_id = 34003
L3_1.monster_id = 21010901
L4_1 = {}
L4_1.x = 994.053
L4_1.y = 346.229
L4_1.z = -648.96
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 64.211
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L3_1.climate_area_id = 1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 34004
L4_1.monster_id = 21011301
L5_1 = {}
L5_1.x = 1003.868
L5_1.y = 348.154
L5_1.z = -650.62
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 323.584
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 32
L4_1.climate_area_id = 1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 34005
L5_1.monster_id = 21011301
L6_1 = {}
L6_1.x = 999.626
L6_1.y = 343.961
L6_1.z = -637.055
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 137.828
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 32
L5_1.climate_area_id = 1
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 34006
L6_1.monster_id = 20010901
L7_1 = {}
L7_1.x = 1001.886
L7_1.y = 344.652
L7_1.z = -639.069
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 141.59
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 32
L6_1.climate_area_id = 1
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 34007
L7_1.monster_id = 21010901
L8_1 = {}
L8_1.x = 1013.705
L8_1.y = 349.957
L8_1.z = -650.404
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 278.631
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 32
L7_1.climate_area_id = 1
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 34008
L8_1.monster_id = 22010201
L9_1 = {}
L9_1.x = 999.915
L9_1.y = 345.275
L9_1.z = -643.936
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 27.558
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 32
L8_1.climate_area_id = 1
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 34009
L9_1.monster_id = 20010901
L10_1 = {}
L10_1.x = 1001.886
L10_1.y = 344.652
L10_1.z = -639.069
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 141.59
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 32
L9_1.climate_area_id = 1
L9_1.area_id = 10
L0_1[1] = L1_1
L0_1[2] = L2_1
L0_1[3] = L3_1
L0_1[4] = L4_1
L0_1[5] = L5_1
L0_1[6] = L6_1
L0_1[7] = L7_1
L0_1[8] = L8_1
L0_1[9] = L9_1
monsters = L0_1
L0_1 = {}
npcs = L0_1
L0_1 = {}
L1_1 = {}
L1_1.config_id = 34010
L1_1.gadget_id = 70360107
L2_1 = {}
L2_1.x = 1001.823
L2_1.y = 345.92
L2_1.z = -640.745
L1_1.pos = L2_1
L2_1 = {}
L2_1.x = 3.249
L2_1.y = 359.836
L2_1.z = 354.223
L1_1.rot = L2_1
L1_1.level = 32
L1_1.persistent = true
L1_1.area_id = 10
L2_1 = {}
L2_1.config_id = 34011
L2_1.gadget_id = 70360107
L3_1 = {}
L3_1.x = 1001.823
L3_1.y = 345.92
L3_1.z = -640.745
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 6.264
L3_1.y = 85.696
L3_1.z = 2.596
L2_1.rot = L3_1
L2_1.level = 32
L2_1.persistent = true
L2_1.area_id = 10
L3_1 = {}
L3_1.config_id = 34012
L3_1.gadget_id = 70210111
L4_1 = {}
L4_1.x = 1001.819
L4_1.y = 344.936
L4_1.z = -640.727
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 26
L3_1.chest_drop_id = 1000100
L3_1.drop_count = 1
L3_1.showcutscene = true
L3_1.persistent = true
L3_1.is_blossom_chest = true
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 34013
L4_1.gadget_id = 70360105
L5_1 = {}
L5_1.x = 1001.823
L5_1.y = 345.92
L5_1.z = -640.745
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 3.249
L5_1.y = 359.836
L5_1.z = 354.223
L4_1.rot = L5_1
L4_1.level = 32
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 34020
L5_1.gadget_id = 70720214
L6_1 = {}
L6_1.x = 1002.903
L6_1.y = 345.357
L6_1.z = -641.816
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 32
L5_1.route_id = 300200259
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 34021
L6_1.gadget_id = 70720215
L7_1 = {}
L7_1.x = 1002.189
L7_1.y = 345.441
L7_1.z = -643.981
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 3.249
L7_1.y = 359.836
L7_1.z = 354.223
L6_1.rot = L7_1
L6_1.level = 32
L6_1.area_id = 10
L0_1[1] = L1_1
L0_1[2] = L2_1
L0_1[3] = L3_1
L0_1[4] = L4_1
L0_1[5] = L5_1
L0_1[6] = L6_1
gadgets = L0_1
L0_1 = {}
regions = L0_1
L0_1 = {}
L1_1 = {}
L1_1.config_id = 1034022
L1_1.name = "GADGET_STATE_CHANGE_34022"
L2_1 = EventType
L2_1 = L2_1.EVENT_GADGET_STATE_CHANGE
L1_1.event = L2_1
L1_1.source = ""
L1_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_34022"
L1_1.action = "action_EVENT_GADGET_STATE_CHANGE_34022"
L1_1.trigger_count = 0
L2_1 = {}
L2_1.config_id = 1034023
L2_1.name = "GADGET_STATE_CHANGE_34023"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_34023"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_34023"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1034024
L3_1.name = "GADGET_CREATE_34024"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_34024"
L3_1.action = "action_EVENT_GADGET_CREATE_34024"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1034025
L4_1.name = "GROUP_REFRESH_34025"
L5_1 = EventType
L5_1 = L5_1.EVENT_GROUP_REFRESH
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = ""
L4_1.action = "action_EVENT_GROUP_REFRESH_34025"
L5_1 = {}
L5_1.config_id = 1034026
L5_1.name = "BLOSSOM_CHEST_DIE_34026"
L6_1 = EventType
L6_1 = L6_1.EVENT_BLOSSOM_CHEST_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_BLOSSOM_CHEST_DIE_34026"
L5_1.action = "action_EVENT_BLOSSOM_CHEST_DIE_34026"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1034027
L6_1.name = "GADGET_CREATE_34027"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_CREATE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_CREATE_34027"
L6_1.action = "action_EVENT_GADGET_CREATE_34027"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1034028
L7_1.name = "SELECT_OPTION_34028"
L8_1 = EventType
L8_1 = L8_1.EVENT_SELECT_OPTION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_SELECT_OPTION_34028"
L7_1.action = "action_EVENT_SELECT_OPTION_34028"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1034029
L8_1.name = "SELECT_OPTION_34029"
L9_1 = EventType
L9_1 = L9_1.EVENT_SELECT_OPTION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_SELECT_OPTION_34029"
L8_1.action = "action_EVENT_SELECT_OPTION_34029"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1034030
L9_1.name = "ANY_MONSTER_DIE_34030"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_DIE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = ""
L9_1.action = "action_EVENT_ANY_MONSTER_DIE_34030"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1034031
L10_1.name = "BLOSSOM_PROGRESS_FINISH_34031"
L11_1 = EventType
L11_1 = L11_1.EVENT_BLOSSOM_PROGRESS_FINISH
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_BLOSSOM_PROGRESS_FINISH_34031"
L11_1 = {}
L11_1.config_id = 1034032
L11_1.name = "GROUP_LOAD_34032"
L12_1 = EventType
L12_1 = L12_1.EVENT_GROUP_LOAD
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = ""
L11_1.action = "action_EVENT_GROUP_LOAD_34032"
L12_1 = {}
L12_1.config_id = 1034033
L12_1.name = "ANY_GADGET_DIE_34033"
L13_1 = EventType
L13_1 = L13_1.EVENT_ANY_GADGET_DIE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_ANY_GADGET_DIE_34033"
L12_1.action = "action_EVENT_ANY_GADGET_DIE_34033"
L13_1 = {}
L13_1.config_id = 1034034
L13_1.name = "ANY_GADGET_DIE_34034"
L14_1 = EventType
L14_1 = L14_1.EVENT_ANY_GADGET_DIE
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_ANY_GADGET_DIE_34034"
L13_1.action = "action_EVENT_ANY_GADGET_DIE_34034"
L14_1 = {}
L14_1.config_id = 1034035
L14_1.name = "ANY_GADGET_DIE_34035"
L15_1 = EventType
L15_1 = L15_1.EVENT_ANY_GADGET_DIE
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_ANY_GADGET_DIE_34035"
L14_1.action = "action_EVENT_ANY_GADGET_DIE_34035"
L15_1 = {}
L15_1.config_id = 1034036
L15_1.name = "ANY_MONSTER_DIE_34036"
L16_1 = EventType
L16_1 = L16_1.EVENT_ANY_MONSTER_DIE
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_ANY_MONSTER_DIE_34036"
L15_1.action = "action_EVENT_ANY_MONSTER_DIE_34036"
L16_1 = {}
L16_1.config_id = 1034037
L16_1.name = "CHALLENGE_SUCCESS_34037"
L17_1 = EventType
L17_1 = L17_1.EVENT_CHALLENGE_SUCCESS
L16_1.event = L17_1
L16_1.source = "666"
L16_1.condition = ""
L16_1.action = "action_EVENT_CHALLENGE_SUCCESS_34037"
L17_1 = {}
L17_1.config_id = 1034038
L17_1.name = "CHALLENGE_FAIL_34038"
L18_1 = EventType
L18_1 = L18_1.EVENT_CHALLENGE_FAIL
L17_1.event = L18_1
L17_1.source = "666"
L17_1.condition = ""
L17_1.action = "action_EVENT_CHALLENGE_FAIL_34038"
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1034039
L18_1.name = "ANY_MONSTER_DIE_34039"
L19_1 = EventType
L19_1 = L19_1.EVENT_ANY_MONSTER_DIE
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_ANY_MONSTER_DIE_34039"
L18_1.action = "action_EVENT_ANY_MONSTER_DIE_34039"
L19_1 = {}
L19_1.config_id = 1034040
L19_1.name = "PLATFORM_REACH_POINT_34040"
L20_1 = EventType
L20_1 = L20_1.EVENT_PLATFORM_REACH_POINT
L19_1.event = L20_1
L19_1.source = ""
L19_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_34040"
L19_1.action = "action_EVENT_PLATFORM_REACH_POINT_34040"
L20_1 = {}
L20_1.config_id = 1034041
L20_1.name = "GADGET_CREATE_34041"
L21_1 = EventType
L21_1 = L21_1.EVENT_GADGET_CREATE
L20_1.event = L21_1
L20_1.source = ""
L20_1.condition = "condition_EVENT_GADGET_CREATE_34041"
L20_1.action = "action_EVENT_GADGET_CREATE_34041"
L0_1[1] = L1_1
L0_1[2] = L2_1
L0_1[3] = L3_1
L0_1[4] = L4_1
L0_1[5] = L5_1
L0_1[6] = L6_1
L0_1[7] = L7_1
L0_1[8] = L8_1
L0_1[9] = L9_1
L0_1[10] = L10_1
L0_1[11] = L11_1
L0_1[12] = L12_1
L0_1[13] = L13_1
L0_1[14] = L14_1
L0_1[15] = L15_1
L0_1[16] = L16_1
L0_1[17] = L17_1
L0_1[18] = L18_1
L0_1[19] = L19_1
L0_1[20] = L20_1
triggers = L0_1
L0_1 = {}
L1_1 = {}
L1_1.name = "GroupCompletion"
L1_1.value = 0
L1_1.no_refresh = false
L0_1[1] = L1_1
variables = L0_1
L0_1 = {}
L0_1.suite = 1
L0_1.end_suite = 0
L0_1.rand_suite = false
init_config = L0_1
L0_1 = {}
L1_1 = {}
L2_1 = {}
L1_1.monsters = L2_1
L2_1 = {}
L1_1.gadgets = L2_1
L2_1 = {}
L1_1.regions = L2_1
L2_1 = {}
L3_1 = "GROUP_LOAD_34032"
L2_1[1] = L3_1
L1_1.triggers = L2_1
L1_1.rand_weight = 100
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 34020
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_34024"
L5_1 = "GROUP_REFRESH_34025"
L6_1 = "BLOSSOM_CHEST_DIE_34026"
L7_1 = "SELECT_OPTION_34028"
L8_1 = "ANY_MONSTER_DIE_34030"
L9_1 = "BLOSSOM_PROGRESS_FINISH_34031"
L10_1 = "PLATFORM_REACH_POINT_34040"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 34001
L6_1 = 34002
L7_1 = 34003
L8_1 = 34007
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_34036"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 34013
L7_1 = 34021
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_CREATE_34041"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 34004
L8_1 = 34005
L9_1 = 34006
L10_1 = 34009
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ANY_MONSTER_DIE_34039"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L8_1 = 34008
L7_1[1] = L8_1
L6_1.monsters = L7_1
L7_1 = {}
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L0_1[1] = L1_1
L0_1[2] = L2_1
L0_1[3] = L3_1
L0_1[4] = L4_1
L0_1[5] = L5_1
L0_1[6] = L6_1
suites = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 34010 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_34022 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.GetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 == L2_2 or 1 == L2_2 then
L3_2 = ScriptLib
L3_2 = L3_2.SetWorktopOptions
L4_2 = A0_2
L5_2 = {}
L6_2 = 187
L5_2[1] = L6_2
L3_2(L4_2, L5_2)
end
L3_2 = ScriptLib
L3_2 = L3_2.RefreshBlossomDropRewardByGroupId
L4_2 = A0_2
L5_2 = 303001034
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_GADGET_STATE_CHANGE_34022 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 34011 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_34023 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.GetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 == L2_2 or 1 == L2_2 then
L3_2 = ScriptLib
L3_2 = L3_2.SetWorktopOptions
L4_2 = A0_2
L5_2 = {}
L6_2 = 187
L5_2[1] = L6_2
L3_2(L4_2, L5_2)
end
L3_2 = ScriptLib
L3_2 = L3_2.RefreshBlossomDropRewardByGroupId
L4_2 = A0_2
L5_2 = 303001034
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_GADGET_STATE_CHANGE_34023 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = A1_2.param1
if 34010 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 0
L6_2 = A1_2.param1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 == L3_2 then
goto lbl_16
end
end
L2_2 = false
do return L2_2 end
::lbl_16::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_34024 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 34010
L6_2 = {}
L7_2 = 37
L6_2[1] = L7_2
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomDropRewardByGroupId
L3_2 = A0_2
L4_2 = 303001034
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_34024 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 34010
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomDropRewardByGroupId
L3_2 = A0_2
L4_2 = 303001034
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_REFRESH_34025 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_BLOSSOM_CHEST_DIE_34026 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 0
L4_2.suite = 2
L4_2.exclude_prev = true
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_BLOSSOM_CHEST_DIE_34026 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = A1_2.param1
if 34011 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearAction2
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 0
L6_2 = A1_2.param1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 == L3_2 then
goto lbl_16
end
end
L2_2 = false
do return L2_2 end
::lbl_16::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_34027 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.GetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 == L2_2 or 1 == L2_2 then
L3_2 = ScriptLib
L3_2 = L3_2.SetWorktopOptions
L4_2 = A0_2
L5_2 = {}
L6_2 = 187
L5_2[1] = L6_2
L3_2(L4_2, L5_2)
end
L3_2 = ScriptLib
L3_2 = L3_2.RefreshBlossomDropRewardByGroupId
L4_2 = A0_2
L5_2 = 303001034
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_GADGET_CREATE_34027 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34010 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 37 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_34028 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 34010
L6_2 = 37
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34010
L5_2 = GadgetState
L5_2 = L5_2.GearStart
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetPlatformRouteId
L3_2 = A0_2
L4_2 = 34020
L5_2 = 300200260
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 34020
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 2
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomDropRewardByGroupId
L3_2 = A0_2
L4_2 = 303001034
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_34028 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 187 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_34029 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 34011
L6_2 = 187
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34011
L5_2 = GadgetState
L5_2 = L5_2.GearStart
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 2
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomDropRewardByGroupId
L3_2 = A0_2
L4_2 = 303001034
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 666
L5_2 = 208
L6_2 = 303001029
L7_2 = 6
L8_2 = 0
L9_2 = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_34029 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddBlossomScheduleProgressByGroupId
L3_2 = A0_2
L4_2 = 303001034
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_34030 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateBlossomChestByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 34012
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetBlossomScheduleStateByGroupId
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 3
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "GroupCompletion"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_BLOSSOM_PROGRESS_FINISH_34031 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshBlossomGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 0
L4_2.suite = 2
L4_2.exclude_prev = true
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_34032 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34017 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_34033 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34014
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_34033 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34018 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_34034 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34015
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_34034 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34019 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_34035 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34016
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_34035 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCountByGroupId
L3_2 = A0_2
L4_2 = 303001034
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_34036 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = {}
L2_2.x = 1314
L2_2.y = 291
L2_2.z = -1028
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 400004
L6_2 = L2_2
L7_2 = 25
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ANY_MONSTER_DIE_34036 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetPlatformRouteId
L3_2 = A0_2
L4_2 = 34020
L5_2 = 300200261
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.StartPlatform
L3_2 = A0_2
L4_2 = 34020
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34013
L5_2 = GadgetState
L5_2 = L5_2.GearStop
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_34037 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34013
L5_2 = GadgetState
L5_2 = L5_2.GearStop
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 303001034
L4_2.suite = 2
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_34038 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCountByGroupId
L3_2 = A0_2
L4_2 = 303001034
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_34039 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 303001034
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = {}
L2_2.x = 1314
L2_2.y = 291
L2_2.z = -1028
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 400004
L6_2 = L2_2
L7_2 = 25
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ANY_MONSTER_DIE_34039 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34020 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 300200261 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param3
if 2 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_PLATFORM_REACH_POINT_34040 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 34012
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.StopPlatform
L3_2 = A0_2
L4_2 = 34020
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 34020
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 34021
L5_2 = GadgetState
L5_2 = L5_2.GearAction1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_PLATFORM_REACH_POINT_34040 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 34013 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_34041 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = 1399
L2_2.y = 324
L2_2.z = -961
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 400010
L6_2 = L2_2
L7_2 = 25
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_GADGET_CREATE_34041 = L0_1