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

875 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
L0_1 = {}
L0_1.group_id = 133210279
L1_1 = {}
L2_1 = {}
L2_1.config_id = 279001
L2_1.monster_id = 28020801
L3_1 = {}
L3_1.x = -3769.611
L3_1.y = 121.856
L3_1.z = -808.227
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 120.707
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 30
L2_1.drop_tag = "\232\181\176\229\133\189"
L2_1.pose_id = 1
L2_1.area_id = 17
L1_1[1] = L2_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 279002
L2_1.gadget_id = 70360277
L3_1 = {}
L3_1.x = -3765.978
L3_1.y = 123.32
L3_1.z = -799.638
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 208.444
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 30
L2_1.mark_flag = 101
L2_1.area_id = 17
L3_1 = {}
L3_1.config_id = 279003
L3_1.gadget_id = 70360273
L4_1 = {}
L4_1.x = -3760.967
L4_1.y = 124.797
L4_1.z = -794.754
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 12.562
L4_1.y = 211.314
L4_1.z = 356.334
L3_1.rot = L4_1
L3_1.level = 30
L3_1.mark_flag = 1
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 279004
L4_1.gadget_id = 70360273
L5_1 = {}
L5_1.x = -3764.072
L5_1.y = 126.447
L5_1.z = -785.217
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 170.631
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.mark_flag = 2
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 279005
L5_1.gadget_id = 70360274
L6_1 = {}
L6_1.x = -3780.974
L6_1.y = 134.934
L6_1.z = -760.302
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 7.842
L6_1.y = 143.519
L6_1.z = 354.597
L5_1.rot = L6_1
L5_1.level = 30
L5_1.mark_flag = 5
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 279006
L6_1.gadget_id = 70360167
L7_1 = {}
L7_1.x = -3780.97
L7_1.y = 134.5
L7_1.z = -760.304
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 130.328
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L7_1 = GadgetState
L7_1 = L7_1.GearStop
L6_1.state = L7_1
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 279007
L7_1.gadget_id = 70210101
L8_1 = {}
L8_1.x = -3780.975
L8_1.y = 134.615
L8_1.z = -760.267
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 356.812
L8_1.y = 287.662
L8_1.z = 8.968
L7_1.rot = L8_1
L7_1.level = 26
L7_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\233\129\151\231\137\169\231\168\187\229\166\187"
L7_1.persistent = true
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 279008
L8_1.gadget_id = 70360276
L9_1 = {}
L9_1.x = -3780.971
L9_1.y = 134.605
L9_1.z = -760.304
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 350.503
L9_1.y = 354.793
L9_1.z = 0.571
L8_1.rot = L9_1
L8_1.level = 30
L8_1.area_id = 17
L9_1 = {}
L9_1.config_id = 279011
L9_1.gadget_id = 70360276
L10_1 = {}
L10_1.x = -3780.974
L10_1.y = 135.084
L10_1.z = -760.302
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 350.487
L10_1.y = 358.661
L10_1.z = 359.932
L9_1.rot = L10_1
L9_1.level = 30
L9_1.area_id = 17
L10_1 = {}
L10_1.config_id = 279012
L10_1.gadget_id = 70950068
L11_1 = {}
L11_1.x = -3769.611
L11_1.y = 121.856
L11_1.z = -808.227
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 3.73
L11_1.y = 232.823
L11_1.z = 2.814
L10_1.rot = L11_1
L10_1.level = 30
L11_1 = GadgetState
L11_1 = L11_1.GearStart
L10_1.state = L11_1
L10_1.area_id = 17
L11_1 = {}
L11_1.config_id = 279013
L11_1.gadget_id = 70360276
L12_1 = {}
L12_1.x = -3769.611
L12_1.y = 121.856
L12_1.z = -808.227
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 350.487
L12_1.y = 358.661
L12_1.z = 359.932
L11_1.rot = L12_1
L11_1.level = 30
L11_1.area_id = 17
L12_1 = {}
L12_1.config_id = 279018
L12_1.gadget_id = 70360273
L13_1 = {}
L13_1.x = -3758.659
L13_1.y = 127.57
L13_1.z = -775.922
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 201.387
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 30
L12_1.mark_flag = 3
L12_1.area_id = 17
L13_1 = {}
L13_1.config_id = 279019
L13_1.gadget_id = 70360273
L14_1 = {}
L14_1.x = -3768.659
L14_1.y = 130.021
L14_1.z = -770.598
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 156.771
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 30
L13_1.mark_flag = 4
L13_1.area_id = 17
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 279017
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 15
L3_1 = {}
L3_1.x = -3768.73
L3_1.y = 121.914
L3_1.z = -807.882
L2_1.pos = L3_1
L2_1.area_id = 17
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1279009
L2_1.name = "ANY_MONSTER_DIE_279009"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_279009"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_279009"
L3_1 = {}
L3_1.config_id = 1279010
L3_1.name = "GADGET_STATE_CHANGE_279010"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_279010"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_279010"
L4_1 = {}
L4_1.config_id = 1279014
L4_1.name = "GADGET_CREATE_279014"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_CREATE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_CREATE_279014"
L4_1.action = "action_EVENT_GADGET_CREATE_279014"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1279015
L5_1.name = "SELECT_OPTION_279015"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_279015"
L5_1.action = "action_EVENT_SELECT_OPTION_279015"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1279016
L6_1.name = "GADGET_STATE_CHANGE_279016"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_279016"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_279016"
L7_1 = {}
L7_1.config_id = 1279017
L7_1.name = "ENTER_REGION_279017"
L8_1 = EventType
L8_1 = L8_1.EVENT_ENTER_REGION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = ""
L7_1.action = "action_EVENT_ENTER_REGION_279017"
L8_1 = {}
L8_1.config_id = 1279020
L8_1.name = "GROUP_LOAD_279020"
L9_1 = EventType
L9_1 = L9_1.EVENT_GROUP_LOAD
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = ""
L8_1.action = "action_EVENT_GROUP_LOAD_279020"
L8_1.trigger_count = 0
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
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.io_type = 1
L1_1.suite = 2
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GROUP_LOAD_279020"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L2_1.variables = L3_1
L1_1[1] = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 279002
L4_1.state = 0
L5_1 = {}
L5_1.config_id = 279003
L5_1.state = 0
L6_1 = {}
L6_1.config_id = 279004
L6_1.state = 0
L7_1 = {}
L7_1.config_id = 279005
L7_1.state = 0
L8_1 = {}
L8_1.config_id = 279011
L8_1.state = 0
L9_1 = {}
L9_1.config_id = 279018
L9_1.state = 0
L10_1 = {}
L10_1.config_id = 279019
L10_1.state = 0
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.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 279001
L3_1[1] = L4_1
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_279009"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L2_1.variables = L3_1
L1_1[2] = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 279006
L4_1.state = 202
L5_1 = {}
L5_1.config_id = 279008
L5_1.state = 0
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_279014"
L5_1 = "SELECT_OPTION_279015"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L2_1.variables = L3_1
L1_1[3] = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 279007
L4_1.state = 0
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_279016"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L2_1.variables = L3_1
L1_1[4] = L2_1
L2_1 = {}
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L3_1 = {}
L2_1.npcs = L3_1
L3_1 = {}
L2_1.variables = L3_1
L1_1[5] = L2_1
suite_disk = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GROUP_LOAD_279020"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 279001
L4_1[1] = L5_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 279002
L6_1 = 279003
L7_1 = 279004
L8_1 = 279005
L9_1 = 279011
L10_1 = 279018
L11_1 = 279019
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
L4_1[7] = L11_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_279009"
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 = 279006
L7_1 = 279008
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_279014"
L7_1 = "SELECT_OPTION_279015"
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 279007
L6_1[1] = L7_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "GADGET_STATE_CHANGE_279016"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_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
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
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param2
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_279009 = 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.AddExtraFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 3
L6_2 = FlowSuiteOperatePolicy
L6_2 = L6_2.DEFAULT
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_279009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 279006 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
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_279010 = 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.MarkPlayerAction
L3_2 = A0_2
L4_2 = 6016
L5_2 = 3
L6_2 = 1
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 : mark_playerAction"
L2_2(L3_2, L4_2)
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 = 279008
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
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 = 279006
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 4
L6_2 = FlowSuiteOperatePolicy
L6_2 = L6_2.COMPLETE
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_279010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = A1_2.param1
if 279006 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStop
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_279014 = 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 = 133210279
L5_2 = 279006
L6_2 = {}
L7_2 = 61
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_279014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 279006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 61 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_279015 = 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 = 133210279
L5_2 = 279006
L6_2 = 61
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.MarkPlayerAction
L3_2 = A0_2
L4_2 = 6016
L5_2 = 3
L6_2 = 1
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 : mark_playerAction"
L2_2(L3_2, L4_2)
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 = 279008
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
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 = 279006
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 4
L6_2 = FlowSuiteOperatePolicy
L6_2 = L6_2.COMPLETE
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_279015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 279007 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.ChestOpened
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_279016 = 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.SetFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_279016 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 279013
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GoToFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_279017 = 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.GoToFlowSuite
L3_2 = A0_2
L4_2 = 133210279
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_279020 = L1_1