mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
548 lines
10 KiB
Lua
548 lines
10 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 = 133225066
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 66001
|
|
L2_1.gadget_id = 70217011
|
|
L3_1 = {}
|
|
L3_1.x = -6274.9
|
|
L3_1.y = 222.477
|
|
L3_1.z = -2932.808
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 345.946
|
|
L3_1.y = 88.797
|
|
L3_1.z = 336.407
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 26
|
|
L2_1.chest_drop_id = 1000100
|
|
L2_1.drop_count = 1
|
|
L2_1.isOneoff = true
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 18
|
|
L3_1 = {}
|
|
L3_1.config_id = 66003
|
|
L3_1.gadget_id = 70217011
|
|
L4_1 = {}
|
|
L4_1.x = -6243.48
|
|
L4_1.y = 235.684
|
|
L4_1.z = -2952.046
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 352.04
|
|
L4_1.y = 23.45
|
|
L4_1.z = 14.481
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 26
|
|
L3_1.chest_drop_id = 1000100
|
|
L3_1.drop_count = 1
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 66004
|
|
L4_1.gadget_id = 70217011
|
|
L5_1 = {}
|
|
L5_1.x = -6290.104
|
|
L5_1.y = 236.201
|
|
L5_1.z = -2958.427
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 73.524
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 26
|
|
L4_1.chest_drop_id = 1000100
|
|
L4_1.drop_count = 1
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 18
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1066002
|
|
L2_1.name = "GADGET_STATE_CHANGE_66002"
|
|
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_66002"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_66002"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1066005
|
|
L3_1.name = "GADGET_STATE_CHANGE_66005"
|
|
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_66005"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_66005"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1066006
|
|
L4_1.name = "GADGET_STATE_CHANGE_66006"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_66006"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_66006"
|
|
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 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 66007
|
|
L3_1.gadget_id = 70330114
|
|
L4_1 = {}
|
|
L4_1.x = -6236.979
|
|
L4_1.y = 237.896
|
|
L4_1.z = -2936.913
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 210.786
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 18
|
|
L4_1 = {}
|
|
L4_1.config_id = 66008
|
|
L4_1.gadget_id = 70330114
|
|
L5_1 = {}
|
|
L5_1.x = -6231.322
|
|
L5_1.y = 239.106
|
|
L5_1.z = -2946.776
|
|
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
|
|
L4_1.area_id = 18
|
|
L5_1 = {}
|
|
L5_1.config_id = 66009
|
|
L5_1.gadget_id = 70330114
|
|
L6_1 = {}
|
|
L6_1.x = -6241.301
|
|
L6_1.y = 234.051
|
|
L6_1.z = -2943.921
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 193.555
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 18
|
|
L6_1 = {}
|
|
L6_1.config_id = 66010
|
|
L6_1.gadget_id = 70330114
|
|
L7_1 = {}
|
|
L7_1.x = -6240.941
|
|
L7_1.y = 236.97
|
|
L7_1.z = -2935.76
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 234.963
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 18
|
|
L7_1 = {}
|
|
L7_1.config_id = 66011
|
|
L7_1.gadget_id = 70330114
|
|
L8_1 = {}
|
|
L8_1.x = -6249.125
|
|
L8_1.y = 233.62
|
|
L8_1.z = -2939.809
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 10.986
|
|
L8_1.y = 253.41
|
|
L8_1.z = 356.751
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 18
|
|
L8_1 = {}
|
|
L8_1.config_id = 66012
|
|
L8_1.gadget_id = 70330114
|
|
L9_1 = {}
|
|
L9_1.x = -6253.927
|
|
L9_1.y = 230.508
|
|
L9_1.z = -2942.036
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 18
|
|
L9_1 = {}
|
|
L9_1.config_id = 66013
|
|
L9_1.gadget_id = 70330114
|
|
L10_1 = {}
|
|
L10_1.x = -6261.71
|
|
L10_1.y = 229.404
|
|
L10_1.z = -2939.39
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 14.148
|
|
L10_1.y = 290.122
|
|
L10_1.z = 5.118
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.area_id = 18
|
|
L10_1 = {}
|
|
L10_1.config_id = 66014
|
|
L10_1.gadget_id = 70330114
|
|
L11_1 = {}
|
|
L11_1.x = -6269.439
|
|
L11_1.y = 224.401
|
|
L11_1.z = -2935.758
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 0.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.area_id = 18
|
|
L11_1 = {}
|
|
L11_1.config_id = 66015
|
|
L11_1.gadget_id = 70330114
|
|
L12_1 = {}
|
|
L12_1.x = -6279.406
|
|
L12_1.y = 220.953
|
|
L12_1.z = -2934.857
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 235.566
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.area_id = 18
|
|
L12_1 = {}
|
|
L12_1.config_id = 66016
|
|
L12_1.gadget_id = 70330114
|
|
L13_1 = {}
|
|
L13_1.x = -6304.514
|
|
L13_1.y = 220.341
|
|
L13_1.z = -2940.937
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 0.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.area_id = 18
|
|
L13_1 = {}
|
|
L13_1.config_id = 66017
|
|
L13_1.gadget_id = 70330114
|
|
L14_1 = {}
|
|
L14_1.x = -6304.869
|
|
L14_1.y = 221.068
|
|
L14_1.z = -2941.307
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 0.0
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L13_1.area_id = 18
|
|
L14_1 = {}
|
|
L14_1.config_id = 66018
|
|
L14_1.gadget_id = 70330114
|
|
L15_1 = {}
|
|
L15_1.x = -6290.165
|
|
L15_1.y = 222.013
|
|
L15_1.z = -2942.434
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 355.916
|
|
L15_1.y = 221.643
|
|
L15_1.z = 4.579
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L14_1.area_id = 18
|
|
L15_1 = {}
|
|
L15_1.config_id = 66020
|
|
L15_1.gadget_id = 70330114
|
|
L16_1 = {}
|
|
L16_1.x = -6295.221
|
|
L16_1.y = 225.402
|
|
L16_1.z = -2949.557
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 319.878
|
|
L16_1.y = 177.525
|
|
L16_1.z = 19.598
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L15_1.area_id = 18
|
|
L16_1 = {}
|
|
L16_1.config_id = 66021
|
|
L16_1.gadget_id = 70330114
|
|
L17_1 = {}
|
|
L17_1.x = -6304.134
|
|
L17_1.y = 217.031
|
|
L17_1.z = -2939.15
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 290.209
|
|
L17_1.y = 180.0
|
|
L17_1.z = 180.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 1
|
|
L16_1.area_id = 18
|
|
L17_1 = {}
|
|
L17_1.config_id = 66022
|
|
L17_1.gadget_id = 70330114
|
|
L18_1 = {}
|
|
L18_1.x = -6306.179
|
|
L18_1.y = 224.51
|
|
L18_1.z = -2941.32
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 0.0
|
|
L18_1.y = 0.0
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 1
|
|
L17_1.area_id = 18
|
|
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
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
L2_1[11] = L13_1
|
|
L2_1[12] = L14_1
|
|
L2_1[13] = L15_1
|
|
L2_1[14] = L16_1
|
|
L2_1[15] = L17_1
|
|
L1_1.gadgets = L2_1
|
|
garbages = 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 = 66001
|
|
L5_1 = 66003
|
|
L6_1 = 66004
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_STATE_CHANGE_66002"
|
|
L5_1 = "GADGET_STATE_CHANGE_66005"
|
|
L6_1 = "GADGET_STATE_CHANGE_66006"
|
|
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
|
|
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 66001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestOpened
|
|
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_66002 = 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 = "feather_count"
|
|
L5_2 = 1
|
|
L6_2 = 133223001
|
|
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.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "progress"
|
|
L5_2 = 1
|
|
L6_2 = 133223511
|
|
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 : set_groupVariable_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_66002 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 66003 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestOpened
|
|
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_66005 = 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 = "feather_count"
|
|
L5_2 = 1
|
|
L6_2 = 133223001
|
|
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.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "progress"
|
|
L5_2 = 1
|
|
L6_2 = 133223512
|
|
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 : set_groupVariable_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_66005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 66004 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestOpened
|
|
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_66006 = 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 = "feather_count"
|
|
L5_2 = 1
|
|
L6_2 = 133223001
|
|
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.SetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "progress"
|
|
L5_2 = 1
|
|
L6_2 = 133223508
|
|
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 : set_groupVariable_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_66006 = L1_1
|