mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
354 lines
6.9 KiB
Lua
354 lines
6.9 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 = 133222242
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 242001
|
|
L3_1.gadget_id = 70360183
|
|
L4_1 = {}
|
|
L4_1.x = -4437.009
|
|
L4_1.y = 200.923
|
|
L4_1.z = -3738.119
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 4.104
|
|
L4_1.y = 83.526
|
|
L4_1.z = 354.651
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearStop
|
|
L3_1.state = L4_1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 242002
|
|
L4_1.gadget_id = 70360182
|
|
L5_1 = {}
|
|
L5_1.x = -4428.031
|
|
L5_1.y = 200.26
|
|
L5_1.z = -3737.612
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 5.353
|
|
L5_1.y = 173.668
|
|
L5_1.z = 4.099
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L5_1 = GadgetState
|
|
L5_1 = L5_1.GearStop
|
|
L4_1.state = L5_1
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 14
|
|
L5_1 = {}
|
|
L5_1.config_id = 242003
|
|
L5_1.gadget_id = 70360181
|
|
L6_1 = {}
|
|
L6_1.x = -4436.615
|
|
L6_1.y = 200.494
|
|
L6_1.z = -3742.779
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 354.665
|
|
L6_1.y = 353.91
|
|
L6_1.z = 355.879
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L6_1 = GadgetState
|
|
L6_1 = L6_1.GearStart
|
|
L5_1.state = L6_1
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 14
|
|
L6_1 = {}
|
|
L6_1.config_id = 242004
|
|
L6_1.gadget_id = 70360181
|
|
L7_1 = {}
|
|
L7_1.x = -4427.571
|
|
L7_1.y = 199.858
|
|
L7_1.z = -3741.552
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 355.896
|
|
L7_1.y = 263.526
|
|
L7_1.z = 5.349
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L7_1 = GadgetState
|
|
L7_1 = L7_1.GearAction1
|
|
L6_1.state = L7_1
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 14
|
|
L7_1 = {}
|
|
L7_1.config_id = 242005
|
|
L7_1.gadget_id = 70211112
|
|
L8_1 = {}
|
|
L8_1.x = -4432.548
|
|
L8_1.y = 200.384
|
|
L8_1.z = -3740.165
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 355.958
|
|
L8_1.y = 262.872
|
|
L8_1.z = 5.395
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 26
|
|
L7_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187"
|
|
L8_1 = GadgetState
|
|
L8_1 = L8_1.ChestLocked
|
|
L7_1.state = L8_1
|
|
L7_1.isOneoff = true
|
|
L7_1.persistent = true
|
|
L8_1 = {}
|
|
L8_1.name = "chest"
|
|
L8_1.exp = 1
|
|
L7_1.explore = L8_1
|
|
L7_1.area_id = 14
|
|
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
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1242006
|
|
L3_1.name = "GADGET_STATE_CHANGE_242006"
|
|
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_242006"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_242006"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1242007
|
|
L4_1.name = "GROUP_LOAD_242007"
|
|
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_242007"
|
|
L4_1.action = "action_EVENT_GROUP_LOAD_242007"
|
|
L4_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "Finish"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 242001
|
|
L6_1 = 242002
|
|
L7_1 = 242003
|
|
L8_1 = 242004
|
|
L9_1 = 242005
|
|
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 = {}
|
|
L5_1 = "GADGET_STATE_CHANGE_242006"
|
|
L6_1 = "GROUP_LOAD_242007"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133222242
|
|
L6_2 = 242001
|
|
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.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133222242
|
|
L6_2 = 242002
|
|
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.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133222242
|
|
L6_2 = 242003
|
|
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.Default
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133222242
|
|
L6_2 = 242004
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_242006 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
L5_2 = 1
|
|
L6_2 = 133217260
|
|
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 : change_GroupVariable_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
L5_2 = 1
|
|
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_groupVariable"
|
|
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 = 242005
|
|
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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "IsFinished"
|
|
L5_2 = 1
|
|
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_groupVariable"
|
|
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_242006 = L2_1
|
|
function L2_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 = "Finish"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GROUP_LOAD_242007 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133222242
|
|
L4_2.suite = 1
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_242007 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_1/PirateHelm"
|
|
L2_1(L3_1)
|