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

651 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 = 133104409
L1_1 = {}
L2_1 = {}
L2_1.config_id = 409001
L2_1.monster_id = 21020201
L3_1 = {}
L3_1.x = 560.188
L3_1.y = 203.982
L3_1.z = 166.118
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 358.469
L3_1.y = 318.008
L3_1.z = 352.984
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 = 9
L3_1 = {}
L3_1.config_id = 409002
L3_1.monster_id = 21010101
L4_1 = {}
L4_1.x = 554.265
L4_1.y = 204.066
L4_1.z = 171.179
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 8.763
L4_1.y = 66.677
L4_1.z = 6.804
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 = 9
L4_1 = {}
L4_1.config_id = 409003
L4_1.monster_id = 21010901
L5_1 = {}
L5_1.x = 546.025
L5_1.y = 210.486
L5_1.z = 159.217
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.952
L5_1.y = 24.19
L5_1.z = 0.245
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.area_id = 9
L5_1 = {}
L5_1.config_id = 409004
L5_1.monster_id = 21020101
L6_1 = {}
L6_1.x = 575.119
L6_1.y = 200.387
L6_1.z = 148.338
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 350.727
L6_1.y = 300.598
L6_1.z = 1.725
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 = 9
L6_1 = {}
L6_1.config_id = 409005
L6_1.monster_id = 21010601
L7_1 = {}
L7_1.x = 575.621
L7_1.y = 200.393
L7_1.z = 150.33
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 359.291
L7_1.y = 307.662
L7_1.z = 359.453
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 = 9
L7_1 = {}
L7_1.config_id = 409006
L7_1.monster_id = 21010601
L8_1 = {}
L8_1.x = 573.785
L8_1.y = 200.387
L8_1.z = 147.394
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 298.308
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 = 9
L8_1 = {}
L8_1.config_id = 409018
L8_1.monster_id = 21010101
L9_1 = {}
L9_1.x = 558.343
L9_1.y = 203.879
L9_1.z = 156.15
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 356.613
L9_1.y = 166.711
L9_1.z = 5.468
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 = 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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 409007
L2_1.gadget_id = 70300078
L3_1 = {}
L3_1.x = 559.997
L3_1.y = 203.055
L3_1.z = 176.822
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 3.573
L3_1.y = 359.889
L3_1.z = 358.207
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 9
L3_1 = {}
L3_1.config_id = 409008
L3_1.gadget_id = 70300090
L4_1 = {}
L4_1.x = 545.851
L4_1.y = 204.994
L4_1.z = 159.215
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.161
L4_1.y = 359.41
L4_1.z = 0.512
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 9
L4_1 = {}
L4_1.config_id = 409009
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = 558.161
L5_1.y = 202.92
L5_1.z = 153.189
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 358.976
L5_1.y = 0.806
L5_1.z = 359.712
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 9
L5_1 = {}
L5_1.config_id = 409010
L5_1.gadget_id = 70300101
L6_1 = {}
L6_1.x = 556.878
L6_1.y = 202.957
L6_1.z = 173.12
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 359.726
L6_1.y = 359.818
L6_1.z = 357.246
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 9
L6_1 = {}
L6_1.config_id = 409011
L6_1.gadget_id = 70300086
L7_1 = {}
L7_1.x = 557.459
L7_1.y = 204.043
L7_1.z = 169.364
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 58.553
L7_1.y = 351.693
L7_1.z = 260.759
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 9
L7_1 = {}
L7_1.config_id = 409012
L7_1.gadget_id = 70300086
L8_1 = {}
L8_1.x = 558.3
L8_1.y = 203.315
L8_1.z = 153.113
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 359.588
L8_1.y = 1.177
L8_1.z = 2.412
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 9
L8_1 = {}
L8_1.config_id = 409013
L8_1.gadget_id = 70300084
L9_1 = {}
L9_1.x = 566.769
L9_1.y = 202.822
L9_1.z = 163.71
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 2.354
L9_1.y = 29.847
L9_1.z = 347.132
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 9
L9_1 = {}
L9_1.config_id = 409014
L9_1.gadget_id = 70300084
L10_1 = {}
L10_1.x = 542.788
L10_1.y = 203.119
L10_1.z = 175.86
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 354.493
L10_1.y = 219.7
L10_1.z = 348.637
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 9
L10_1 = {}
L10_1.config_id = 409015
L10_1.gadget_id = 70300084
L11_1 = {}
L11_1.x = 562.333
L11_1.y = 202.749
L11_1.z = 185.811
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 5.584
L11_1.y = 297.072
L11_1.z = 358.606
L10_1.rot = L11_1
L10_1.level = 1
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1409016
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_409016"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "409009"
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_409016"
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_409016"
L3_1 = {}
L3_1.config_id = 1409017
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_409017"
L4_1 = EventType
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L3_1.event = L4_1
L3_1.source = "409010"
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_409017"
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_409017"
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 = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 409001
L5_1 = 409002
L6_1 = 409003
L7_1 = 409018
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 = 409007
L5_1 = 409008
L6_1 = 409009
L7_1 = 409010
L8_1 = 409011
L9_1 = 409012
L10_1 = 409013
L11_1 = 409014
L12_1 = 409015
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_409016"
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_409017"
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_409016 = 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 = 559
L2_2.y = 203
L2_2.z = 173
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 = 559
L3_2.y = 203
L3_2.z = 173
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 = 409004
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 = 409005
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 = 409006
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_409016 = 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_409017 = 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 = 559
L2_2.y = 203
L2_2.z = 173
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 = 559
L3_2.y = 203
L3_2.z = 173
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 = 409004
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 = 409005
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 = 409006
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_409017 = L1_1