mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
532 lines
10 KiB
Lua
532 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 = 133006005
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 5001
|
|
L2_1.gadget_id = 70210101
|
|
L3_1 = {}
|
|
L3_1.x = 2595.56
|
|
L3_1.y = 196.694
|
|
L3_1.z = -2349.163
|
|
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 = 26
|
|
L2_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\228\186\186\230\150\135\232\146\153\229\190\183"
|
|
L2_1.isOneoff = true
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 5002
|
|
L3_1.gadget_id = 70210101
|
|
L4_1 = {}
|
|
L4_1.x = 2598.33
|
|
L4_1.y = 196.429
|
|
L4_1.z = -2350.1
|
|
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 = 26
|
|
L3_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\231\159\191\231\159\179\232\146\153\229\190\183"
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 5004
|
|
L4_1.gadget_id = 70210101
|
|
L5_1 = {}
|
|
L5_1.x = 2595.563
|
|
L5_1.y = 196.679
|
|
L5_1.z = -2347.91
|
|
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 = 26
|
|
L4_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\231\160\180\230\141\159\232\146\153\229\190\183"
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 5005
|
|
L5_1.gadget_id = 70220038
|
|
L6_1 = {}
|
|
L6_1.x = 2599.822
|
|
L6_1.y = 192.308
|
|
L6_1.z = -2356.154
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 1.571
|
|
L6_1.y = 101.961
|
|
L6_1.z = 355.016
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 15
|
|
L5_1.isOneoff = true
|
|
L5_1.area_id = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 5006
|
|
L6_1.gadget_id = 70310004
|
|
L7_1 = {}
|
|
L7_1.x = 2595.122
|
|
L7_1.y = 195.709
|
|
L7_1.z = -2352.886
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 351.158
|
|
L7_1.y = 16.798
|
|
L7_1.z = 3.671
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.area_id = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 5007
|
|
L7_1.gadget_id = 70290017
|
|
L8_1 = {}
|
|
L8_1.x = 2601.122
|
|
L8_1.y = 196.099
|
|
L8_1.z = -2357.061
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 278.984
|
|
L8_1.y = 235.24
|
|
L8_1.z = 318.683
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.persistent = true
|
|
L7_1.area_id = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 5008
|
|
L8_1.gadget_id = 70500000
|
|
L9_1 = {}
|
|
L9_1.x = 2601.17
|
|
L9_1.y = 196.004
|
|
L9_1.z = -2357.04
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 7.84
|
|
L9_1.y = 218.179
|
|
L9_1.z = 357.189
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.point_type = 9123
|
|
L8_1.isOneoff = true
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 5009
|
|
L9_1.gadget_id = 70360040
|
|
L10_1 = {}
|
|
L10_1.x = 2601.307
|
|
L10_1.y = 196.164
|
|
L10_1.z = -2357.002
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 0.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L9_1.isOneoff = true
|
|
L9_1.persistent = true
|
|
L9_1.area_id = 1
|
|
L10_1 = {}
|
|
L10_1.config_id = 5012
|
|
L10_1.gadget_id = 70310007
|
|
L11_1 = {}
|
|
L11_1.x = 2656.537
|
|
L11_1.y = 198.676
|
|
L11_1.z = -2354.252
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 90.038
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 30
|
|
L10_1.area_id = 1
|
|
L11_1 = {}
|
|
L11_1.config_id = 5013
|
|
L11_1.gadget_id = 70310007
|
|
L12_1 = {}
|
|
L12_1.x = 2619.468
|
|
L12_1.y = 192.467
|
|
L12_1.z = -2268.888
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 322.799
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 30
|
|
L11_1.area_id = 1
|
|
L12_1 = {}
|
|
L12_1.config_id = 5014
|
|
L12_1.gadget_id = 70210101
|
|
L13_1 = {}
|
|
L13_1.x = 2641.649
|
|
L13_1.y = 201.345
|
|
L13_1.z = -2359.042
|
|
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 = 26
|
|
L12_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\233\129\151\231\137\169\232\146\153\229\190\183"
|
|
L12_1.isOneoff = true
|
|
L12_1.persistent = true
|
|
L12_1.area_id = 1
|
|
L13_1 = {}
|
|
L13_1.config_id = 5015
|
|
L13_1.gadget_id = 70210101
|
|
L14_1 = {}
|
|
L14_1.x = 2638.093
|
|
L14_1.y = 201.462
|
|
L14_1.z = -2350.656
|
|
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 = 26
|
|
L13_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\231\160\180\230\141\159\232\146\153\229\190\183"
|
|
L13_1.isOneoff = true
|
|
L13_1.persistent = true
|
|
L13_1.area_id = 1
|
|
L14_1 = {}
|
|
L14_1.config_id = 5016
|
|
L14_1.gadget_id = 70210101
|
|
L15_1 = {}
|
|
L15_1.x = 2619.367
|
|
L15_1.y = 201.639
|
|
L15_1.z = -2348.933
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 0.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 26
|
|
L14_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\231\160\180\230\141\159\232\146\153\229\190\183"
|
|
L14_1.isOneoff = true
|
|
L14_1.persistent = true
|
|
L14_1.area_id = 1
|
|
L15_1 = {}
|
|
L15_1.config_id = 5017
|
|
L15_1.gadget_id = 70290017
|
|
L16_1 = {}
|
|
L16_1.x = 2601.225
|
|
L16_1.y = 196.115
|
|
L16_1.z = -2357.042
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 278.984
|
|
L16_1.y = 235.24
|
|
L16_1.z = 289.089
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 30
|
|
L15_1.persistent = true
|
|
L15_1.area_id = 1
|
|
L16_1 = {}
|
|
L16_1.config_id = 5018
|
|
L16_1.gadget_id = 70290017
|
|
L17_1 = {}
|
|
L17_1.x = 2601.088
|
|
L17_1.y = 196.106
|
|
L17_1.z = -2356.955
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 278.984
|
|
L17_1.y = 235.24
|
|
L17_1.z = 345.429
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 30
|
|
L16_1.persistent = true
|
|
L16_1.area_id = 1
|
|
L17_1 = {}
|
|
L17_1.config_id = 5019
|
|
L17_1.gadget_id = 70210101
|
|
L18_1 = {}
|
|
L18_1.x = 2601.853
|
|
L18_1.y = 195.466
|
|
L18_1.z = -2361.432
|
|
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 = 26
|
|
L17_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\231\160\180\230\141\159\232\146\153\229\190\183"
|
|
L17_1.isOneoff = true
|
|
L17_1.persistent = true
|
|
L17_1.area_id = 1
|
|
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
|
|
L1_1[12] = L13_1
|
|
L1_1[13] = L14_1
|
|
L1_1[14] = L15_1
|
|
L1_1[15] = L16_1
|
|
L1_1[16] = L17_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1005010
|
|
L2_1.name = "GATHER_5010"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_GATHER
|
|
L2_1.event = L3_1
|
|
L2_1.source = "5008"
|
|
L2_1.condition = ""
|
|
L2_1.action = "action_EVENT_GATHER_5010"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1005011
|
|
L3_1.name = "ANY_GADGET_DIE_5011"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_5011"
|
|
L3_1.action = "action_EVENT_ANY_GADGET_DIE_5011"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_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 = 5001
|
|
L5_1 = 5002
|
|
L6_1 = 5004
|
|
L7_1 = 5005
|
|
L8_1 = 5006
|
|
L9_1 = 5012
|
|
L10_1 = 5013
|
|
L11_1 = 5014
|
|
L12_1 = 5015
|
|
L13_1 = 5016
|
|
L14_1 = 5019
|
|
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
|
|
L3_1[9] = L12_1
|
|
L3_1[10] = L13_1
|
|
L3_1[11] = L14_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GATHER_5010"
|
|
L5_1 = "ANY_GADGET_DIE_5011"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_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, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133006005
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 5009
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133006005
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 5007
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133006005
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 5017
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133006005
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 5018
|
|
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 : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GATHER_5010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 5005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_5011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 5009
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 5008
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 5007
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 5017
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 5018
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_5011 = L1_1
|