mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
418 lines
7.7 KiB
Lua
418 lines
7.7 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 = 133008515
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 515001
|
|
L2_1.gadget_id = 70900039
|
|
L3_1 = {}
|
|
L3_1.x = 1093.648
|
|
L3_1.y = 538.823
|
|
L3_1.z = -807.405
|
|
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 = 30
|
|
L3_1 = GadgetState
|
|
L3_1 = L3_1.Action01
|
|
L2_1.state = L3_1
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 10
|
|
L3_1 = {}
|
|
L3_1.config_id = 515002
|
|
L3_1.gadget_id = 70690001
|
|
L4_1 = {}
|
|
L4_1.x = 1084.204
|
|
L4_1.y = 572.59
|
|
L4_1.z = -815.424
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 233.984
|
|
L4_1.z = 359.842
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.area_id = 10
|
|
L4_1 = {}
|
|
L4_1.config_id = 515003
|
|
L4_1.gadget_id = 70690001
|
|
L5_1 = {}
|
|
L5_1.x = 1091.243
|
|
L5_1.y = 550.148
|
|
L5_1.z = -810.409
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 270.0
|
|
L5_1.y = 234.308
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.area_id = 10
|
|
L5_1 = {}
|
|
L5_1.config_id = 515004
|
|
L5_1.gadget_id = 70690001
|
|
L6_1 = {}
|
|
L6_1.x = 1091.243
|
|
L6_1.y = 558.469
|
|
L6_1.z = -810.409
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 270.0
|
|
L6_1.y = 234.308
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.area_id = 10
|
|
L6_1 = {}
|
|
L6_1.config_id = 515006
|
|
L6_1.gadget_id = 70690001
|
|
L7_1 = {}
|
|
L7_1.x = 1075.158
|
|
L7_1.y = 572.59
|
|
L7_1.z = -822.001
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 233.984
|
|
L7_1.z = 359.842
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 10
|
|
L7_1 = {}
|
|
L7_1.config_id = 515012
|
|
L7_1.gadget_id = 70690017
|
|
L8_1 = {}
|
|
L8_1.x = 1091.243
|
|
L8_1.y = 538.361
|
|
L8_1.z = -810.409
|
|
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 = 30
|
|
L7_1.area_id = 10
|
|
L8_1 = {}
|
|
L8_1.config_id = 515020
|
|
L8_1.gadget_id = 70690001
|
|
L9_1 = {}
|
|
L9_1.x = 1064.084
|
|
L9_1.y = 572.59
|
|
L9_1.z = -830.052
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 233.984
|
|
L9_1.z = 359.842
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.area_id = 10
|
|
L9_1 = {}
|
|
L9_1.config_id = 515021
|
|
L9_1.gadget_id = 70690001
|
|
L10_1 = {}
|
|
L10_1.x = 1033.104
|
|
L10_1.y = 572.59
|
|
L10_1.z = -852.574
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 233.984
|
|
L10_1.z = 359.842
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L9_1.area_id = 10
|
|
L10_1 = {}
|
|
L10_1.config_id = 515023
|
|
L10_1.gadget_id = 70690001
|
|
L11_1 = {}
|
|
L11_1.x = 1026.303
|
|
L11_1.y = 572.59
|
|
L11_1.z = -857.519
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 233.984
|
|
L11_1.z = 359.842
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 30
|
|
L10_1.area_id = 10
|
|
L11_1 = {}
|
|
L11_1.config_id = 515024
|
|
L11_1.gadget_id = 70690001
|
|
L12_1 = {}
|
|
L12_1.x = 1053.157
|
|
L12_1.y = 572.59
|
|
L12_1.z = -837.997
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 233.984
|
|
L12_1.z = 359.842
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 30
|
|
L11_1.area_id = 10
|
|
L12_1 = {}
|
|
L12_1.config_id = 515026
|
|
L12_1.gadget_id = 70690001
|
|
L13_1 = {}
|
|
L13_1.x = 1043.196
|
|
L13_1.y = 572.59
|
|
L13_1.z = -845.238
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 233.984
|
|
L13_1.z = 359.842
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 30
|
|
L12_1.area_id = 10
|
|
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 = 1515005
|
|
L2_1.name = "TIMER_EVENT_515005"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_TIMER_EVENT
|
|
L2_1.event = L3_1
|
|
L2_1.source = "delay"
|
|
L2_1.condition = ""
|
|
L2_1.action = "action_EVENT_TIMER_EVENT_515005"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1515011
|
|
L3_1.name = "GADGET_STATE_CHANGE_515011"
|
|
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_515011"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_515011"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1515031
|
|
L4_1.name = "GROUP_LOAD_515031"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GROUP_LOAD
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GROUP_LOAD_515031"
|
|
L4_1.action = "action_EVENT_GROUP_LOAD_515031"
|
|
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 = 515001
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "TIMER_EVENT_515005"
|
|
L5_1 = "GADGET_STATE_CHANGE_515011"
|
|
L6_1 = "GROUP_LOAD_515031"
|
|
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 = 515002
|
|
L6_1 = 515003
|
|
L7_1 = 515004
|
|
L8_1 = 515006
|
|
L9_1 = 515012
|
|
L10_1 = 515020
|
|
L11_1 = 515021
|
|
L12_1 = 515023
|
|
L13_1 = 515024
|
|
L14_1 = 515026
|
|
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
|
|
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, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133008515
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 515001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action01
|
|
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_TIMER_EVENT_515005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 515001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Action02
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Action01
|
|
L3_2 = A1_2.param3
|
|
if L2_2 == L3_2 then
|
|
goto lbl_16
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_515011 = 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 = 133008515
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 133008515
|
|
L5_2 = "delay"
|
|
L6_2 = 60
|
|
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 : create_timerevent_by_group"
|
|
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_515011 = 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.GetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133008515
|
|
L5_2 = 515002
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if -1 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GROUP_LOAD_515031 = 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 = 515001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action01
|
|
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.CancelGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 133008515
|
|
L5_2 = "delay"
|
|
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 : cancel_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_515031 = L1_1
|