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

513 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, L10_1, L11_1, L12_1, L13_1
L0_1 = {}
L0_1.group_id = 133220645
L1_1 = {}
L2_1 = {}
L2_1.config_id = 645001
L2_1.monster_id = 21010401
L3_1 = {}
L3_1.x = -2360.063
L3_1.y = 232.769
L3_1.z = -4343.095
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 34.675
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 26
L2_1.drop_id = 1000100
L2_1.disableWander = true
L3_1 = {}
L4_1 = 1038
L3_1[1] = L4_1
L2_1.affix = L3_1
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 645002
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = -2361.019
L4_1.y = 232.798
L4_1.z = -4342.82
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 27.471
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1038
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 645007
L4_1.monster_id = 21010101
L5_1 = {}
L5_1.x = -2338.922
L5_1.y = 231.132
L5_1.z = -4329.908
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 216.39
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 26
L4_1.drop_id = 1000100
L4_1.disableWander = true
L5_1 = {}
L6_1 = 1038
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.pose_id = 9016
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 645008
L5_1.monster_id = 21010101
L6_1 = {}
L6_1.x = -2351.991
L6_1.y = 232.178
L6_1.z = -4329.063
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 15.802
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 26
L5_1.drop_id = 1000100
L5_1.disableWander = true
L6_1 = {}
L7_1 = 1038
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.pose_id = 9003
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 645009
L6_1.monster_id = 21010101
L7_1 = {}
L7_1.x = -2341.396
L7_1.y = 230.669
L7_1.z = -4329.815
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 151.402
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 26
L6_1.drop_id = 1000100
L6_1.disableWander = true
L7_1 = {}
L8_1 = 1038
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.pose_id = 9016
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 645010
L7_1.monster_id = 21030101
L8_1 = {}
L8_1.x = -2355.943
L8_1.y = 233.212
L8_1.z = -4329.654
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 43.59
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 26
L7_1.drop_id = 1000100
L7_1.disableWander = true
L8_1 = {}
L9_1 = 1038
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 645011
L8_1.monster_id = 21010701
L9_1 = {}
L9_1.x = -2348.415
L9_1.y = 226.379
L9_1.z = -4350.399
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 = 26
L8_1.drop_id = 1000100
L8_1.disableWander = true
L9_1 = {}
L10_1 = 1038
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.area_id = 11
L9_1 = {}
L9_1.config_id = 645012
L9_1.monster_id = 21010701
L10_1 = {}
L10_1.x = -2345.217
L10_1.y = 226.122
L10_1.z = -4353.101
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 = 26
L9_1.drop_id = 1000100
L9_1.disableWander = true
L10_1 = {}
L11_1 = 1038
L10_1[1] = L11_1
L9_1.affix = L10_1
L9_1.area_id = 11
L10_1 = {}
L10_1.config_id = 645013
L10_1.monster_id = 21010701
L11_1 = {}
L11_1.x = -2353.642
L11_1.y = 225.904
L11_1.z = -4354.081
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 = 26
L10_1.drop_id = 1000100
L10_1.disableWander = true
L11_1 = {}
L12_1 = 1038
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.area_id = 11
L11_1 = {}
L11_1.config_id = 645014
L11_1.monster_id = 21010101
L12_1 = {}
L12_1.x = -2350.547
L12_1.y = 231.357
L12_1.z = -4327.684
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 229.328
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 26
L11_1.drop_id = 1000100
L11_1.disableWander = true
L12_1 = {}
L13_1 = 1038
L12_1[1] = L13_1
L11_1.affix = L12_1
L11_1.area_id = 11
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
L1_1[9] = L10_1
L1_1[10] = L11_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 645005
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 20
L3_1 = {}
L3_1.x = -2344.503
L3_1.y = 230.854
L3_1.z = -4324.245
L2_1.pos = L3_1
L2_1.area_id = 11
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1645003
L2_1.name = "ANY_MONSTER_DIE_645003"
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_645003"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_645003"
L3_1 = {}
L3_1.config_id = 1645004
L3_1.name = "QUEST_START_645004"
L4_1 = EventType
L4_1 = L4_1.EVENT_QUEST_START
L3_1.event = L4_1
L3_1.source = "4002008"
L3_1.condition = ""
L3_1.action = "action_EVENT_QUEST_START_645004"
L4_1 = {}
L4_1.config_id = 1645005
L4_1.name = "ENTER_REGION_645005"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_645005"
L4_1.action = "action_EVENT_ENTER_REGION_645005"
L5_1 = {}
L5_1.config_id = 1645006
L5_1.name = "ANY_MONSTER_DIE_645006"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_645006"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_645006"
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 = 2
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 645001
L5_1 = 645007
L6_1 = 645008
L7_1 = 645009
L8_1 = 645014
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
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 645005
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_645005"
L5_1 = "ANY_MONSTER_DIE_645006"
L3_1[1] = L4_1
L3_1[2] = L5_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 = {}
L5_1 = "QUEST_START_645004"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 645002
L7_1 = 645010
L8_1 = 645011
L9_1 = 645012
L10_1 = 645013
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_645003"
L5_1[1] = L6_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 = 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_645003 = 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 = "13322064502"
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_645003 = 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 = 133220645
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_START_645004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 645005 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_645005 = 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 = "13322064501"
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_ENTER_REGION_645005 = 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_645006 = 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 = 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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133220645
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_ANY_MONSTER_DIE_645006 = L1_1