Grasscutter_Resources/Resources/Scripts/Scene/47016/scene47016_group247016009.lua
2022-04-29 16:40:51 +02:00

900 lines
16 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
L0_1 = {}
L0_1.group_id = 247016009
L1_1 = {}
L2_1 = {}
L2_1.config_id = 9001
L2_1.monster_id = 20010601
L3_1 = {}
L3_1.x = -72.897
L3_1.y = 0.05
L3_1.z = 78.076
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 270.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.disableWander = true
L3_1 = {}
L4_1 = 1007
L5_1 = 1010
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.affix = L3_1
L3_1 = {}
L3_1.config_id = 9002
L3_1.monster_id = 20010601
L4_1 = {}
L4_1.x = -77.057
L4_1.y = 0.051
L4_1.z = 86.419
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 215.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1007
L6_1 = 1010
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.affix = L4_1
L4_1 = {}
L4_1.config_id = 9003
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = -80.891
L5_1.y = 0.057
L5_1.z = 87.164
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 180.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.disableWander = true
L5_1 = {}
L6_1 = 1007
L7_1 = 1010
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.affix = L5_1
L5_1 = {}
L5_1.config_id = 9004
L5_1.monster_id = 20010801
L6_1 = {}
L6_1.x = -87.107
L6_1.y = 0.058
L6_1.z = 83.297
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 120.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.disableWander = true
L6_1 = {}
L7_1 = 1007
L8_1 = 1010
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.affix = L6_1
L6_1 = {}
L6_1.config_id = 9005
L6_1.monster_id = 20010801
L7_1 = {}
L7_1.x = -85.198
L7_1.y = 0.052
L7_1.z = 75.277
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 60.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.disableWander = true
L7_1 = {}
L8_1 = 1007
L9_1 = 1010
L7_1[1] = L8_1
L7_1[2] = L9_1
L6_1.affix = L7_1
L7_1 = {}
L7_1.config_id = 9006
L7_1.monster_id = 20010801
L8_1 = {}
L8_1.x = -80.241
L8_1.y = 0.05
L8_1.z = 73.979
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.disableWander = true
L8_1 = {}
L9_1 = 1007
L10_1 = 1010
L8_1[1] = L9_1
L8_1[2] = L10_1
L7_1.affix = L8_1
L8_1 = {}
L8_1.config_id = 9007
L8_1.monster_id = 26010301
L9_1 = {}
L9_1.x = -75.097
L9_1.y = 0.05
L9_1.z = 75.516
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 325.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.disableWander = true
L9_1 = {}
L10_1 = 1007
L11_1 = 1010
L9_1[1] = L10_1
L9_1[2] = L11_1
L8_1.affix = L9_1
L9_1 = {}
L9_1.config_id = 9008
L9_1.monster_id = 26010101
L10_1 = {}
L10_1.x = -73.875
L10_1.y = 0.05
L10_1.z = 83.203
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 245.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.disableWander = true
L10_1 = {}
L11_1 = 1007
L12_1 = 1010
L10_1[1] = L11_1
L10_1[2] = L12_1
L9_1.affix = L10_1
L10_1 = {}
L10_1.config_id = 9009
L10_1.monster_id = 20010901
L11_1 = {}
L11_1.x = -73.024
L11_1.y = 0.067
L11_1.z = 81.263
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 270.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.disableWander = true
L11_1 = {}
L12_1 = 1007
L13_1 = 1010
L11_1[1] = L12_1
L11_1[2] = L13_1
L10_1.affix = L11_1
L11_1 = {}
L11_1.config_id = 9010
L11_1.monster_id = 20010901
L12_1 = {}
L12_1.x = -75.295
L12_1.y = 0.066
L12_1.z = 85.086
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 225.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.disableWander = true
L12_1 = {}
L13_1 = 1007
L14_1 = 1010
L12_1[1] = L13_1
L12_1[2] = L14_1
L11_1.affix = L12_1
L12_1 = {}
L12_1.config_id = 9011
L12_1.monster_id = 20010501
L13_1 = {}
L13_1.x = -82.569
L13_1.y = 0.06
L13_1.z = 87.126
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 180.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.disableWander = true
L13_1 = {}
L14_1 = 1007
L15_1 = 1010
L13_1[1] = L14_1
L13_1[2] = L15_1
L12_1.affix = L13_1
L13_1 = {}
L13_1.config_id = 9012
L13_1.monster_id = 20010501
L14_1 = {}
L14_1.x = -86.147
L14_1.y = 0.053
L14_1.z = 84.826
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 120.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.disableWander = true
L14_1 = {}
L15_1 = 1007
L16_1 = 1010
L14_1[1] = L15_1
L14_1[2] = L16_1
L13_1.affix = L14_1
L14_1 = {}
L14_1.config_id = 9013
L14_1.monster_id = 20010501
L15_1 = {}
L15_1.x = -86.113
L15_1.y = 0.06
L15_1.z = 76.976
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 60.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.disableWander = true
L15_1 = {}
L16_1 = 1007
L17_1 = 1010
L15_1[1] = L16_1
L15_1[2] = L17_1
L14_1.affix = L15_1
L15_1 = {}
L15_1.config_id = 9014
L15_1.monster_id = 20010501
L16_1 = {}
L16_1.x = -78.296
L16_1.y = 0.066
L16_1.z = 73.843
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.disableWander = true
L16_1 = {}
L17_1 = 1007
L18_1 = 1010
L16_1[1] = L17_1
L16_1[2] = L18_1
L15_1.affix = L16_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 9015
L2_1.gadget_id = 70360001
L3_1 = {}
L3_1.x = -79.936
L3_1.y = 0.05
L3_1.z = 79.849
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 9016
L3_1.gadget_id = 70290137
L4_1 = {}
L4_1.x = -79.94
L4_1.y = 0.697
L4_1.z = 60.146
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 = 1
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L4_1 = {}
L4_1.config_id = 9017
L4_1.gadget_id = 70290137
L5_1 = {}
L5_1.x = -79.934
L5_1.y = 0.724
L5_1.z = 100.176
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L5_1 = {}
L5_1.config_id = 9018
L5_1.gadget_id = 70290137
L6_1 = {}
L6_1.x = -99.849
L6_1.y = 0.709
L6_1.z = 79.993
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 90.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L6_1 = {}
L6_1.config_id = 9019
L6_1.gadget_id = 70290137
L7_1 = {}
L7_1.x = -59.929
L7_1.y = 0.65
L7_1.z = 80.001
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 90.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 9022
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 25.0
L3_1.y = 10.0
L3_1.z = 25.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = -79.821
L3_1.y = 0.241
L3_1.z = 79.743
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1009020
L2_1.name = "GADGET_CREATE_9020"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_9020"
L2_1.action = "action_EVENT_GADGET_CREATE_9020"
L3_1 = {}
L3_1.config_id = 1009021
L3_1.name = "SELECT_OPTION_9021"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_9021"
L3_1.action = "action_EVENT_SELECT_OPTION_9021"
L4_1 = {}
L4_1.config_id = 1009022
L4_1.name = "ENTER_REGION_9022"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_9022"
L4_1.action = "action_EVENT_ENTER_REGION_9022"
L5_1 = {}
L5_1.config_id = 1009023
L5_1.name = "ANY_MONSTER_DIE_9023"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_9023"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_9023"
L6_1 = {}
L6_1.config_id = 1009024
L6_1.name = "ANY_MONSTER_DIE_9024"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_9024"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_9024"
L7_1 = {}
L7_1.config_id = 1009025
L7_1.name = "ANY_MONSTER_DIE_9025"
L8_1 = EventType
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_9025"
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_9025"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 9015
L5_1 = 9016
L6_1 = 9017
L7_1 = 9018
L8_1 = 9019
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
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 9022
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_9020"
L5_1 = "SELECT_OPTION_9021"
L6_1 = "ENTER_REGION_9022"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 9001
L6_1 = 9002
L7_1 = 9003
L8_1 = 9004
L9_1 = 9005
L10_1 = 9006
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_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_9023"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 9009
L7_1 = 9010
L8_1 = 9011
L9_1 = 9012
L10_1 = 9013
L11_1 = 9014
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_9025"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 9007
L8_1 = 9008
L6_1[1] = L7_1
L6_1[2] = L8_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_9024"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_9020 = L1_1
function L1_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 = 247016009
L5_2 = 9015
L6_2 = {}
L7_2 = 175
L6_2[1] = L7_2
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_9020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 175 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_9021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 247016009
L5_2 = 9015
L6_2 = 175
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 247016009
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_9021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 9022 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_9022 = L1_1
function L1_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 = 9016
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 9017
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 9018
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 9019
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_9022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_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_9023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 247016009
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_9023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_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_9024 = L1_1
function L1_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 = 9016
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 9017
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 9018
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 9019
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 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_9024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_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_9025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 247016009
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_9025 = L1_1