mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
497 lines
9.3 KiB
Lua
497 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133003300
|
|
L1_1 = {}
|
|
L1_1.gadget_id_1 = 980
|
|
L1_1.gadget_id_2 = 981
|
|
L1_1.gadget_id_3 = 982
|
|
L1_1.gadget_id_4 = 983
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 980
|
|
L3_1.monster_id = 20011001
|
|
L4_1 = {}
|
|
L4_1.x = 2405.939
|
|
L4_1.y = 208.425
|
|
L4_1.z = -1184.132
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 102.278
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L3_1.disableWander = true
|
|
L3_1.area_id = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 981
|
|
L4_1.monster_id = 20011001
|
|
L5_1 = {}
|
|
L5_1.x = 2408.413
|
|
L5_1.y = 208.744
|
|
L5_1.z = -1190.185
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 40.141
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L4_1.disableWander = true
|
|
L4_1.area_id = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 982
|
|
L5_1.monster_id = 20011001
|
|
L6_1 = {}
|
|
L6_1.x = 2413.51
|
|
L6_1.y = 208.216
|
|
L6_1.z = -1188.724
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 285.571
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L5_1.disableWander = true
|
|
L5_1.area_id = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 983
|
|
L6_1.monster_id = 20011001
|
|
L7_1 = {}
|
|
L7_1.x = 2412.172
|
|
L7_1.y = 208.078
|
|
L7_1.z = -1182.78
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 192.262
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L6_1.disableWander = true
|
|
L6_1.area_id = 1
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 3206
|
|
L3_1.gadget_id = 70211101
|
|
L4_1 = {}
|
|
L4_1.x = 2410.182
|
|
L4_1.y = 208.353
|
|
L4_1.z = -1186.463
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 347.544
|
|
L4_1.y = 122.991
|
|
L4_1.z = 358.318
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\232\146\153\229\190\183"
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L4_1 = {}
|
|
L4_1.name = "chest"
|
|
L4_1.exp = 1
|
|
L3_1.explore = L4_1
|
|
L3_1.area_id = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 3207
|
|
L4_1.gadget_id = 70500000
|
|
L5_1 = {}
|
|
L5_1.x = 2407.583
|
|
L5_1.y = 208.399
|
|
L5_1.z = -1184.587
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 178.58
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 2
|
|
L4_1.point_type = 2003
|
|
L4_1.isOneoff = true
|
|
L4_1.area_id = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 3208
|
|
L5_1.gadget_id = 70500000
|
|
L6_1 = {}
|
|
L6_1.x = 2408.737
|
|
L6_1.y = 208.61
|
|
L6_1.z = -1188.921
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 103.917
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 2
|
|
L5_1.point_type = 2003
|
|
L5_1.isOneoff = true
|
|
L5_1.area_id = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 3209
|
|
L6_1.gadget_id = 70500000
|
|
L7_1 = {}
|
|
L7_1.x = 2412.353
|
|
L7_1.y = 208.303
|
|
L7_1.z = -1188.012
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 24.245
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 2
|
|
L6_1.point_type = 2003
|
|
L6_1.isOneoff = true
|
|
L6_1.area_id = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 3210
|
|
L7_1.gadget_id = 70500000
|
|
L8_1 = {}
|
|
L8_1.x = 2411.47
|
|
L8_1.y = 208.307
|
|
L8_1.z = -1184.212
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 299.286
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 2
|
|
L7_1.point_type = 2003
|
|
L7_1.isOneoff = true
|
|
L7_1.area_id = 1
|
|
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 = 1000218
|
|
L3_1.name = "GATHER_218"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GATHER
|
|
L3_1.event = L4_1
|
|
L3_1.source = "3207"
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_GATHER_218"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1000219
|
|
L4_1.name = "GATHER_219"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GATHER
|
|
L4_1.event = L5_1
|
|
L4_1.source = "3208"
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_GATHER_219"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1000220
|
|
L5_1.name = "GATHER_220"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GATHER
|
|
L5_1.event = L6_1
|
|
L5_1.source = "3209"
|
|
L5_1.condition = ""
|
|
L5_1.action = "action_EVENT_GATHER_220"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1000221
|
|
L6_1.name = "GATHER_221"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_GATHER
|
|
L6_1.event = L7_1
|
|
L6_1.source = "3210"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_GATHER_221"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1000222
|
|
L7_1.name = "ANY_MONSTER_DIE_222"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_222"
|
|
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_222"
|
|
L7_1.trigger_count = 0
|
|
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
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "v980"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L4_1 = {}
|
|
L4_1.configId = 2
|
|
L4_1.name = "v981"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L5_1 = {}
|
|
L5_1.configId = 3
|
|
L5_1.name = "v982"
|
|
L5_1.value = 0
|
|
L5_1.no_refresh = true
|
|
L6_1 = {}
|
|
L6_1.configId = 4
|
|
L6_1.name = "v983"
|
|
L6_1.value = 0
|
|
L6_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = true
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 3207
|
|
L6_1 = 3208
|
|
L7_1 = 3209
|
|
L8_1 = 3210
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GATHER_218"
|
|
L6_1 = "GATHER_219"
|
|
L7_1 = "GATHER_220"
|
|
L8_1 = "GATHER_221"
|
|
L9_1 = "ANY_MONSTER_DIE_222"
|
|
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.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
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 980
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GATHER_218 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 981
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GATHER_219 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 982
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GATHER_220 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 983
|
|
L4_2.delay_time = 0
|
|
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_monster"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GATHER_221 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_1
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "v980"
|
|
L5_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
end
|
|
L2_2 = L1_1.gadget_id_2
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "v981"
|
|
L5_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
end
|
|
L2_2 = L1_1.gadget_id_3
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "v982"
|
|
L5_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
end
|
|
L2_2 = L1_1.gadget_id_4
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "v983"
|
|
L5_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "v980"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "v981"
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
L2_2 = L2_2 + L3_2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "v982"
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
L2_2 = L2_2 + L3_2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "v983"
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
L2_2 = L2_2 + L3_2
|
|
if L2_2 == 4 then
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_222 = L2_1
|
|
function L2_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 = 3206
|
|
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 : dungeon_settle"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_222 = L2_1
|