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

449 lines
8.4 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 = 133001306
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1311
L2_1.monster_id = 21010201
L3_1 = {}
L3_1.x = 1881.463
L3_1.y = 195.773
L3_1.z = -1548.085
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 175.866
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L2_1.area_id = 2
L3_1 = {}
L3_1.config_id = 1312
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = 1876.071
L4_1.y = 195.972
L4_1.z = -1547.714
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 195.412
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L3_1.area_id = 2
L4_1 = {}
L4_1.config_id = 1313
L4_1.monster_id = 21020101
L5_1 = {}
L5_1.x = 1871.889
L5_1.y = 196.329
L5_1.z = -1546.561
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 198.959
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L4_1.disableWander = true
L4_1.area_id = 2
L5_1 = {}
L5_1.config_id = 1314
L5_1.monster_id = 21010201
L6_1 = {}
L6_1.x = 1872.01
L6_1.y = 196.591
L6_1.z = -1548.796
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 70.036
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.area_id = 2
L6_1 = {}
L6_1.config_id = 1315
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = 1880.95
L7_1.y = 195.849
L7_1.z = -1550.253
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 43.132
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.area_id = 2
L7_1 = {}
L7_1.config_id = 1316
L7_1.monster_id = 21010601
L8_1 = {}
L8_1.x = 1891.967
L8_1.y = 197.454
L8_1.z = -1533.523
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 203.061
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L7_1.area_id = 2
L8_1 = {}
L8_1.config_id = 1317
L8_1.monster_id = 21010601
L9_1 = {}
L9_1.x = 1893.873
L9_1.y = 197.651
L9_1.z = -1533.583
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 219.048
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L8_1.area_id = 2
L9_1 = {}
L9_1.config_id = 1318
L9_1.monster_id = 21020201
L10_1 = {}
L10_1.x = 1894.147
L10_1.y = 197.538
L10_1.z = -1536.272
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 230.028
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L9_1.area_id = 2
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 = 3238
L2_1.gadget_id = 70220013
L3_1 = {}
L3_1.x = 1883.948
L3_1.y = 195.764
L3_1.z = -1546.506
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 355.551
L3_1.y = 328.316
L3_1.z = 359.597
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 2
L3_1 = {}
L3_1.config_id = 3239
L3_1.gadget_id = 70220013
L4_1 = {}
L4_1.x = 1867.543
L4_1.y = 196.085
L4_1.z = -1542.016
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 5.57
L4_1.y = 343.044
L4_1.z = 2.96
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 2
L4_1 = {}
L4_1.config_id = 3241
L4_1.gadget_id = 70300100
L5_1 = {}
L5_1.x = 1874.828
L5_1.y = 196.11
L5_1.z = -1549.153
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 152.3
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 2
L5_1 = {}
L5_1.config_id = 3242
L5_1.gadget_id = 70300100
L6_1 = {}
L6_1.x = 1881.431
L6_1.y = 195.735
L6_1.z = -1549.558
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 122.9
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 2
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000467
L2_1.name = "ANY_MONSTER_DIE_467"
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_467"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_467"
L3_1 = {}
L3_1.config_id = 1000468
L3_1.name = "ANY_MONSTER_LIVE_468"
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_468"
L3_1.action = "action_EVENT_ANY_MONSTER_LIVE_468"
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 = 1311
L5_1 = 1312
L6_1 = 1313
L7_1 = 1314
L8_1 = 1315
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 = {}
L4_1 = 3238
L5_1 = 3239
L6_1 = 3241
L7_1 = 3242
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_467"
L5_1 = "ANY_MONSTER_LIVE_468"
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_467 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1317
L4_2.delay_time = 0
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 = 1318
L4_2.delay_time = 0
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 = 1316
L4_2.delay_time = 0
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 = 1868
L2_2.y = 196
L2_2.z = -1548
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 = {}
L3_2.x = 1868
L3_2.y = 196
L3_2.z = -1548
L4_2 = ScriptLib
L4_2 = L4_2.ShowReminderRadius
L5_2 = A0_2
L6_2 = 400004
L7_2 = L3_2
L8_2 = 50
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_467 = 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_468 = 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 = 1318
L5_2 = 133001306
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 = 1316
L5_2 = 133001306
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 = 1317
L5_2 = 133001306
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_468 = L1_1