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

499 lines
8.7 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 = 250015022
L1_1 = {}
L2_1 = {}
L2_1.config_id = 22001
L2_1.monster_id = 21011201
L3_1 = {}
L3_1.x = -56.202
L3_1.y = 0.5
L3_1.z = 29.974
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 238.025
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.disableWander = true
L3_1 = {}
L3_1.config_id = 22002
L3_1.monster_id = 21011201
L4_1 = {}
L4_1.x = -56.415
L4_1.y = 0.5
L4_1.z = 25.236
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 331.53
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L4_1 = {}
L4_1.config_id = 22003
L4_1.monster_id = 21011201
L5_1 = {}
L5_1.x = -61.447
L5_1.y = 0.5
L5_1.z = 26.535
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 16.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.disableWander = true
L5_1 = {}
L5_1.config_id = 22004
L5_1.monster_id = 21011201
L6_1 = {}
L6_1.x = -62.223
L6_1.y = 0.5
L6_1.z = 29.833
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 85.824
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.disableWander = true
L6_1 = {}
L6_1.config_id = 22005
L6_1.monster_id = 20010601
L7_1 = {}
L7_1.x = -58.533
L7_1.y = 0.5
L7_1.z = 27.708
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 18.2
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 10
L6_1.disableWander = true
L7_1 = {}
L7_1.config_id = 22006
L7_1.monster_id = 20011401
L8_1 = {}
L8_1.x = -64.469
L8_1.y = 0.5
L8_1.z = 24.185
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 32.3
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 22007
L8_1.monster_id = 20011401
L9_1 = {}
L9_1.x = -65.426
L9_1.y = 0.5
L9_1.z = 29.109
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 113.656
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 22008
L9_1.monster_id = 21020301
L10_1 = {}
L10_1.x = -64.418
L10_1.y = 0.5
L10_1.z = 27.024
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 78.276
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 22019
L10_1.monster_id = 20011301
L11_1 = {}
L11_1.x = -52.067
L11_1.y = 0.5
L11_1.z = 22.669
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 18.2
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 10
L10_1.disableWander = true
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 22009
L2_1.gadget_id = 70300077
L3_1 = {}
L3_1.x = -53.647
L3_1.y = 0.5
L3_1.z = 33.335
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 72.7
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 22010
L3_1.gadget_id = 70220013
L4_1 = {}
L4_1.x = -53.447
L4_1.y = 0.5
L4_1.z = 33.635
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 328.3
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 22011
L4_1.gadget_id = 70220013
L5_1 = {}
L5_1.x = -63.447
L5_1.y = 0.5
L5_1.z = 33.635
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 342.9
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 22012
L5_1.gadget_id = 70300089
L6_1 = {}
L6_1.x = -62.947
L6_1.y = 0.5
L6_1.z = 23.435
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 99.9
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 22013
L6_1.gadget_id = 70300089
L7_1 = {}
L7_1.x = -55.947
L7_1.y = 0.5
L7_1.z = 21.835
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 122.9
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 22014
L7_1.gadget_id = 70300088
L8_1 = {}
L8_1.x = -55.947
L8_1.y = 0.5
L8_1.z = 33.335
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 359.5
L8_1.y = 97.2
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 22015
L8_1.gadget_id = 70300088
L9_1 = {}
L9_1.x = -60.247
L9_1.y = 0.5
L9_1.z = 32.835
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 100.6
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 22016
L9_1.gadget_id = 70300088
L10_1 = {}
L10_1.x = -65.847
L10_1.y = 0.5
L10_1.z = 32.935
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 61.7
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
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 = 1022017
L2_1.name = "ANY_MONSTER_DIE_22017"
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_22017"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_22017"
L3_1 = {}
L3_1.config_id = 1022018
L3_1.name = "ANY_MONSTER_LIVE_22018"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_LIVE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_22018"
L3_1.action = "action_EVENT_ANY_MONSTER_LIVE_22018"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = true
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 22001
L5_1 = 22002
L6_1 = 22003
L7_1 = 22004
L8_1 = 22005
L9_1 = 22019
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
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 22009
L5_1 = 22010
L6_1 = 22011
L7_1 = 22012
L8_1 = 22013
L9_1 = 22014
L10_1 = 22015
L11_1 = 22016
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_MONSTER_DIE_22017"
L5_1 = "ANY_MONSTER_LIVE_22018"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_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_22017 = 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.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 22007
L4_2.delay_time = 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 : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 22008
L4_2.delay_time = 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 : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 22006
L4_2.delay_time = 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 : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = 2510
L2_2.y = 194
L2_2.z = -1141
L3_2 = ScriptLib
L3_2 = L3_2.ScenePlaySound
L4_2 = A0_2
L5_2 = {}
L5_2.play_pos = L2_2
L5_2.sound_name = "LevelHornSound001"
L5_2.play_type = 1
L5_2.is_broadcast = false
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 : active_soundplay"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ANY_MONSTER_DIE_22017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1644 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_22018 = 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.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 22008
L5_2 = 250015022
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 : set_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 22006
L5_2 = 250015022
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 : set_monster_battle_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetMonsterBattleByGroup
L3_2 = A0_2
L4_2 = 22007
L5_2 = 250015022
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 : set_monster_battle_by_group"
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_22018 = L1_1