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

634 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
L0_1 = {}
L0_1.group_id = 133102562
L1_1 = {}
L2_1 = {}
L2_1.config_id = 562001
L2_1.monster_id = 21020201
L3_1 = {}
L3_1.x = 1173.058
L3_1.y = 201.575
L3_1.z = 493.38
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 353.913
L3_1.y = 126.194
L3_1.z = 354.791
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 = 562002
L3_1.monster_id = 21010101
L4_1 = {}
L4_1.x = 1187.379
L4_1.y = 201.142
L4_1.z = 485.962
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 6.101
L4_1.y = 42.696
L4_1.z = 356.312
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 = 562003
L4_1.monster_id = 21010901
L5_1 = {}
L5_1.x = 1178.635
L5_1.y = 202.29
L5_1.z = 501.947
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 355.921
L5_1.y = 162.934
L5_1.z = 357.97
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 = 562004
L5_1.monster_id = 21020101
L6_1 = {}
L6_1.x = 1196.911
L6_1.y = 198.068
L6_1.z = 513.571
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 356.798
L6_1.y = 215.023
L6_1.z = 0.383
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 = 562005
L6_1.monster_id = 21010601
L7_1 = {}
L7_1.x = 1195.632
L7_1.y = 198.116
L7_1.z = 512.659
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.895
L7_1.y = 188.149
L7_1.z = -0.003
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 = 562006
L7_1.monster_id = 21010601
L8_1 = {}
L8_1.x = 1198.164
L8_1.y = 198.591
L8_1.z = 512.349
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 349.206
L8_1.y = 187.431
L8_1.z = 347.284
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 = 562008
L8_1.monster_id = 21010101
L9_1 = {}
L9_1.x = 1176.41
L9_1.y = 200.988
L9_1.z = 489.612
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 6.101
L9_1.y = 217.211
L9_1.z = 356.312
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 = 562007
L2_1.gadget_id = 70300078
L3_1 = {}
L3_1.x = 1206.817
L3_1.y = 200.271
L3_1.z = 497.132
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 352.938
L3_1.y = 261.931
L3_1.z = 7.242
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 562009
L3_1.gadget_id = 70300101
L4_1 = {}
L4_1.x = 1188.936
L4_1.y = 200.747
L4_1.z = 488.174
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.527
L4_1.y = 262.414
L4_1.z = 356.455
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 562010
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = 1174.897
L5_1.y = 200.603
L5_1.z = 487.2
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.34
L5_1.y = 262.72
L5_1.z = 2.662
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 562011
L5_1.gadget_id = 70300086
L6_1 = {}
L6_1.x = 1188.864
L6_1.y = 201.066
L6_1.z = 488.261
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 357.454
L6_1.y = 262.594
L6_1.z = 1.233
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 562012
L6_1.gadget_id = 70300086
L7_1 = {}
L7_1.x = 1176.503
L7_1.y = 200.651
L7_1.z = 484.306
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 51.838
L7_1.y = 316.533
L7_1.z = 63.441
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 562013
L7_1.gadget_id = 70300084
L8_1 = {}
L8_1.x = 1222.967
L8_1.y = 200.132
L8_1.z = 514.645
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.925
L8_1.y = 343.988
L8_1.z = 1.066
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 562014
L8_1.gadget_id = 70300084
L9_1 = {}
L9_1.x = 1165.31
L9_1.y = 200.565
L9_1.z = 488.01
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 358.786
L9_1.y = 175.166
L9_1.z = 355.453
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 5
L9_1 = {}
L9_1.config_id = 562015
L9_1.gadget_id = 70300084
L10_1 = {}
L10_1.x = 1179.07
L10_1.y = 200.372
L10_1.z = 479.694
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 2.854
L10_1.y = 86.031
L10_1.z = 356.807
L9_1.rot = L10_1
L9_1.level = 1
L9_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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1562016
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_562016"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "562009"
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_562016"
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_562016"
L3_1 = {}
L3_1.config_id = 1562017
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_562017"
L4_1 = EventType
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L3_1.event = L4_1
L3_1.source = "562010"
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_562017"
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_562017"
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 = 562001
L5_1 = 562002
L6_1 = 562003
L7_1 = 562008
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 = 562007
L5_1 = 562009
L6_1 = 562010
L7_1 = 562011
L8_1 = 562012
L9_1 = 562013
L10_1 = 562014
L11_1 = 562015
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 = "SPECIFIC_GADGET_HP_CHANGE_562016"
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_562017"
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_562016 = 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 = 1188
L2_2.y = 200
L2_2.z = 488
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 = 1188
L3_2.y = 200
L3_2.z = 488
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 = 562004
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 = 562005
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 = 562006
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_562016 = 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_562017 = 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 = 1194
L2_2.y = 200
L2_2.z = 497
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 = 1194
L3_2.y = 200
L3_2.z = 497
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 = 562004
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 = 562005
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 = 562006
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_562017 = L1_1