mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
340 lines
5.8 KiB
Lua
340 lines
5.8 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 = 246101001
|
|
L1_1 = {}
|
|
L1_1.group_id = 246101001
|
|
L2_1 = {}
|
|
L3_1 = 1004
|
|
L4_1 = 1005
|
|
L5_1 = 1006
|
|
L6_1 = 1007
|
|
L7_1 = 1008
|
|
L8_1 = 1009
|
|
L9_1 = 1010
|
|
L10_1 = 1011
|
|
L11_1 = 1012
|
|
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
|
|
L1_1.target_points = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1001
|
|
L3_1.monster_id = 28020902
|
|
L4_1 = {}
|
|
L4_1.x = 21.118
|
|
L4_1.y = 1.875
|
|
L4_1.z = 52.387
|
|
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 = 1
|
|
L3_1.title_id = 10054
|
|
L3_1.special_name_id = 10079
|
|
L2_1[1] = L3_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1004
|
|
L3_1.gadget_id = 70350356
|
|
L4_1 = {}
|
|
L4_1.x = 27.386
|
|
L4_1.y = 1.863
|
|
L4_1.z = 50.921
|
|
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 = 1
|
|
L3_1.mark_flag = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 1005
|
|
L4_1.gadget_id = 70350356
|
|
L5_1 = {}
|
|
L5_1.x = 21.131
|
|
L5_1.y = 1.861
|
|
L5_1.z = 50.774
|
|
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.mark_flag = 2
|
|
L5_1 = {}
|
|
L5_1.config_id = 1006
|
|
L5_1.gadget_id = 70350356
|
|
L6_1 = {}
|
|
L6_1.x = 13.022
|
|
L6_1.y = 1.86
|
|
L6_1.z = 50.792
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 0.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.mark_flag = 3
|
|
L6_1 = {}
|
|
L6_1.config_id = 1007
|
|
L6_1.gadget_id = 70350356
|
|
L7_1 = {}
|
|
L7_1.x = 27.501
|
|
L7_1.y = 1.88
|
|
L7_1.z = 57.937
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 0.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.mark_flag = 4
|
|
L7_1 = {}
|
|
L7_1.config_id = 1008
|
|
L7_1.gadget_id = 70350356
|
|
L8_1 = {}
|
|
L8_1.x = 20.606
|
|
L8_1.y = 1.86
|
|
L8_1.z = 58.015
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 0.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.mark_flag = 5
|
|
L8_1 = {}
|
|
L8_1.config_id = 1009
|
|
L8_1.gadget_id = 70350356
|
|
L9_1 = {}
|
|
L9_1.x = 12.994
|
|
L9_1.y = 1.87
|
|
L9_1.z = 57.894
|
|
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.mark_flag = 6
|
|
L9_1 = {}
|
|
L9_1.config_id = 1010
|
|
L9_1.gadget_id = 70350356
|
|
L10_1 = {}
|
|
L10_1.x = 27.577
|
|
L10_1.y = 1.86
|
|
L10_1.z = 65.787
|
|
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 = 1
|
|
L9_1.mark_flag = 7
|
|
L10_1 = {}
|
|
L10_1.config_id = 1011
|
|
L10_1.gadget_id = 70350356
|
|
L11_1 = {}
|
|
L11_1.x = 19.918
|
|
L11_1.y = 1.866
|
|
L11_1.z = 66.634
|
|
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.mark_flag = 8
|
|
L11_1 = {}
|
|
L11_1.config_id = 1012
|
|
L11_1.gadget_id = 70350356
|
|
L12_1 = {}
|
|
L12_1.x = 13.029
|
|
L12_1.y = 1.875
|
|
L12_1.z = 66.973
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 0.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.mark_flag = 9
|
|
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
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1001002
|
|
L3_1.name = "ANY_MONSTER_DIE_1002"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1002"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_1002"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1001003
|
|
L4_1.name = "QUEST_FINISH_1003"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_QUEST_FINISH
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_QUEST_FINISH_1003"
|
|
L4_1.action = "action_EVENT_QUEST_FINISH_1003"
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
triggers = L2_1
|
|
L2_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 = 1004
|
|
L6_1 = 1005
|
|
L7_1 = 1006
|
|
L8_1 = 1007
|
|
L9_1 = 1008
|
|
L10_1 = 1009
|
|
L11_1 = 1010
|
|
L12_1 = 1011
|
|
L13_1 = 1012
|
|
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 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_1002"
|
|
L6_1 = "QUEST_FINISH_1003"
|
|
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
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_1002 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "24610100101"
|
|
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 : add_quest_progress"
|
|
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_1002 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 4003408 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 1 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_QUEST_FINISH_1003 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 246101003
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonster
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 1001
|
|
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_QUEST_FINISH_1003 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_3/HachiDungeon"
|
|
L2_1(L3_1)
|