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

751 lines
14 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, L22_1, L23_1, L24_1
L0_1 = {}
L0_1.group_id = 133220125
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 125001
L2_1.gadget_id = 70900380
L3_1 = {}
L3_1.x = -2471.527
L3_1.y = 330.932
L3_1.z = -4396.804
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 = 27
L2_1.persistent = true
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 125002
L3_1.gadget_id = 70900380
L4_1 = {}
L4_1.x = -2610.786
L4_1.y = 424.601
L4_1.z = -4455.785
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 = 27
L3_1.persistent = true
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 125003
L4_1.gadget_id = 70900380
L5_1 = {}
L5_1.x = -2498.345
L5_1.y = 352.348
L5_1.z = -4391.15
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 = 27
L4_1.persistent = true
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 125004
L5_1.gadget_id = 70900380
L6_1 = {}
L6_1.x = -2541.143
L6_1.y = 348.298
L6_1.z = -4396.271
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 = 27
L5_1.persistent = true
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 125005
L6_1.gadget_id = 70900380
L7_1 = {}
L7_1.x = -2568.185
L7_1.y = 346.214
L7_1.z = -4406.854
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 27
L6_1.persistent = true
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 125006
L7_1.gadget_id = 70900380
L8_1 = {}
L8_1.x = -2578.748
L8_1.y = 361.754
L8_1.z = -4411.431
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 = 27
L7_1.persistent = true
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 125007
L8_1.gadget_id = 70900380
L9_1 = {}
L9_1.x = -2587.729
L9_1.y = 377.014
L9_1.z = -4414.893
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 27
L8_1.persistent = true
L8_1.area_id = 11
L9_1 = {}
L9_1.config_id = 125008
L9_1.gadget_id = 70900380
L10_1 = {}
L10_1.x = -2596.184
L10_1.y = 391.283
L10_1.z = -4417.824
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 27
L9_1.persistent = true
L9_1.area_id = 11
L10_1 = {}
L10_1.config_id = 125009
L10_1.gadget_id = 70900380
L11_1 = {}
L11_1.x = -2553.607
L11_1.y = 420.12
L11_1.z = -4443.13
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 27
L10_1.persistent = true
L10_1.area_id = 11
L11_1 = {}
L11_1.config_id = 125010
L11_1.gadget_id = 70330064
L12_1 = {}
L12_1.x = -2566.762
L12_1.y = 412.677
L12_1.z = -4436.896
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 5.289
L12_1.y = 44.489
L12_1.z = 5.39
L11_1.rot = L12_1
L11_1.level = 27
L11_1.persistent = true
L11_1.interact_id = 35
L11_1.area_id = 11
L12_1 = {}
L12_1.config_id = 125011
L12_1.gadget_id = 70900380
L13_1 = {}
L13_1.x = -2539.615
L13_1.y = 427.982
L13_1.z = -4450.652
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 359.599
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 27
L12_1.persistent = true
L12_1.area_id = 11
L13_1 = {}
L13_1.config_id = 125012
L13_1.gadget_id = 70330064
L14_1 = {}
L14_1.x = -2464.517
L14_1.y = 322.866
L14_1.z = -4395.978
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 356.392
L14_1.y = 222.234
L14_1.z = 355.229
L13_1.rot = L14_1
L13_1.level = 27
L13_1.persistent = true
L13_1.interact_id = 35
L13_1.area_id = 11
L14_1 = {}
L14_1.config_id = 125018
L14_1.gadget_id = 70330093
L15_1 = {}
L15_1.x = -2605.732
L15_1.y = 396.459
L15_1.z = -4428.27
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 27
L14_1.area_id = 11
L15_1 = {}
L15_1.config_id = 125019
L15_1.gadget_id = 70900380
L16_1 = {}
L16_1.x = -2613.115
L16_1.y = 417.268
L16_1.z = -4447.544
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 = 27
L15_1.persistent = true
L15_1.area_id = 11
L16_1 = {}
L16_1.config_id = 125020
L16_1.gadget_id = 70900380
L17_1 = {}
L17_1.x = -2523.281
L17_1.y = 429.065
L17_1.z = -4453.938
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 347.86
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 27
L16_1.persistent = true
L16_1.area_id = 11
L17_1 = {}
L17_1.config_id = 125021
L17_1.gadget_id = 70900380
L18_1 = {}
L18_1.x = -2484.763
L18_1.y = 344.972
L18_1.z = -4393.098
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 27
L17_1.persistent = true
L17_1.area_id = 11
L18_1 = {}
L18_1.config_id = 125022
L18_1.gadget_id = 70900380
L19_1 = {}
L19_1.x = -2515.541
L19_1.y = 352.666
L19_1.z = -4389.989
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 27
L18_1.persistent = true
L18_1.area_id = 11
L19_1 = {}
L19_1.config_id = 125023
L19_1.gadget_id = 70900380
L20_1 = {}
L20_1.x = -2506.63
L20_1.y = 429.548
L20_1.z = -4451.023
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 347.86
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 27
L19_1.persistent = true
L19_1.area_id = 11
L20_1 = {}
L20_1.config_id = 125024
L20_1.gadget_id = 70900380
L21_1 = {}
L21_1.x = -2499.915
L21_1.y = 429.771
L21_1.z = -4436.741
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 347.86
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 27
L20_1.persistent = true
L20_1.area_id = 11
L21_1 = {}
L21_1.config_id = 125025
L21_1.gadget_id = 70900380
L22_1 = {}
L22_1.x = -2612.415
L22_1.y = 406.343
L22_1.z = -4435.019
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 27
L21_1.persistent = true
L21_1.area_id = 11
L22_1 = {}
L22_1.config_id = 125026
L22_1.gadget_id = 70330064
L23_1 = {}
L23_1.x = -2559.142
L23_1.y = 340.838
L23_1.z = -4402.619
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.35
L23_1.y = 173.391
L23_1.z = 346.096
L22_1.rot = L23_1
L22_1.level = 27
L22_1.persistent = true
L22_1.interact_id = 35
L22_1.area_id = 11
L23_1 = {}
L23_1.config_id = 125027
L23_1.gadget_id = 70900380
L24_1 = {}
L24_1.x = -2499.943
L24_1.y = 425.401
L24_1.z = -4422.598
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 347.86
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 27
L23_1.persistent = true
L23_1.area_id = 11
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
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1125015
L2_1.name = "GADGET_STATE_CHANGE_125015"
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_125015"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_125015"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1125016
L3_1.name = "GADGET_STATE_CHANGE_125016"
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_125016"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_125016"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1125017
L4_1.name = "GADGET_STATE_CHANGE_125017"
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_125017"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_125017"
L4_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_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 = 125010
L5_1 = 125012
L6_1 = 125018
L7_1 = 125026
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_125015"
L5_1 = "GADGET_STATE_CHANGE_125016"
L6_1 = "GADGET_STATE_CHANGE_125017"
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 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 125001
L6_1 = 125003
L7_1 = 125004
L8_1 = 125021
L9_1 = 125022
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
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 = {}
L6_1 = 125002
L7_1 = 125005
L8_1 = 125006
L9_1 = 125007
L10_1 = 125008
L11_1 = 125019
L12_1 = 125025
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
L5_1[7] = L12_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 = {}
L7_1 = 125009
L8_1 = 125011
L9_1 = 125020
L10_1 = 125023
L11_1 = 125024
L12_1 = 125027
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_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 125012 == 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_125015 = 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 = 125010
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 = 125026
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_125015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 125026 == 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_125016 = 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 = 125010
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 = 125012
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_125016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 125010 == 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_125017 = 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 = 125012
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 = 125026
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220125
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_125017 = L1_1
L1_1 = require
L2_1 = "V2_0/ElectricCore"
L1_1(L2_1)