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

630 lines
12 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
L0_1 = {}
L0_1.group_id = 166001277
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 277001
L2_1.gadget_id = 70290219
L3_1 = {}
L3_1.x = 992.773
L3_1.y = 837.607
L3_1.z = 581.098
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 36.505
L3_1.y = 0.0
L3_1.z = 15.807
L2_1.rot = L3_1
L2_1.level = 36
L2_1.area_id = 300
L3_1 = {}
L3_1.config_id = 277002
L3_1.gadget_id = 70211022
L4_1 = {}
L4_1.x = 988.851
L4_1.y = 839.0
L4_1.z = 587.814
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 58.658
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\146\131\230\156\136"
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 = 300
L4_1 = {}
L4_1.config_id = 277004
L4_1.gadget_id = 70690010
L5_1 = {}
L5_1.x = 992.459
L5_1.y = 840.631
L5_1.z = 590.627
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 = 32
L4_1.area_id = 300
L5_1 = {}
L5_1.config_id = 277005
L5_1.gadget_id = 70690010
L6_1 = {}
L6_1.x = 992.459
L6_1.y = 886.126
L6_1.z = 590.627
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.area_id = 300
L6_1 = {}
L6_1.config_id = 277006
L6_1.gadget_id = 70690001
L7_1 = {}
L7_1.x = 992.495
L7_1.y = 926.255
L7_1.z = 590.731
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 90.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 32
L6_1.area_id = 300
L7_1 = {}
L7_1.config_id = 277007
L7_1.gadget_id = 70690001
L8_1 = {}
L8_1.x = 992.495
L8_1.y = 936.479
L8_1.z = 590.731
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 90.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 32
L7_1.area_id = 300
L8_1 = {}
L8_1.config_id = 277008
L8_1.gadget_id = 70690001
L9_1 = {}
L9_1.x = 992.495
L9_1.y = 945.91
L9_1.z = 590.731
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 90.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 32
L8_1.area_id = 300
L9_1 = {}
L9_1.config_id = 277010
L9_1.gadget_id = 70290219
L10_1 = {}
L10_1.x = 996.533
L10_1.y = 838.798
L10_1.z = 590.362
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 1.041
L10_1.y = 86.159
L10_1.z = 359.412
L9_1.rot = L10_1
L9_1.level = 36
L9_1.area_id = 300
L10_1 = {}
L10_1.config_id = 277011
L10_1.gadget_id = 70290219
L11_1 = {}
L11_1.x = 983.47
L11_1.y = 838.409
L11_1.z = 589.304
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 358.9
L11_1.y = 272.593
L11_1.z = 0.468
L10_1.rot = L11_1
L10_1.level = 36
L10_1.area_id = 300
L11_1 = {}
L11_1.config_id = 277012
L11_1.gadget_id = 70290219
L12_1 = {}
L12_1.x = 998.689
L12_1.y = 838.092
L12_1.z = 589.823
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 16.843
L12_1.y = 187.512
L12_1.z = 341.029
L11_1.rot = L12_1
L11_1.level = 36
L11_1.area_id = 300
L12_1 = {}
L12_1.config_id = 277020
L12_1.gadget_id = 70360001
L13_1 = {}
L13_1.x = 990.926
L13_1.y = 839.128
L13_1.z = 590.937
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 36
L12_1.area_id = 300
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1277009
L2_1.name = "GADGET_CREATE_277009"
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_277009"
L2_1.action = "action_EVENT_GADGET_CREATE_277009"
L3_1 = {}
L3_1.config_id = 1277017
L3_1.name = "TIME_AXIS_PASS_277017"
L4_1 = EventType
L4_1 = L4_1.EVENT_TIME_AXIS_PASS
L3_1.event = L4_1
L3_1.source = "wind"
L3_1.condition = "condition_EVENT_TIME_AXIS_PASS_277017"
L3_1.action = "action_EVENT_TIME_AXIS_PASS_277017"
L4_1 = {}
L4_1.config_id = 1277018
L4_1.name = "GADGET_STATE_CHANGE_277018"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_277018"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_277018"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1277019
L5_1.name = "TIME_AXIS_PASS_277019"
L6_1 = EventType
L6_1 = L6_1.EVENT_TIME_AXIS_PASS
L5_1.event = L6_1
L5_1.source = "niubi"
L5_1.condition = "condition_EVENT_TIME_AXIS_PASS_277019"
L5_1.action = "action_EVENT_TIME_AXIS_PASS_277019"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1277021
L6_1.name = "GADGET_STATE_CHANGE_277021"
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_277021"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_277021"
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "done"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1277003
L3_1.name = "VARIABLE_CHANGE_277003"
L4_1 = EventType
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_277003"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_277003"
L4_1 = {}
L4_1.config_id = 1277013
L4_1.name = "GADGET_STATE_CHANGE_277013"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_277013"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_277013"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1277014
L5_1.name = "GADGET_STATE_CHANGE_277014"
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_277014"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_277014"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1277015
L6_1.name = "GADGET_STATE_CHANGE_277015"
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_277015"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_277015"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1277016
L7_1.name = "GADGET_STATE_CHANGE_277016"
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_277016"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_277016"
L7_1.trigger_count = 0
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L1_1.triggers = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 2
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 277001
L5_1 = 277002
L6_1 = 277010
L7_1 = 277011
L8_1 = 277012
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_277021"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 277001
L6_1 = 277002
L7_1 = 277010
L8_1 = 277011
L9_1 = 277012
L10_1 = 277020
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.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_277009"
L6_1 = "TIME_AXIS_PASS_277017"
L7_1 = "GADGET_STATE_CHANGE_277018"
L8_1 = "TIME_AXIS_PASS_277019"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 277004
L7_1 = 277005
L8_1 = 277006
L9_1 = 277007
L10_1 = 277008
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
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 277020 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_277009 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 277002
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.InitTimeAxis
L3_2 = A0_2
L4_2 = "wind"
L5_2 = {}
L6_2 = 15
L5_2[1] = L6_2
L6_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 166001277
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_277009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.source_name
if "wind" == L2_2 then
L2_2 = A1_2.param1
if 1 == L2_2 then
goto lbl_9
end
end
L2_2 = false
do return L2_2 end
::lbl_9::
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_277017 = 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 = 166001277
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIME_AXIS_PASS_277017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 166001277
L6_2 = 277010
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 166001277
L6_2 = 277012
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_277018 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 166001277
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.InitTimeAxis
L3_2 = A0_2
L4_2 = "niubi"
L5_2 = {}
L6_2 = 11
L5_2[1] = L6_2
L6_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_277018 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.source_name
if "niubi" == L2_2 then
L2_2 = A1_2.param1
if 1 == L2_2 then
goto lbl_9
end
end
L2_2 = false
do return L2_2 end
::lbl_9::
L2_2 = true
return L2_2
end
condition_EVENT_TIME_AXIS_PASS_277019 = 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 = 166001277
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIME_AXIS_PASS_277019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 166001277
L6_2 = 277001
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 166001277
L6_2 = 277010
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 166001277
L6_2 = 277011
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = ScriptLib
L3_2 = L3_2.GetGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 166001277
L6_2 = 277012
L3_2 = L3_2(L4_2, L5_2, L6_2)
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_277021 = 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 = 166001277
L5_2 = 2
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_277021 = L1_1