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

502 lines
9.2 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
L0_1 = {}
L0_1.group_id = 133002035
L1_1 = {}
L2_1 = {}
L2_1.config_id = 727
L2_1.monster_id = 20010801
L3_1 = {}
L3_1.x = 1824.07
L3_1.y = 217.961
L3_1.z = -387.109
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 215.875
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 10
L2_1.drop_id = 1000100
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 728
L3_1.monster_id = 20010801
L4_1 = {}
L4_1.x = 1819.411
L4_1.y = 218.156
L4_1.z = -386.721
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 191.934
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 10
L3_1.drop_id = 1000100
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 729
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1823.085
L5_1.y = 218.524
L5_1.z = -394.892
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 256.635
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 10
L4_1.drop_id = 1000100
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 730
L5_1.monster_id = 20011401
L6_1 = {}
L6_1.x = 1812.521
L6_1.y = 218.397
L6_1.z = -409.354
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 106.131
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 10
L5_1.drop_id = 1000100
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 731
L6_1.monster_id = 20011401
L7_1 = {}
L7_1.x = 1813.548
L7_1.y = 218.127
L7_1.z = -419.796
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 317.453
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 10
L6_1.drop_id = 1000100
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 732
L7_1.monster_id = 20011401
L8_1 = {}
L8_1.x = 1806.809
L8_1.y = 219.565
L8_1.z = -415.886
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 96.875
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 10
L7_1.drop_id = 1000100
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 733
L8_1.monster_id = 20011501
L9_1 = {}
L9_1.x = 1814.614
L9_1.y = 218.123
L9_1.z = -413.733
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 95.452
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 10
L8_1.drop_id = 1000100
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 734
L9_1.monster_id = 20010901
L10_1 = {}
L10_1.x = 1820.578
L10_1.y = 218.232
L10_1.z = -392.714
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 264.593
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 10
L9_1.drop_id = 1000100
L9_1.area_id = 3
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 35001
L2_1.gadget_id = 70900201
L3_1 = {}
L3_1.x = 1813.164
L3_1.y = 221.497
L3_1.z = -394.228
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 = 10
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 35002
L3_1.gadget_id = 70900201
L4_1 = {}
L4_1.x = 1818.248
L4_1.y = 221.673
L4_1.z = -414.04
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 = 10
L3_1.area_id = 3
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 = 1000238
L2_1.name = "ANY_MONSTER_DIE_238"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_238"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_238"
L3_1 = {}
L3_1.config_id = 1000239
L3_1.name = "ANY_MONSTER_DIE_239"
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_239"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_239"
L4_1 = {}
L4_1.config_id = 1000240
L4_1.name = "ANY_MONSTER_DIE_240"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_240"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_240"
L5_1 = {}
L5_1.config_id = 1035003
L5_1.name = "ANY_MONSTER_LIVE_35003"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_LIVE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_35003"
L5_1.action = "action_EVENT_ANY_MONSTER_LIVE_35003"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_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 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 727
L6_1 = 728
L7_1 = 729
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 35001
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_238"
L6_1 = "ANY_MONSTER_LIVE_35003"
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 730
L7_1 = 731
L8_1 = 732
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 35002
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_239"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 733
L8_1 = 734
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 35001
L8_1 = 35002
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ANY_MONSTER_DIE_240"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = 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_238 = 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 = 133002035
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 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 400002
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_238 = 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_239 = 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 = 133002035
L4_2.suite = 4
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 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 400003
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_239 = 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_240 = 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 = "3002035"
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 35001
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 35002
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_entity_by_configId"
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_240 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 727 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_35003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 400001
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_35003 = L1_1