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

705 lines
14 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
L0_1 = {}
L0_1.group_id = 133004447
L1_1 = {}
L2_1 = {}
L2_1.config_id = 447001
L2_1.monster_id = 21030401
L3_1 = {}
L3_1.x = 2379.087
L3_1.y = 291.351
L3_1.z = -211.628
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 161.618
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 26
L2_1.drop_id = 1000100
L2_1.disableWander = true
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 447002
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = 2376.497
L4_1.y = 291.628
L4_1.z = -216.664
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 102.136
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_id = 1000100
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 447003
L4_1.monster_id = 21010501
L5_1 = {}
L5_1.x = 2384.235
L5_1.y = 292.686
L5_1.z = -216.487
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 223.799
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 26
L4_1.drop_id = 1000100
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 447004
L5_1.monster_id = 21010701
L6_1 = {}
L6_1.x = 2381.174
L6_1.y = 292.596
L6_1.z = -221.149
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 = 26
L5_1.drop_id = 1000100
L5_1.pose_id = 9013
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 447005
L6_1.monster_id = 21010601
L7_1 = {}
L7_1.x = 2380.225
L7_1.y = 292.047
L7_1.z = -215.426
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 166.796
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 26
L6_1.drop_id = 1000100
L6_1.pose_id = 32
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 447008
L7_1.monster_id = 21030401
L8_1 = {}
L8_1.x = 2379.087
L8_1.y = 291.351
L8_1.z = -211.628
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 161.618
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 26
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 447009
L8_1.monster_id = 21010501
L9_1 = {}
L9_1.x = 2376.497
L9_1.y = 291.628
L9_1.z = -216.664
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 102.136
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 26
L8_1.drop_id = 1000100
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 447010
L9_1.monster_id = 21010501
L10_1 = {}
L10_1.x = 2384.235
L10_1.y = 292.686
L10_1.z = -216.487
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 223.799
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 26
L9_1.drop_id = 1000100
L9_1.area_id = 3
L10_1 = {}
L10_1.config_id = 447011
L10_1.monster_id = 21010701
L11_1 = {}
L11_1.x = 2381.174
L11_1.y = 292.596
L11_1.z = -221.149
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.pose_id = 9013
L10_1.area_id = 3
L11_1 = {}
L11_1.config_id = 447012
L11_1.monster_id = 21010601
L12_1 = {}
L12_1.x = 2380.225
L12_1.y = 292.047
L12_1.z = -215.426
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 166.796
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 26
L11_1.drop_id = 1000100
L11_1.pose_id = 32
L11_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
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 = 447006
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 35
L3_1 = {}
L3_1.x = 2380.928
L3_1.y = 292.397
L3_1.z = -218.401
L2_1.pos = L3_1
L2_1.area_id = 3
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1447006
L2_1.name = "ENTER_REGION_447006"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_447006"
L2_1.action = "action_EVENT_ENTER_REGION_447006"
L3_1 = {}
L3_1.config_id = 1447007
L3_1.name = "QUEST_START_447007"
L4_1 = EventType
L4_1 = L4_1.EVENT_QUEST_START
L3_1.event = L4_1
L3_1.source = "1906508"
L3_1.condition = "condition_EVENT_QUEST_START_447007"
L3_1.action = "action_EVENT_QUEST_START_447007"
L4_1 = {}
L4_1.config_id = 1447013
L4_1.name = "ANY_MONSTER_DIE_447013"
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_447013"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_447013"
L5_1 = {}
L5_1.config_id = 1447014
L5_1.name = "ANY_MONSTER_DIE_447014"
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_447014"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_447014"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1447015
L6_1.name = "ANY_MONSTER_DIE_447015"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_447015"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_447015"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1447016
L7_1.name = "ANY_MONSTER_DIE_447016"
L8_1 = EventType
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_447016"
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_447016"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1447017
L8_1.name = "ANY_MONSTER_DIE_447017"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_MONSTER_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_447017"
L8_1.action = "action_EVENT_ANY_MONSTER_DIE_447017"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1447018
L9_1.name = "ANY_MONSTER_DIE_447018"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_DIE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_DIE_447018"
L9_1.action = "action_EVENT_ANY_MONSTER_DIE_447018"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1447019
L10_1.name = "ANY_MONSTER_DIE_447019"
L11_1 = EventType
L11_1 = L11_1.EVENT_ANY_MONSTER_DIE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ANY_MONSTER_DIE_447019"
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_447019"
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "prekill"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_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 = 447001
L5_1 = 447002
L6_1 = 447003
L7_1 = 447004
L8_1 = 447005
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 = 447006
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_447006"
L5_1 = "QUEST_START_447007"
L6_1 = "ANY_MONSTER_DIE_447013"
L7_1 = "ANY_MONSTER_DIE_447014"
L8_1 = "ANY_MONSTER_DIE_447015"
L9_1 = "ANY_MONSTER_DIE_447016"
L10_1 = "ANY_MONSTER_DIE_447017"
L11_1 = "ANY_MONSTER_DIE_447018"
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.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 447008
L6_1 = 447009
L7_1 = 447010
L8_1 = 447011
L9_1 = 447012
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
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_447019"
L4_1[1] = L5_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, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 447006 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_447006 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = 2380
L2_2.y = 292
L2_2.z = -218
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021115
L6_2 = L2_2
L7_2 = 90
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.AddQuestProgress
L4_2 = A0_2
L5_2 = "1330044471"
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : add_quest_progress"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_447006 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "prekill"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 5 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_START_447007 = 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 = 133004447
L4_2.suite = 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 : 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_447007 = 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_447013 = 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 = "1330044472"
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_447013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 447001 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_447014 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "prekill"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
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_447014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 447002 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_447015 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "prekill"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
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_447015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 447003 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_447016 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "prekill"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
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_447016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 447004 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_447017 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "prekill"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
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_447017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 447005 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_447018 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "prekill"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
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_447018 = 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_447019 = 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 = "1330044472"
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_447019 = L1_1