mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
350 lines
6.4 KiB
Lua
350 lines
6.4 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133107235
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 235001
|
|
L2_1.gadget_id = 70710609
|
|
L3_1 = {}
|
|
L3_1.x = -76.025
|
|
L3_1.y = 268.175
|
|
L3_1.z = 90.043
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 123.45
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 7
|
|
L3_1 = {}
|
|
L3_1.config_id = 235002
|
|
L3_1.gadget_id = 70710609
|
|
L4_1 = {}
|
|
L4_1.x = -72.381
|
|
L4_1.y = 268.217
|
|
L4_1.z = 95.898
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 344.14
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 7
|
|
L4_1 = {}
|
|
L4_1.config_id = 235003
|
|
L4_1.gadget_id = 70710609
|
|
L5_1 = {}
|
|
L5_1.x = -77.898
|
|
L5_1.y = 268.405
|
|
L5_1.z = 94.869
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 194.9
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.area_id = 7
|
|
L5_1 = {}
|
|
L5_1.config_id = 235004
|
|
L5_1.gadget_id = 70710609
|
|
L6_1 = {}
|
|
L6_1.x = -67.372
|
|
L6_1.y = 267.999
|
|
L6_1.z = 98.482
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 279.9
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 7
|
|
L6_1 = {}
|
|
L6_1.config_id = 235005
|
|
L6_1.gadget_id = 70710610
|
|
L7_1 = {}
|
|
L7_1.x = -75.344
|
|
L7_1.y = 268.454
|
|
L7_1.z = 98.128
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 291.17
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 7
|
|
L7_1 = {}
|
|
L7_1.config_id = 235006
|
|
L7_1.gadget_id = 70710610
|
|
L8_1 = {}
|
|
L8_1.x = -66.136
|
|
L8_1.y = 268.301
|
|
L8_1.z = 94.768
|
|
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.area_id = 7
|
|
L8_1 = {}
|
|
L8_1.config_id = 235007
|
|
L8_1.gadget_id = 70710610
|
|
L9_1 = {}
|
|
L9_1.x = -74.465
|
|
L9_1.y = 268.211
|
|
L9_1.z = 93.082
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 249.91
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 7
|
|
L9_1 = {}
|
|
L9_1.config_id = 235008
|
|
L9_1.gadget_id = 70710610
|
|
L10_1 = {}
|
|
L10_1.x = -70.262
|
|
L10_1.y = 267.967
|
|
L10_1.z = 101.233
|
|
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.area_id = 7
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1235009
|
|
L2_1.name = "ANY_GADGET_DIE_235009"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_235009"
|
|
L2_1.action = "action_EVENT_ANY_GADGET_DIE_235009"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1235010
|
|
L3_1.name = "ANY_GADGET_DIE_235010"
|
|
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_235010"
|
|
L3_1.action = "action_EVENT_ANY_GADGET_DIE_235010"
|
|
L3_1.trigger_count = 4
|
|
L4_1 = {}
|
|
L4_1.config_id = 1235011
|
|
L4_1.name = "QUEST_FINISH_235011"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_QUEST_FINISH
|
|
L4_1.event = L5_1
|
|
L4_1.source = "1904717"
|
|
L4_1.condition = ""
|
|
L4_1.action = "action_EVENT_QUEST_FINISH_235011"
|
|
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 = {}
|
|
L1_1.suite = 2
|
|
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 = 235001
|
|
L5_1 = 235002
|
|
L6_1 = 235003
|
|
L7_1 = 235004
|
|
L8_1 = 235005
|
|
L9_1 = 235006
|
|
L10_1 = 235007
|
|
L11_1 = 235008
|
|
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 = "ANY_GADGET_DIE_235009"
|
|
L5_1 = "ANY_GADGET_DIE_235010"
|
|
L6_1 = "QUEST_FINISH_235011"
|
|
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
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_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
|
|
L2_2 = A1_2.param1
|
|
if 235005 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 235006 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 235007 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 235008 ~= L2_2 then
|
|
goto lbl_15
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = true
|
|
do return L2_2 end
|
|
::lbl_15::
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_235009 = L1_1
|
|
function L1_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 = "1331072352"
|
|
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_GADGET_DIE_235009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 235001 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 235002 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 235003 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 235004 ~= L2_2 then
|
|
goto lbl_15
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = true
|
|
do return L2_2 end
|
|
::lbl_15::
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_235010 = L1_1
|
|
function L1_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 = "1331072351"
|
|
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_GADGET_DIE_235010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133107235
|
|
L5_2 = GroupKillPolicy
|
|
L5_2 = L5_2.GROUP_KILL_GADGET
|
|
L4_2.kill_policy = L5_2
|
|
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 : kill_gadget_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133107235
|
|
L4_2.suite = 1
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_QUEST_FINISH_235011 = L1_1
|