Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133102177.lua
2022-04-29 16:40:51 +02:00

368 lines
6.7 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 = 133102177
L1_1 = {}
L2_1 = {}
L2_1.config_id = 177001
L2_1.monster_id = 25010201
L3_1 = {}
L3_1.x = 1620.681
L3_1.y = 241.538
L3_1.z = 808.447
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 121.428
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 33
L2_1.drop_id = 1000100
L2_1.disableWander = true
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 177004
L3_1.monster_id = 25010201
L4_1 = {}
L4_1.x = 1613.922
L4_1.y = 242.244
L4_1.z = 802.262
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 63.919
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 33
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 177005
L4_1.monster_id = 25010201
L5_1 = {}
L5_1.x = 1636.114
L5_1.y = 240.155
L5_1.z = 814.808
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 262.019
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 33
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 177006
L5_1.monster_id = 25010201
L6_1 = {}
L6_1.x = 1619.025
L6_1.y = 242.485
L6_1.z = 796.097
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 58.118
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 177007
L6_1.monster_id = 25010201
L7_1 = {}
L7_1.x = 1640.259
L7_1.y = 239.404
L7_1.z = 818.02
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 253.493
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 33
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 177008
L7_1.monster_id = 25010201
L8_1 = {}
L8_1.x = 1641.182
L8_1.y = 239.526
L8_1.z = 812.685
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 261.708
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 33
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 177013
L8_1.monster_id = 25030301
L9_1 = {}
L9_1.x = 1613.972
L9_1.y = 241.943
L9_1.z = 805.279
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 112.163
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 33
L8_1.drop_id = 1000100
L8_1.disableWander = true
L8_1.area_id = 5
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 177009
L2_1.gadget_id = 70710651
L3_1 = {}
L3_1.x = 1615.112
L3_1.y = 242.227
L3_1.z = 800.681
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 = 1
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 177010
L3_1.gadget_id = 70710651
L4_1 = {}
L4_1.x = 1614.386
L4_1.y = 242.24
L4_1.z = 801.623
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.area_id = 5
L1_1[1] = L2_1
L1_1[2] = L3_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1177002
L2_1.name = "SPECIFIC_MONSTER_HP_CHANGE_177002"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "177013"
L2_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_177002"
L2_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_177002"
L3_1 = {}
L3_1.config_id = 1177003
L3_1.name = "ANY_MONSTER_DIE_177003"
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_177003"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_177003"
L4_1 = {}
L4_1.config_id = 1177011
L4_1.name = "QUEST_START_177011"
L5_1 = EventType
L5_1 = L5_1.EVENT_QUEST_START
L4_1.event = L5_1
L4_1.source = "4003705"
L4_1.condition = ""
L4_1.action = "action_EVENT_QUEST_START_177011"
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 = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 177001
L5_1 = 177004
L6_1 = 177006
L7_1 = 177013
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "SPECIFIC_MONSTER_HP_CHANGE_177002"
L5_1 = "QUEST_START_177011"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 177005
L6_1 = 177007
L7_1 = 177008
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_177003"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 177009
L7_1 = 177010
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.type
L3_2 = EventType
L3_2 = L3_2.EVENT_SPECIFIC_MONSTER_HP_CHANGE
if L2_2 == L3_2 then
L2_2 = A1_2.param3
if not (50 < L2_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_SPECIFIC_MONSTER_HP_CHANGE_177002 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 400004
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133102177
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_177002 = L1_1
function L1_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_177003 = 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 = "13310217702"
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_177003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133102177
L4_2.suite = 3
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_START_177011 = L1_1