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

630 lines
13 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1
L0_1 = {}
L0_1.group_id = 144002069
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 69001
L2_1.gadget_id = 70360006
L3_1 = {}
L3_1.x = 369.7
L3_1.y = 120.599
L3_1.z = -623.767
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
L2_1.area_id = 101
L3_1 = {}
L3_1.config_id = 69002
L3_1.gadget_id = 70211102
L4_1 = {}
L4_1.x = 373.688
L4_1.y = 120.799
L4_1.z = -621.32
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 96.868
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\190\164\229\178\155"
L4_1 = GadgetState
L4_1 = L4_1.ChestLocked
L3_1.state = L4_1
L3_1.isOneoff = true
L3_1.persistent = true
L4_1 = {}
L4_1.name = "chest"
L4_1.exp = 1
L3_1.explore = L4_1
L3_1.area_id = 101
L4_1 = {}
L4_1.config_id = 69004
L4_1.gadget_id = 70350085
L5_1 = {}
L5_1.x = 371.937
L5_1.y = 124.228
L5_1.z = -612.471
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 11.937
L5_1.y = 124.156
L5_1.z = 107.529
L4_1.rot = L5_1
L4_1.level = 1
L4_1.is_use_point_array = true
L4_1.area_id = 101
L5_1 = {}
L5_1.config_id = 69005
L5_1.gadget_id = 70950078
L6_1 = {}
L6_1.x = 370.795
L6_1.y = 124.391
L6_1.z = -617.917
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 11.504
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.is_use_point_array = true
L5_1.area_id = 101
L6_1 = {}
L6_1.config_id = 69006
L6_1.gadget_id = 70350242
L7_1 = {}
L7_1.x = 370.689
L7_1.y = 120.531
L7_1.z = -618.203
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 284.893
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 101
L7_1 = {}
L7_1.config_id = 69026
L7_1.gadget_id = 70950075
L8_1 = {}
L8_1.x = 371.937
L8_1.y = 125.033
L8_1.z = -612.47
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 355.444
L8_1.y = 193.917
L8_1.z = 0.753
L7_1.rot = L8_1
L7_1.level = 1
L7_1.is_use_point_array = true
L7_1.area_id = 101
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1069032
L2_1.name = "GADGET_STATE_CHANGE_69032"
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_69032"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_69032"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1069033
L3_1.name = "GADGET_STATE_CHANGE_69033"
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_69033"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_69033"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1069062
L4_1.name = "ANY_GADGET_DIE_69062"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_GADGET_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_69062"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_69062"
L5_1 = {}
L5_1.config_id = 1069063
L5_1.name = "GADGET_STATE_CHANGE_69063"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_69063"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_69063"
L6_1 = {}
L6_1.config_id = 1069064
L6_1.name = "GADGET_STATE_CHANGE_69064"
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_69064"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_69064"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1069065
L7_1.name = "GADGET_STATE_CHANGE_69065"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_69065"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_69065"
L7_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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "complete"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 3
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 69001
L5_1 = 69002
L6_1 = 69005
L7_1 = 69006
L8_1 = 69026
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 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_69032"
L5_1 = "GADGET_STATE_CHANGE_69033"
L6_1 = "ANY_GADGET_DIE_69062"
L7_1 = "GADGET_STATE_CHANGE_69063"
L8_1 = "GADGET_STATE_CHANGE_69064"
L9_1 = "GADGET_STATE_CHANGE_69065"
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
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 69004
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_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, L3_2
L2_2 = A1_2.param2
if 69001 == 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_69032 = L1_1
function L1_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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 69005
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 = {}
L2_2.route_type = 1
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 69005
L6_2 = 400200001
L7_2 = {}
L8_2 = 3
L9_2 = 4
L7_2[1] = L8_2
L7_2[2] = L9_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.SetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 69006
L6_2 = GadgetState
L6_2 = L6_2.GearStop
L3_2 = L3_2(L4_2, L5_2, L6_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.route_type = 1
L3_2.turn_mode = false
L4_2 = ScriptLib
L4_2 = L4_2.SetPlatformPointArray
L5_2 = A0_2
L6_2 = 69004
L7_2 = 400200001
L8_2 = {}
L9_2 = L3_2
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_platform_pointArray"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_GADGET_STATE_CHANGE_69032 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 69001 == 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_69033 = L1_1
function L1_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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 69005
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 69005
L6_2 = 400200001
L7_2 = {}
L8_2 = 1
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.route_type = 0
L3_2.turn_mode = false
L4_2 = ScriptLib
L4_2 = L4_2.SetPlatformPointArray
L5_2 = A0_2
L6_2 = 69004
L7_2 = 400200001
L8_2 = {}
L9_2 = L3_2
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_platform_pointArray"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 69006
L7_2 = GadgetState
L7_2 = L7_2.Default
L4_2 = L4_2(L5_2, L6_2, L7_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_GADGET_STATE_CHANGE_69033 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 69026 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_69062 = 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 = 69002
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "complete"
L5_2 = 1
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_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 144002069
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_69062 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 69002 == 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_69063 = 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.GoToGroupSuite
L3_2 = A0_2
L4_2 = 144002069
L5_2 = 3
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 : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_69063 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 69001 == 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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "complete"
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_GADGET_STATE_CHANGE_69064 = 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 = 144002069
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_69064 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 69001 == 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_69065 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 144002069
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_69065 = L1_1