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

551 lines
10 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 = 133104406
L1_1 = {}
L2_1 = {}
L2_1.config_id = 406001
L2_1.monster_id = 21010501
L3_1 = {}
L3_1.x = 663.447
L3_1.y = 201.014
L3_1.z = 461.9
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 357.481
L3_1.y = 63.996
L3_1.z = 0.939
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L2_1.disableWander = true
L2_1.pose_id = 9013
L2_1.area_id = 9
L3_1 = {}
L3_1.config_id = 406002
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = 659.337
L4_1.y = 201.233
L4_1.z = 466.538
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 355.776
L4_1.y = 34.773
L4_1.z = 358.867
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L3_1.disableWander = true
L3_1.pose_id = 9013
L3_1.area_id = 9
L4_1 = {}
L4_1.config_id = 406003
L4_1.monster_id = 21010501
L5_1 = {}
L5_1.x = 662.279
L5_1.y = 204.029
L5_1.z = 480.268
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 356.92
L5_1.y = 289.571
L5_1.z = 0.956
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L4_1.disableWander = true
L4_1.pose_id = 9013
L4_1.area_id = 9
L5_1 = {}
L5_1.config_id = 406004
L5_1.monster_id = 21010301
L6_1 = {}
L6_1.x = 654.681
L6_1.y = 201.664
L6_1.z = 455.966
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 358.282
L6_1.y = 143.163
L6_1.z = 356.738
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.pose_id = 9013
L5_1.area_id = 9
L6_1 = {}
L6_1.config_id = 406005
L6_1.monster_id = 21010301
L7_1 = {}
L7_1.x = 659.834
L7_1.y = 201.361
L7_1.z = 457.559
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 356.882
L7_1.y = 147.851
L7_1.z = 358.033
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.disableWander = true
L6_1.pose_id = 9013
L6_1.area_id = 9
L7_1 = {}
L7_1.config_id = 406006
L7_1.monster_id = 21010601
L8_1 = {}
L8_1.x = 687.721
L8_1.y = 200.926
L8_1.z = 458.06
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 10.692
L8_1.y = 294.215
L8_1.z = 359.958
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 = 9
L8_1 = {}
L8_1.config_id = 406007
L8_1.monster_id = 21010601
L9_1 = {}
L9_1.x = 687.115
L9_1.y = 201.033
L9_1.z = 462.662
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 2.375
L9_1.y = 242.199
L9_1.z = 358.749
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 = 9
L9_1 = {}
L9_1.config_id = 406008
L9_1.monster_id = 21020101
L10_1 = {}
L10_1.x = 683.141
L10_1.y = 200.642
L10_1.z = 459.924
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 353.53
L10_1.y = 268.413
L10_1.z = 357.949
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 = 9
L10_1 = {}
L10_1.config_id = 406019
L10_1.monster_id = 21011001
L11_1 = {}
L11_1.x = 673.438
L11_1.y = 210.704
L11_1.z = 481.794
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 6.103
L11_1.y = 207.853
L11_1.z = 1.23
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L10_1.disableWander = true
L10_1.pose_id = 9013
L10_1.area_id = 9
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 = 406009
L2_1.gadget_id = 70300077
L3_1 = {}
L3_1.x = 652.265
L3_1.y = 205.001
L3_1.z = 478.463
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 6.227
L3_1.y = 72.414
L3_1.z = 358.971
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 9
L3_1 = {}
L3_1.config_id = 406010
L3_1.gadget_id = 70220013
L4_1 = {}
L4_1.x = 652.406
L4_1.y = 204.976
L4_1.z = 478.773
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 357.46
L4_1.y = 328.169
L4_1.z = 354.221
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 9
L4_1 = {}
L4_1.config_id = 406011
L4_1.gadget_id = 70220013
L5_1 = {}
L5_1.x = 653.308
L5_1.y = 201.533
L5_1.z = 468.449
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 354.508
L5_1.y = 343.095
L5_1.z = 354.235
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 9
L5_1 = {}
L5_1.config_id = 406012
L5_1.gadget_id = 70300089
L6_1 = {}
L6_1.x = 656.482
L6_1.y = 201.943
L6_1.z = 453.724
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 1.491
L6_1.y = 99.791
L6_1.z = 356.628
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 9
L6_1 = {}
L6_1.config_id = 406013
L6_1.gadget_id = 70300089
L7_1 = {}
L7_1.x = 660.969
L7_1.y = 201.49
L7_1.z = 455.277
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 2.691
L7_1.y = 122.806
L7_1.z = 357.48
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 9
L7_1 = {}
L7_1.config_id = 406014
L7_1.gadget_id = 70300088
L8_1 = {}
L8_1.x = 667.005
L8_1.y = 201.241
L8_1.z = 464.623
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.327
L8_1.y = 153.788
L8_1.z = 357.252
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 9
L8_1 = {}
L8_1.config_id = 406015
L8_1.gadget_id = 70300088
L9_1 = {}
L9_1.x = 661.635
L9_1.y = 201.237
L9_1.z = 469.724
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 3.05
L9_1.y = 125.228
L9_1.z = 355.293
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 9
L9_1 = {}
L9_1.config_id = 406016
L9_1.gadget_id = 70300088
L10_1 = {}
L10_1.x = 658.663
L10_1.y = 204.228
L10_1.z = 480.838
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 353.37
L10_1.y = 9.535
L10_1.z = 356.06
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 9
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 = 1406017
L2_1.name = "ANY_MONSTER_DIE_406017"
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_406017"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_406017"
L3_1 = {}
L3_1.config_id = 1406018
L3_1.name = "ANY_MONSTER_LIVE_406018"
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_406018"
L3_1.action = "action_EVENT_ANY_MONSTER_LIVE_406018"
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 = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 406001
L5_1 = 406002
L6_1 = 406003
L7_1 = 406004
L8_1 = 406005
L9_1 = 406019
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 = 406009
L5_1 = 406010
L6_1 = 406011
L7_1 = 406012
L8_1 = 406013
L9_1 = 406014
L10_1 = 406015
L11_1 = 406016
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_406017"
L5_1 = "ANY_MONSTER_LIVE_406018"
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_406017 = 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 = {}
L2_2.x = 660
L2_2.y = 201
L2_2.z = 465
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 = 660
L3_2.y = 201
L3_2.z = 465
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 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 406007
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 406008
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 406006
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
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_406017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 406001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_406018 = 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 = 406008
L5_2 = 133104406
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 = 406006
L5_2 = 133104406
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 = 406007
L5_2 = 133104406
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_406018 = L1_1