mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
368 lines
7.0 KiB
Lua
368 lines
7.0 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 = 111101114
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 114001
|
|
L2_1.npc_id = 9002
|
|
L3_1 = {}
|
|
L3_1.x = 2629.035
|
|
L3_1.y = 251.058
|
|
L3_1.z = -1255.34
|
|
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
|
|
L1_1[1] = L2_1
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 114002
|
|
L2_1.gadget_id = 70350081
|
|
L3_1 = {}
|
|
L3_1.x = 2636.458
|
|
L3_1.y = 250.033
|
|
L3_1.z = -1255.611
|
|
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
|
|
L3_1 = GadgetState
|
|
L3_1 = L3_1.GearStop
|
|
L2_1.state = L3_1
|
|
L2_1.persistent = true
|
|
L3_1 = {}
|
|
L3_1.config_id = 114003
|
|
L3_1.gadget_id = 70350081
|
|
L4_1 = {}
|
|
L4_1.x = 2632.01
|
|
L4_1.y = 250.461
|
|
L4_1.z = -1251.216
|
|
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 = 1
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearStop
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L4_1 = {}
|
|
L4_1.config_id = 114004
|
|
L4_1.gadget_id = 70350081
|
|
L5_1 = {}
|
|
L5_1.x = 2626.684
|
|
L5_1.y = 251.265
|
|
L5_1.z = -1252.613
|
|
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 = 1
|
|
L5_1 = GadgetState
|
|
L5_1 = L5_1.GearStop
|
|
L4_1.state = L5_1
|
|
L4_1.persistent = true
|
|
L5_1 = {}
|
|
L5_1.config_id = 114005
|
|
L5_1.gadget_id = 70360079
|
|
L6_1 = {}
|
|
L6_1.x = 2630.765
|
|
L6_1.y = 255.794
|
|
L6_1.z = -1261.334
|
|
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 = 1
|
|
L5_1.persistent = true
|
|
L6_1 = {}
|
|
L6_1.config_id = 114006
|
|
L6_1.gadget_id = 70211001
|
|
L7_1 = {}
|
|
L7_1.x = 2629.81
|
|
L7_1.y = 251.037
|
|
L7_1.z = -1265.291
|
|
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 = 1
|
|
L6_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\232\146\153\229\190\183"
|
|
L6_1.isOneoff = true
|
|
L6_1.persistent = true
|
|
L7_1 = {}
|
|
L7_1.config_id = 114007
|
|
L7_1.gadget_id = 70900007
|
|
L8_1 = {}
|
|
L8_1.x = 2631.253
|
|
L8_1.y = 250.702
|
|
L8_1.z = -1254.683
|
|
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 = 1
|
|
L7_1.persistent = true
|
|
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 = 1114008
|
|
L2_1.name = "GADGET_STATE_CHANGE_114008"
|
|
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_114008"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_114008"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1114009
|
|
L3_1.name = "GADGET_STATE_CHANGE_114009"
|
|
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_114009"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_114009"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1114010
|
|
L4_1.name = "GROUP_LOAD_114010"
|
|
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_114010"
|
|
L4_1.action = "action_EVENT_GROUP_LOAD_114010"
|
|
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 = 114002
|
|
L5_1 = 114003
|
|
L6_1 = 114004
|
|
L7_1 = 114005
|
|
L8_1 = 114006
|
|
L9_1 = 114007
|
|
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.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_114008"
|
|
L5_1 = "GADGET_STATE_CHANGE_114009"
|
|
L6_1 = "GROUP_LOAD_114010"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.triggers = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 114001
|
|
L3_1[1] = L4_1
|
|
L2_1.npcs = L3_1
|
|
L2_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 114007 == 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_114008 = 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.GoToFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101116
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GoToFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101117
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GoToFlowSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101118
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_114008 = 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.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinish"
|
|
L5_2 = 111101116
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinish"
|
|
L5_2 = 111101117
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinish"
|
|
L5_2 = 111101118
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_114009 = 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 = 114005
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_114009 = 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.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinish"
|
|
L5_2 = 111101116
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinish"
|
|
L5_2 = 111101117
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "isFinish"
|
|
L5_2 = 111101118
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GROUP_LOAD_114010 = 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 = 114005
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_114010 = L1_1
|