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

630 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 = 133001291
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1245
L2_1.monster_id = 21020201
L3_1 = {}
L3_1.x = 1551.991
L3_1.y = 291.054
L3_1.z = -1174.109
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 136.684
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 = 2
L3_1 = {}
L3_1.config_id = 1282
L3_1.monster_id = 21010101
L4_1 = {}
L4_1.x = 1556.594
L4_1.y = 291.44
L4_1.z = -1183.913
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 193.581
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.area_id = 2
L4_1 = {}
L4_1.config_id = 1287
L4_1.monster_id = 21020101
L5_1 = {}
L5_1.x = 1538.185
L5_1.y = 292.418
L5_1.z = -1189.965
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 51.823
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L4_1.area_id = 2
L5_1 = {}
L5_1.config_id = 1288
L5_1.monster_id = 21010601
L6_1 = {}
L6_1.x = 1538.314
L6_1.y = 292.817
L6_1.z = -1193.28
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 71.612
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.area_id = 2
L6_1 = {}
L6_1.config_id = 1289
L6_1.monster_id = 21010601
L7_1 = {}
L7_1.x = 1535.415
L7_1.y = 292.606
L7_1.z = -1190.471
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 47.17
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 = 2
L7_1 = {}
L7_1.config_id = 1290
L7_1.monster_id = 21010901
L8_1 = {}
L8_1.x = 1558.249
L8_1.y = 297.966
L8_1.z = -1167.33
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 179.931
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L7_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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3191
L2_1.gadget_id = 70300078
L3_1 = {}
L3_1.x = 1550.69
L3_1.y = 291.343
L3_1.z = -1172.304
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 6.895
L3_1.y = 56.155
L3_1.z = 351.177
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 2
L3_1 = {}
L3_1.config_id = 3192
L3_1.gadget_id = 70300090
L4_1 = {}
L4_1.x = 1557.998
L4_1.y = 292.282
L4_1.z = -1167.167
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 57.878
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 2
L4_1 = {}
L4_1.config_id = 3197
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = 1557.331
L5_1.y = 291.103
L5_1.z = -1186.339
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 2
L5_1 = {}
L5_1.config_id = 3198
L5_1.gadget_id = 70300101
L6_1 = {}
L6_1.x = 1543.954
L6_1.y = 291.806
L6_1.z = -1176.318
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 2
L6_1 = {}
L6_1.config_id = 3199
L6_1.gadget_id = 70300086
L7_1 = {}
L7_1.x = 1561.24
L7_1.y = 293.115
L7_1.z = -1189.85
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 356.217
L7_1.y = 352.788
L7_1.z = 90.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 2
L7_1 = {}
L7_1.config_id = 3200
L7_1.gadget_id = 70300086
L8_1 = {}
L8_1.x = 1544.283
L8_1.y = 292.566
L8_1.z = -1175.72
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 343.59
L8_1.y = 336.243
L8_1.z = 82.065
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 2
L8_1 = {}
L8_1.config_id = 3201
L8_1.gadget_id = 70300084
L9_1 = {}
L9_1.x = 1567.677
L9_1.y = 290.353
L9_1.z = -1179.973
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 5.406
L9_1.y = 5.891
L9_1.z = 358.376
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 2
L9_1 = {}
L9_1.config_id = 3202
L9_1.gadget_id = 70300084
L10_1 = {}
L10_1.x = 1562.416
L10_1.y = 290.033
L10_1.z = -1171.729
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 284.615
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000497
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_497"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "3197"
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_497"
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_497"
L3_1 = {}
L3_1.config_id = 1000498
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_498"
L4_1 = EventType
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L3_1.event = L4_1
L3_1.source = "3198"
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_498"
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_498"
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 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 3203
L3_1.gadget_id = 70300084
L4_1 = {}
L4_1.x = 1547.08
L4_1.y = 293.113
L4_1.z = -1193.479
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 118.245
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 2
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = 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 = 1245
L5_1 = 1282
L6_1 = 1290
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 3191
L5_1 = 3192
L6_1 = 3197
L7_1 = 3198
L8_1 = 3199
L9_1 = 3200
L10_1 = 3201
L11_1 = 3202
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_497"
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_498"
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_497 = 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 = 1550
L2_2.y = 292
L2_2.z = -1179
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 = 1550
L3_2.y = 292
L3_2.z = -1179
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 = 1287
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 = 1289
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 = 1288
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_497 = 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_498 = 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 = 1542
L2_2.y = 292
L2_2.z = -1173
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 = 1542
L3_2.y = 292
L3_2.z = -1173
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 = 1287
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 = 1289
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 = 1288
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_498 = L1_1