Grasscutter_Resources/Resources/Scripts/Activity/3001/activity3001_group303001033.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 = 33001
L1_1.monster_id = 21011401
L2_1 = {}
L2_1.x = 1312.233
L2_1.y = 292.244
L2_1.z = -1026.87
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 = 33002
L2_1.monster_id = 21011401
L3_1 = {}
L3_1.x = 1316.354
L3_1.y = 293.454
L3_1.z = -1040.459
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 = 33003
L3_1.monster_id = 21010901
L4_1 = {}
L4_1.x = 1306.563
L4_1.y = 293.118
L4_1.z = -1038.886
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 = 33004
L4_1.monster_id = 21011301
L5_1 = {}
L5_1.x = 1316.377
L5_1.y = 293.472
L5_1.z = -1040.547
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 = 33005
L5_1.monster_id = 21011301
L6_1 = {}
L6_1.x = 1312.135
L6_1.y = 292.218
L6_1.z = -1026.98
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 = 33006
L6_1.monster_id = 20010901
L7_1 = {}
L7_1.x = 1314.395
L7_1.y = 292.158
L7_1.z = -1028.997
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 = 33007
L7_1.monster_id = 21010901
L8_1 = {}
L8_1.x = 1320.753
L8_1.y = 292.892
L8_1.z = -1026.058
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 227.477
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 = 33008
L8_1.monster_id = 22010201
L9_1 = {}
L9_1.x = 1312.423
L9_1.y = 292.371
L9_1.z = -1033.863
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 = 33009
L9_1.monster_id = 20010901
L10_1 = {}
L10_1.x = 1314.395
L10_1.y = 292.158
L10_1.z = -1028.997
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 = 33010
L1_1.gadget_id = 70360107
L2_1 = {}
L2_1.x = 1314.183
L2_1.y = 291.338
L2_1.z = -1030.756
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 = 33011
L2_1.gadget_id = 70360107
L3_1 = {}
L3_1.x = 1314.332
L3_1.y = 293.425
L3_1.z = -1030.672
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 = 33012
L3_1.gadget_id = 70210111
L4_1 = {}
L4_1.x = 1314.328
L4_1.y = 291.887
L4_1.z = -1030.654
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 = 33013
L4_1.gadget_id = 70360105
L5_1 = {}
L5_1.x = 1314.332
L5_1.y = 293.425
L5_1.z = -1030.672
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 = 33020
L5_1.gadget_id = 70720214
L6_1 = {}
L6_1.x = 1315.411
L6_1.y = 291.825
L6_1.z = -1031.743
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 = 300200256
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 33021
L6_1.gadget_id = 70720215
L7_1 = {}
L7_1.x = 1316.512
L7_1.y = 292.579
L7_1.z = -1034.438
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 = 1033022
L1_1.name = "GADGET_STATE_CHANGE_33022"
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_33022"
L1_1.action = "action_EVENT_GADGET_STATE_CHANGE_33022"
L1_1.trigger_count = 0
L2_1 = {}
L2_1.config_id = 1033023
L2_1.name = "GADGET_STATE_CHANGE_33023"
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_33023"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_33023"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1033024
L3_1.name = "GADGET_CREATE_33024"
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_33024"
L3_1.action = "action_EVENT_GADGET_CREATE_33024"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1033025
L4_1.name = "GROUP_REFRESH_33025"
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_33025"
L5_1 = {}
L5_1.config_id = 1033026
L5_1.name = "BLOSSOM_CHEST_DIE_33026"
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_33026"
L5_1.action = "action_EVENT_BLOSSOM_CHEST_DIE_33026"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1033027
L6_1.name = "GADGET_CREATE_33027"
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_33027"
L6_1.action = "action_EVENT_GADGET_CREATE_33027"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1033028
L7_1.name = "SELECT_OPTION_33028"
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_33028"
L7_1.action = "action_EVENT_SELECT_OPTION_33028"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1033029
L8_1.name = "SELECT_OPTION_33029"
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_33029"
L8_1.action = "action_EVENT_SELECT_OPTION_33029"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1033030
L9_1.name = "ANY_MONSTER_DIE_33030"
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_33030"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1033031
L10_1.name = "BLOSSOM_PROGRESS_FINISH_33031"
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_33031"
L11_1 = {}
L11_1.config_id = 1033032
L11_1.name = "GROUP_LOAD_33032"
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_33032"
L12_1 = {}
L12_1.config_id = 1033033
L12_1.name = "ANY_GADGET_DIE_33033"
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_33033"
L12_1.action = "action_EVENT_ANY_GADGET_DIE_33033"
L13_1 = {}
L13_1.config_id = 1033034
L13_1.name = "ANY_GADGET_DIE_33034"
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_33034"
L13_1.action = "action_EVENT_ANY_GADGET_DIE_33034"
L14_1 = {}
L14_1.config_id = 1033035
L14_1.name = "ANY_GADGET_DIE_33035"
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_33035"
L14_1.action = "action_EVENT_ANY_GADGET_DIE_33035"
L15_1 = {}
L15_1.config_id = 1033036
L15_1.name = "ANY_MONSTER_DIE_33036"
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_33036"
L15_1.action = "action_EVENT_ANY_MONSTER_DIE_33036"
L16_1 = {}
L16_1.config_id = 1033037
L16_1.name = "CHALLENGE_SUCCESS_33037"
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_33037"
L17_1 = {}
L17_1.config_id = 1033038
L17_1.name = "CHALLENGE_FAIL_33038"
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_33038"
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1033039
L18_1.name = "ANY_MONSTER_DIE_33039"
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_33039"
L18_1.action = "action_EVENT_ANY_MONSTER_DIE_33039"
L19_1 = {}
L19_1.config_id = 1033040
L19_1.name = "PLATFORM_REACH_POINT_33040"
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_33040"
L19_1.action = "action_EVENT_PLATFORM_REACH_POINT_33040"
L20_1 = {}
L20_1.config_id = 1033041
L20_1.name = "GADGET_CREATE_33041"
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_33041"
L20_1.action = "action_EVENT_GADGET_CREATE_33041"
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_33032"
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 = 33020
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_33024"
L5_1 = "GROUP_REFRESH_33025"
L6_1 = "BLOSSOM_CHEST_DIE_33026"
L7_1 = "SELECT_OPTION_33028"
L8_1 = "ANY_MONSTER_DIE_33030"
L9_1 = "BLOSSOM_PROGRESS_FINISH_33031"
L10_1 = "PLATFORM_REACH_POINT_33040"
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 = 33001
L6_1 = 33002
L7_1 = 33003
L8_1 = 33007
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_33036"
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 = 33013
L7_1 = 33021
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_33041"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 33004
L8_1 = 33005
L9_1 = 33006
L10_1 = 33009
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_33039"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L8_1 = 33008
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 33010 == 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_33022 = 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 = 303001033
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_33022 = L0_1
function L0_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 33011 == 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_33023 = 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 = 303001033
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_33023 = 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 33010 == 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_33024 = 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 = 303001033
L5_2 = 33010
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 = 303001033
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_33024 = 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 = 33010
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 = 303001033
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 = 303001033
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_33025 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_BLOSSOM_CHEST_DIE_33026 = 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_33026 = 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 33011 == 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_33027 = 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 = 303001033
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_33027 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33010 ~= 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_33028 = 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 = 303001033
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 = 303001033
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 = 303001033
L5_2 = 33010
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 = 33010
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 = 33020
L5_2 = 300200257
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 = 33020
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 = 303001033
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 = 303001033
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_33028 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33011 ~= 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_33029 = 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 = 303001033
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 = 303001033
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 = 303001033
L5_2 = 33011
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 = 33011
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 = 303001033
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 = 303001033
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_33029 = 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 = 303001033
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_33030 = 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 = 303001033
L5_2 = 33012
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 = 303001033
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_33031 = 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_33032 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33017 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_33033 = 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 = 33014
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_33033 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33018 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_33034 = 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 = 33015
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_33034 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33019 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_33035 = 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 = 33016
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_33035 = 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 = 303001033
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_33036 = 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 = 303001033
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_33036 = 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 = 33020
L5_2 = 300200258
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 = 33020
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 = 33013
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_33037 = 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 = 33013
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 = 303001033
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_33038 = 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 = 303001033
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_33039 = 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 = 303001033
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_33039 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33020 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 300200256 ~= 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_33040 = 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 = 33012
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 = 33020
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 = 33020
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 = 33021
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_33040 = L0_1
function L0_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 33013 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_33041 = 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_33041 = L0_1