mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
482 lines
9.3 KiB
Lua
482 lines
9.3 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133217211
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 211001
|
|
L2_1.gadget_id = 70310086
|
|
L3_1 = {}
|
|
L3_1.x = -4230.192
|
|
L3_1.y = 208.636
|
|
L3_1.z = -4245.72
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 349.436
|
|
L3_1.y = 19.019
|
|
L3_1.z = 352.993
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 30
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 14
|
|
L3_1 = {}
|
|
L3_1.config_id = 211002
|
|
L3_1.gadget_id = 70310086
|
|
L4_1 = {}
|
|
L4_1.x = -4227.319
|
|
L4_1.y = 208.23
|
|
L4_1.z = -4246.607
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 349.278
|
|
L4_1.y = 18.935
|
|
L4_1.z = 352.946
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 14
|
|
L4_1 = {}
|
|
L4_1.config_id = 211003
|
|
L4_1.gadget_id = 70310086
|
|
L5_1 = {}
|
|
L5_1.x = -4231.153
|
|
L5_1.y = 208.064
|
|
L5_1.z = -4248.612
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 348.688
|
|
L5_1.y = 18.901
|
|
L5_1.z = 352.898
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 14
|
|
L5_1 = {}
|
|
L5_1.config_id = 211004
|
|
L5_1.gadget_id = 70310086
|
|
L6_1 = {}
|
|
L6_1.x = -4228.259
|
|
L6_1.y = 207.68
|
|
L6_1.z = -4249.522
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 348.782
|
|
L6_1.y = 18.864
|
|
L6_1.z = 353.321
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 14
|
|
L6_1 = {}
|
|
L6_1.config_id = 211005
|
|
L6_1.gadget_id = 70310086
|
|
L7_1 = {}
|
|
L7_1.x = -4221.939
|
|
L7_1.y = 204.079
|
|
L7_1.z = -4287.002
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 3.277
|
|
L7_1.y = 80.796
|
|
L7_1.z = 0.163
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L7_1 = GadgetState
|
|
L7_1 = L7_1.Action02
|
|
L6_1.state = L7_1
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 14
|
|
L7_1 = {}
|
|
L7_1.config_id = 211006
|
|
L7_1.gadget_id = 70310086
|
|
L8_1 = {}
|
|
L8_1.x = -4221.471
|
|
L8_1.y = 204.075
|
|
L8_1.z = -4290.0
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 3.738
|
|
L8_1.y = 81.04
|
|
L8_1.z = 359.943
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L8_1 = GadgetState
|
|
L8_1 = L8_1.Action01
|
|
L7_1.state = L8_1
|
|
L7_1.persistent = true
|
|
L7_1.area_id = 14
|
|
L8_1 = {}
|
|
L8_1.config_id = 211007
|
|
L8_1.gadget_id = 70310086
|
|
L9_1 = {}
|
|
L9_1.x = -4224.922
|
|
L9_1.y = 204.247
|
|
L9_1.z = -4287.5
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 3.446
|
|
L9_1.y = 80.939
|
|
L9_1.z = 0.434
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L9_1 = GadgetState
|
|
L9_1 = L9_1.Action01
|
|
L8_1.state = L9_1
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 14
|
|
L9_1 = {}
|
|
L9_1.config_id = 211008
|
|
L9_1.gadget_id = 70310086
|
|
L10_1 = {}
|
|
L10_1.x = -4224.456
|
|
L10_1.y = 204.262
|
|
L10_1.z = -4290.473
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 3.737
|
|
L10_1.y = 80.912
|
|
L10_1.z = 359.879
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L10_1 = GadgetState
|
|
L10_1 = L10_1.Action02
|
|
L9_1.state = L10_1
|
|
L9_1.persistent = true
|
|
L9_1.area_id = 14
|
|
L10_1 = {}
|
|
L10_1.config_id = 211019
|
|
L10_1.gadget_id = 70211101
|
|
L11_1 = {}
|
|
L11_1.x = -4229.129
|
|
L11_1.y = 209.612
|
|
L11_1.z = -4247.904
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 8.592
|
|
L11_1.y = 198.412
|
|
L11_1.z = 4.3
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 26
|
|
L10_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\168\187\229\166\187"
|
|
L10_1.isOneoff = true
|
|
L10_1.persistent = true
|
|
L11_1 = {}
|
|
L11_1.name = "chest"
|
|
L11_1.exp = 1
|
|
L10_1.explore = L11_1
|
|
L10_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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1211020
|
|
L2_1.name = "GADGET_STATE_CHANGE_211020"
|
|
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_211020"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_211020"
|
|
L2_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 2
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 211001
|
|
L5_1 = 211002
|
|
L6_1 = 211003
|
|
L7_1 = 211004
|
|
L8_1 = 211005
|
|
L9_1 = 211006
|
|
L10_1 = 211007
|
|
L11_1 = 211008
|
|
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
|
|
L3_1[7] = L10_1
|
|
L3_1[8] = L11_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_211020"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 211001
|
|
L6_1 = 211002
|
|
L7_1 = 211003
|
|
L8_1 = 211004
|
|
L9_1 = 211005
|
|
L10_1 = 211006
|
|
L11_1 = 211007
|
|
L12_1 = 211008
|
|
L13_1 = 211019
|
|
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
|
|
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, L6_2
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133217211
|
|
L6_2 = 211001
|
|
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 = 133217211
|
|
L6_2 = 211002
|
|
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 = 133217211
|
|
L6_2 = 211003
|
|
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.GearStart
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 133217211
|
|
L6_2 = 211004
|
|
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 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_211020 = 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.ChangeGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "Finish"
|
|
L5_2 = 1
|
|
L6_2 = 133222266
|
|
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.GoToGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133217211
|
|
L5_2 = 2
|
|
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 : goto_groupSuite"
|
|
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 = 211001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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 = 211002
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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 = 211003
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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 = 211004
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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 = 211005
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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 = 211006
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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 = 211007
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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 = 211008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Action02
|
|
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_211020 = L1_1
|