mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
520 lines
9.6 KiB
Lua
520 lines
9.6 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 = 133217247
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 247001
|
|
L2_1.gadget_id = 70330064
|
|
L3_1 = {}
|
|
L3_1.x = -4412.345
|
|
L3_1.y = 171.242
|
|
L3_1.z = -3814.666
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 7.93
|
|
L3_1.y = 96.821
|
|
L3_1.z = 0.599
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 27
|
|
L3_1 = GadgetState
|
|
L3_1 = L3_1.GearStop
|
|
L2_1.state = L3_1
|
|
L2_1.interact_id = 35
|
|
L2_1.area_id = 14
|
|
L3_1 = {}
|
|
L3_1.config_id = 247002
|
|
L3_1.gadget_id = 70900380
|
|
L4_1 = {}
|
|
L4_1.x = -4416.684
|
|
L4_1.y = 179.046
|
|
L4_1.z = -3814.77
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.838
|
|
L4_1.y = 342.93
|
|
L4_1.z = 1.296
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 27
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 247003
|
|
L4_1.gadget_id = 70900380
|
|
L5_1 = {}
|
|
L5_1.x = -4425.389
|
|
L5_1.y = 188.179
|
|
L5_1.z = -3817.592
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 358.738
|
|
L5_1.y = 50.892
|
|
L5_1.z = 0.336
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 27
|
|
L4_1.area_id = 14
|
|
L5_1 = {}
|
|
L5_1.config_id = 247004
|
|
L5_1.gadget_id = 70900380
|
|
L6_1 = {}
|
|
L6_1.x = -4432.988
|
|
L6_1.y = 196.97
|
|
L6_1.z = -3819.785
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.388
|
|
L6_1.y = 173.079
|
|
L6_1.z = 358.753
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 27
|
|
L5_1.area_id = 14
|
|
L6_1 = {}
|
|
L6_1.config_id = 247007
|
|
L6_1.gadget_id = 70900380
|
|
L7_1 = {}
|
|
L7_1.x = -4432.842
|
|
L7_1.y = 207.709
|
|
L7_1.z = -3818.455
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.388
|
|
L7_1.y = 173.079
|
|
L7_1.z = 358.753
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 14
|
|
L7_1 = {}
|
|
L7_1.config_id = 247008
|
|
L7_1.gadget_id = 70900380
|
|
L8_1 = {}
|
|
L8_1.x = -4433.158
|
|
L8_1.y = 222.902
|
|
L8_1.z = -3818.597
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.388
|
|
L8_1.y = 173.079
|
|
L8_1.z = 358.753
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.area_id = 14
|
|
L8_1 = {}
|
|
L8_1.config_id = 247009
|
|
L8_1.gadget_id = 70900380
|
|
L9_1 = {}
|
|
L9_1.x = -4433.729
|
|
L9_1.y = 234.894
|
|
L9_1.z = -3816.051
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.388
|
|
L9_1.y = 173.079
|
|
L9_1.z = 358.753
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.area_id = 14
|
|
L9_1 = {}
|
|
L9_1.config_id = 247010
|
|
L9_1.gadget_id = 70900380
|
|
L10_1 = {}
|
|
L10_1.x = -4433.411
|
|
L10_1.y = 247.181
|
|
L10_1.z = -3820.891
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.388
|
|
L10_1.y = 173.079
|
|
L10_1.z = 358.753
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L9_1.area_id = 14
|
|
L10_1 = {}
|
|
L10_1.config_id = 247011
|
|
L10_1.gadget_id = 70900380
|
|
L11_1 = {}
|
|
L11_1.x = -4434.202
|
|
L11_1.y = 258.088
|
|
L11_1.z = -3816.34
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.388
|
|
L11_1.y = 173.079
|
|
L11_1.z = 358.753
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 30
|
|
L10_1.area_id = 14
|
|
L11_1 = {}
|
|
L11_1.config_id = 247012
|
|
L11_1.gadget_id = 70900380
|
|
L12_1 = {}
|
|
L12_1.x = -4433.913
|
|
L12_1.y = 270.746
|
|
L12_1.z = -3821.01
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.388
|
|
L12_1.y = 173.079
|
|
L12_1.z = 358.753
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 30
|
|
L11_1.area_id = 14
|
|
L12_1 = {}
|
|
L12_1.config_id = 247013
|
|
L12_1.gadget_id = 70900380
|
|
L13_1 = {}
|
|
L13_1.x = -4434.624
|
|
L13_1.y = 282.665
|
|
L13_1.z = -3817.3
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.388
|
|
L13_1.y = 173.079
|
|
L13_1.z = 358.753
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 30
|
|
L12_1.area_id = 14
|
|
L13_1 = {}
|
|
L13_1.config_id = 247014
|
|
L13_1.gadget_id = 70900380
|
|
L14_1 = {}
|
|
L14_1.x = -4434.484
|
|
L14_1.y = 295.802
|
|
L14_1.z = -3820.836
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.388
|
|
L14_1.y = 173.079
|
|
L14_1.z = 358.753
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 30
|
|
L13_1.area_id = 14
|
|
L14_1 = {}
|
|
L14_1.config_id = 247015
|
|
L14_1.gadget_id = 70900380
|
|
L15_1 = {}
|
|
L15_1.x = -4435.26
|
|
L15_1.y = 308.429
|
|
L15_1.z = -3816.72
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.388
|
|
L15_1.y = 173.079
|
|
L15_1.z = 358.753
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 30
|
|
L14_1.area_id = 14
|
|
L15_1 = {}
|
|
L15_1.config_id = 247016
|
|
L15_1.gadget_id = 70900380
|
|
L16_1 = {}
|
|
L16_1.x = -4434.91
|
|
L16_1.y = 322.511
|
|
L16_1.z = -3822.16
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.388
|
|
L16_1.y = 173.079
|
|
L16_1.z = 358.753
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 30
|
|
L15_1.area_id = 14
|
|
L16_1 = {}
|
|
L16_1.config_id = 247017
|
|
L16_1.gadget_id = 70900380
|
|
L17_1 = {}
|
|
L17_1.x = -4435.532
|
|
L17_1.y = 337.15
|
|
L17_1.z = -3819.664
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.388
|
|
L17_1.y = 173.079
|
|
L17_1.z = 358.753
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 30
|
|
L16_1.area_id = 14
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1247005
|
|
L2_1.name = "GADGET_STATE_CHANGE_247005"
|
|
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_247005"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_247005"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1247006
|
|
L3_1.name = "GADGET_STATE_CHANGE_247006"
|
|
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_247006"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_247006"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1247018
|
|
L4_1.name = "VARIABLE_CHANGE_247018"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_VARIABLE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_247018"
|
|
L4_1.action = "action_EVENT_VARIABLE_CHANGE_247018"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1247019
|
|
L5_1.name = "GROUP_LOAD_247019"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GROUP_LOAD
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GROUP_LOAD_247019"
|
|
L5_1.action = "action_EVENT_GROUP_LOAD_247019"
|
|
L5_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "open"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L1_1[1] = L2_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 = 247001
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_247005"
|
|
L5_1 = "GADGET_STATE_CHANGE_247006"
|
|
L6_1 = "VARIABLE_CHANGE_247018"
|
|
L7_1 = "GROUP_LOAD_247019"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 247002
|
|
L6_1 = 247003
|
|
L7_1 = 247004
|
|
L8_1 = 247007
|
|
L9_1 = 247008
|
|
L10_1 = 247009
|
|
L11_1 = 247010
|
|
L12_1 = 247011
|
|
L13_1 = 247012
|
|
L14_1 = 247013
|
|
L15_1 = 247014
|
|
L16_1 = 247015
|
|
L17_1 = 247016
|
|
L18_1 = 247017
|
|
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
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L4_1[14] = L18_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
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 247001 == 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_247005 = 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 = 133217247
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_247005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 247001 == 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_247006 = 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 = 133217247
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_247006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "open"
|
|
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_VARIABLE_CHANGE_247018 = 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 = 247001
|
|
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_VARIABLE_CHANGE_247018 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "open"
|
|
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_GROUP_LOAD_247019 = 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 = 247001
|
|
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_GROUP_LOAD_247019 = L1_1
|
|
L1_1 = require
|
|
L2_1 = "V2_0/ElectricCore"
|
|
L1_1(L2_1)
|