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

652 lines
12 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 = 133102550
L1_1 = {}
L2_1 = {}
L2_1.config_id = 550001
L2_1.monster_id = 21020201
L3_1 = {}
L3_1.x = 1313.681
L3_1.y = 200.772
L3_1.z = 502.242
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 343.84
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L2_1.disableWander = true
L2_1.pose_id = 401
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 550002
L3_1.monster_id = 21010101
L4_1 = {}
L4_1.x = 1323.754
L4_1.y = 200.475
L4_1.z = 523.914
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 184.332
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.disableWander = true
L3_1.pose_id = 9011
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 550003
L4_1.monster_id = 21011001
L5_1 = {}
L5_1.x = 1300.335
L5_1.y = 205.085
L5_1.z = 504.216
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 73.387
L5_1.z = 0.0
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.area_id = 5
L5_1 = {}
L5_1.config_id = 550004
L5_1.monster_id = 21020101
L6_1 = {}
L6_1.x = 1310.333
L6_1.y = 201.039
L6_1.z = 482.619
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 16.124
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 550005
L6_1.monster_id = 21010601
L7_1 = {}
L7_1.x = 1308.584
L7_1.y = 200.888
L7_1.z = 482.873
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 39.284
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 = 5
L7_1 = {}
L7_1.config_id = 550006
L7_1.monster_id = 21010601
L8_1 = {}
L8_1.x = 1312.042
L8_1.y = 201.204
L8_1.z = 484.049
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 354.816
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 = 5
L8_1 = {}
L8_1.config_id = 550018
L8_1.monster_id = 21010101
L9_1 = {}
L9_1.x = 1303.25
L9_1.y = 200.484
L9_1.z = 524.038
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 293.024
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.disableWander = true
L8_1.pose_id = 9011
L8_1.area_id = 5
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 550007
L2_1.gadget_id = 70300078
L3_1 = {}
L3_1.x = 1300.345
L3_1.y = 200.423
L3_1.z = 512.493
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 1.01
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 550008
L3_1.gadget_id = 70300090
L4_1 = {}
L4_1.x = 1300.161
L4_1.y = 199.646
L4_1.z = 504.115
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 550009
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = 1300.383
L5_1.y = 199.994
L5_1.z = 524.723
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 1.01
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 550010
L5_1.gadget_id = 70300101
L6_1 = {}
L6_1.x = 1322.009
L6_1.y = 200.038
L6_1.z = 521.712
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 1.01
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 550011
L6_1.gadget_id = 70300086
L7_1 = {}
L7_1.x = 1291.917
L7_1.y = 199.501
L7_1.z = 524.624
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 285.436
L7_1.y = 305.311
L7_1.z = 336.718
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 550012
L7_1.gadget_id = 70300086
L8_1 = {}
L8_1.x = 1322.06
L8_1.y = 200.209
L8_1.z = 521.739
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 1.01
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 550013
L8_1.gadget_id = 70300083
L9_1 = {}
L9_1.x = 1316.108
L9_1.y = 201.646
L9_1.z = 493.055
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 5.603
L9_1.y = 359.646
L9_1.z = 12.727
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 5
L9_1 = {}
L9_1.config_id = 550014
L9_1.gadget_id = 70300083
L10_1 = {}
L10_1.x = 1304.476
L10_1.y = 199.973
L10_1.z = 494.42
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 359.512
L10_1.y = 202.89
L10_1.z = 358.322
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 5
L10_1 = {}
L10_1.config_id = 550015
L10_1.gadget_id = 70300083
L11_1 = {}
L11_1.x = 1329.132
L11_1.y = 200.45
L11_1.z = 539.243
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 1.541
L11_1.y = 25.125
L11_1.z = 3.131
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 5
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1550016
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_550016"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "550009"
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_550016"
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_550016"
L3_1 = {}
L3_1.config_id = 1550017
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_550017"
L4_1 = EventType
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L3_1.event = L4_1
L3_1.source = "550010"
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_550017"
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_550017"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "ison"
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 = true
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 550001
L5_1 = 550002
L6_1 = 550003
L7_1 = 550018
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 550007
L5_1 = 550008
L6_1 = 550009
L7_1 = 550010
L8_1 = 550011
L9_1 = 550012
L10_1 = 550013
L11_1 = 550014
L12_1 = 550015
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
L3_1[9] = L12_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "SPECIFIC_GADGET_HP_CHANGE_550016"
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_550017"
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, L4_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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "ison"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_550016 = 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 = 1321
L2_2.y = 200
L2_2.z = 522
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 = 1321
L3_2.y = 200
L3_2.z = 522
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 = 550004
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 = 550005
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 = 550006
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.SetGroupVariableValue
L5_2 = A0_2
L6_2 = "ison"
L7_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_groupVariable"
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_550016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "ison"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_550017 = 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 = 1321
L2_2.y = 200
L2_2.z = 522
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 = 1321
L3_2.y = 200
L3_2.z = 522
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 = 550004
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 = 550005
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 = 550006
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.SetGroupVariableValue
L5_2 = A0_2
L6_2 = "ison"
L7_2 = 1
L4_2 = L4_2(L5_2, L6_2, L7_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_groupVariable"
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_550017 = L1_1