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

675 lines
13 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 = 133001308
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1328
L2_1.monster_id = 21010101
L3_1 = {}
L3_1.x = 1979.156
L3_1.y = 214.619
L3_1.z = -1465.992
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 241.31
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 = 1
L3_1 = {}
L3_1.config_id = 1330
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = 1987.103
L4_1.y = 220.147
L4_1.z = -1463.415
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 335.154
L4_1.z = 0.0
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 = 32
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 1331
L4_1.monster_id = 21010601
L5_1 = {}
L5_1.x = 1996.468
L5_1.y = 221.565
L5_1.z = -1490.072
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 54.149
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 1332
L5_1.monster_id = 21010501
L6_1 = {}
L6_1.x = 1987.281
L6_1.y = 226.635
L6_1.z = -1494.106
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 339.641
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.pose_id = 32
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 1333
L6_1.monster_id = 21020201
L7_1 = {}
L7_1.x = 1981.491
L7_1.y = 215.874
L7_1.z = -1477.03
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 5.114
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L6_1.pose_id = 401
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 1334
L7_1.monster_id = 21030301
L8_1 = {}
L8_1.x = 2000.262
L8_1.y = 221.371
L8_1.z = -1516.463
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 1335
L8_1.monster_id = 21010701
L9_1 = {}
L9_1.x = 1998.634
L9_1.y = 221.44
L9_1.z = -1512.466
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 = 1
L8_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L8_1.area_id = 1
L9_1 = {}
L9_1.config_id = 1336
L9_1.monster_id = 21010701
L10_1 = {}
L10_1.x = 2002.388
L10_1.y = 221.388
L10_1.z = -1509.412
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 = 1
L9_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L9_1.area_id = 1
L10_1 = {}
L10_1.config_id = 1337
L10_1.monster_id = 21020101
L11_1 = {}
L11_1.x = 1964.595
L11_1.y = 205.02
L11_1.z = -1430.147
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 133.715
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L10_1.area_id = 2
L11_1 = {}
L11_1.config_id = 1338
L11_1.monster_id = 21030101
L12_1 = {}
L12_1.x = 1960.254
L12_1.y = 203.837
L12_1.z = -1427.664
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 127.79
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L11_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
L1_1[9] = L10_1
L1_1[10] = L11_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3249
L2_1.gadget_id = 70300090
L3_1 = {}
L3_1.x = 1987.363
L3_1.y = 214.463
L3_1.z = -1464.125
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 338.552
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 3250
L3_1.gadget_id = 70300101
L4_1 = {}
L4_1.x = 1977.483
L4_1.y = 214.375
L4_1.z = -1468.094
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 336.478
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 3251
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = 1999.029
L5_1.y = 221.186
L5_1.z = -1490.033
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 336.478
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 3252
L5_1.gadget_id = 70300090
L6_1 = {}
L6_1.x = 1987.705
L6_1.y = 221.141
L6_1.z = -1495.167
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 337.385
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 3256
L6_1.gadget_id = 70310001
L7_1 = {}
L7_1.x = 2005.533
L7_1.y = 221.754
L7_1.z = -1484.209
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 3258
L7_1.gadget_id = 70310001
L8_1 = {}
L8_1.x = 1980.097
L8_1.y = 221.573
L8_1.z = -1494.821
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 316.473
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.area_id = 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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000473
L2_1.name = "GADGET_CREATE_473"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_473"
L2_1.action = "action_EVENT_GADGET_CREATE_473"
L3_1 = {}
L3_1.config_id = 1000474
L3_1.name = "GADGET_CREATE_474"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_474"
L3_1.action = "action_EVENT_GADGET_CREATE_474"
L4_1 = {}
L4_1.config_id = 1000475
L4_1.name = "SPECIFIC_GADGET_HP_CHANGE_475"
L5_1 = EventType
L5_1 = L5_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L4_1.event = L5_1
L4_1.source = "3250"
L4_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_475"
L4_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_475"
L5_1 = {}
L5_1.config_id = 1000476
L5_1.name = "SPECIFIC_GADGET_HP_CHANGE_476"
L6_1 = EventType
L6_1 = L6_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L5_1.event = L6_1
L5_1.source = "3251"
L5_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_476"
L5_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_476"
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 = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 1328
L5_1 = 1330
L6_1 = 1331
L7_1 = 1332
L8_1 = 1333
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 = 3249
L5_1 = 3250
L6_1 = 3251
L7_1 = 3252
L8_1 = 3256
L9_1 = 3258
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.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_473"
L5_1 = "GADGET_CREATE_474"
L6_1 = "SPECIFIC_GADGET_HP_CHANGE_475"
L7_1 = "SPECIFIC_GADGET_HP_CHANGE_476"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_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
L2_2 = A1_2.param1
if 3249 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_473 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1330
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_473 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 3252 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_474 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1332
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_474 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.type
L3_2 = EventType
L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
if L2_2 == L3_2 then
L2_2 = A1_2.param3
if not (50 < L2_2) then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 2 < L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_475 = 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 = 1976
L2_2.y = 245
L2_2.z = -1467
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 = 1976
L3_2.y = 245
L3_2.z = -1467
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 = 1337
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 = 1338
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_SPECIFIC_GADGET_HP_CHANGE_475 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.type
L3_2 = EventType
L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
if L2_2 == L3_2 then
L2_2 = A1_2.param3
if not (50 < L2_2) then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 2 < L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_476 = 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 = 1997
L2_2.y = 245
L2_2.z = -1490
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 = 1997
L3_2.y = 245
L3_2.z = -1490
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 = 1335
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 = 1336
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 = 1334
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_SPECIFIC_GADGET_HP_CHANGE_476 = L1_1