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

690 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, L13_1
L0_1 = {}
L0_1.group_id = 133104408
L1_1 = {}
L2_1 = {}
L2_1.config_id = 408001
L2_1.monster_id = 21020201
L3_1 = {}
L3_1.x = 106.328
L3_1.y = 255.921
L3_1.z = 197.584
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 353.219
L3_1.y = 257.862
L3_1.z = 359.736
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 = 7
L3_1 = {}
L3_1.config_id = 408002
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = 97.108
L4_1.y = 255.747
L4_1.z = 205.418
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 5.582
L4_1.y = 119.113
L4_1.z = 356.134
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 = 9002
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 408003
L4_1.monster_id = 21011001
L5_1 = {}
L5_1.x = 105.927
L5_1.y = 261.245
L5_1.z = 188.136
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 358.588
L5_1.y = 359.013
L5_1.z = 359.972
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 = 7
L5_1 = {}
L5_1.config_id = 408004
L5_1.monster_id = 21020101
L6_1 = {}
L6_1.x = 112.821
L6_1.y = 252.717
L6_1.z = 214.572
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 341.3
L6_1.y = 221.026
L6_1.z = 20.228
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 = 408005
L6_1.monster_id = 21010601
L7_1 = {}
L7_1.x = 113.744
L7_1.y = 252.299
L7_1.z = 213.274
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 346.264
L7_1.y = 243.557
L7_1.z = 356.088
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 = 408006
L7_1.monster_id = 21010601
L8_1 = {}
L8_1.x = 111.734
L8_1.y = 253.215
L8_1.z = 215.336
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 350.853
L8_1.y = 204.1
L8_1.z = 17.62
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 = 408019
L8_1.monster_id = 21010101
L9_1 = {}
L9_1.x = 95.378
L9_1.y = 256.141
L9_1.z = 192.724
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 354.01
L9_1.y = 200.688
L9_1.z = 3.197
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 = 7
L9_1 = {}
L9_1.config_id = 408020
L9_1.monster_id = 21010201
L10_1 = {}
L10_1.x = 109.933
L10_1.y = 256.014
L10_1.z = 195.701
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 358.177
L10_1.y = 119.033
L10_1.z = 5.115
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L9_1.disableWander = true
L9_1.pose_id = 9011
L9_1.area_id = 7
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 408007
L2_1.gadget_id = 70300078
L3_1 = {}
L3_1.x = 91.436
L3_1.y = 256.49
L3_1.z = 205.911
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 355.647
L3_1.y = 0.613
L3_1.z = 349.364
L2_1.rot = L3_1
L2_1.level = 1
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 408008
L3_1.gadget_id = 70300090
L4_1 = {}
L4_1.x = 105.994
L4_1.y = 255.751
L4_1.z = 188.353
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.865
L4_1.y = 1.414
L4_1.z = 1.117
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 408009
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = 112.881
L5_1.y = 255.538
L5_1.z = 195.097
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 2.647
L5_1.y = 359.666
L5_1.z = 353.749
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 408010
L5_1.gadget_id = 70300101
L6_1 = {}
L6_1.x = 94.378
L6_1.y = 256.036
L6_1.z = 189.245
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 4.464
L6_1.y = 0.084
L6_1.z = 2.682
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 408011
L6_1.gadget_id = 70300086
L7_1 = {}
L7_1.x = 108.854
L7_1.y = 254.046
L7_1.z = 206.232
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 6.199
L7_1.y = 359.442
L7_1.z = 355.498
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 9
L7_1 = {}
L7_1.config_id = 408012
L7_1.gadget_id = 70300086
L8_1 = {}
L8_1.x = 105.083
L8_1.y = 254.599
L8_1.z = 212.122
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 356.478
L8_1.y = 0.321
L8_1.z = 350.246
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 9
L8_1 = {}
L8_1.config_id = 408013
L8_1.gadget_id = 70300084
L9_1 = {}
L9_1.x = 112.545
L9_1.y = 255.93
L9_1.z = 188.567
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 2.141
L9_1.y = 53.257
L9_1.z = 2.865
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 408014
L9_1.gadget_id = 70300084
L10_1 = {}
L10_1.x = 112.686
L10_1.y = 254.466
L10_1.z = 203.147
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 6.239
L10_1.y = 322.014
L10_1.z = 350.703
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 9
L10_1 = {}
L10_1.config_id = 408015
L10_1.gadget_id = 70300084
L11_1 = {}
L11_1.x = 101.07
L11_1.y = 255.657
L11_1.z = 214.11
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 348.959
L11_1.y = 260.499
L11_1.z = 8.892
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 7
L11_1 = {}
L11_1.config_id = 408018
L11_1.gadget_id = 70300084
L12_1 = {}
L12_1.x = 84.3
L12_1.y = 257.896
L12_1.z = 193.73
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 17.559
L12_1.y = 135.822
L12_1.z = 14.987
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 7
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1408016
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_408016"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "408009"
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_408016"
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_408016"
L3_1 = {}
L3_1.config_id = 1408017
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_408017"
L4_1 = EventType
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L3_1.event = L4_1
L3_1.source = "408010"
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_408017"
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_408017"
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 = 408001
L5_1 = 408002
L6_1 = 408003
L7_1 = 408019
L8_1 = 408020
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 = 408007
L5_1 = 408008
L6_1 = 408009
L7_1 = 408010
L8_1 = 408011
L9_1 = 408012
L10_1 = 408013
L11_1 = 408014
L12_1 = 408015
L13_1 = 408018
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
L3_1[10] = L13_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "SPECIFIC_GADGET_HP_CHANGE_408016"
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_408017"
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_408016 = 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 = 109
L2_2.y = 255
L2_2.z = 195
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 = 109
L3_2.y = 255
L3_2.z = 195
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 = 408004
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 = 408005
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 = 408006
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_408016 = 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_408017 = 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 = 109
L2_2.y = 255
L2_2.z = 195
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 = 109
L3_2.y = 255
L3_2.z = 195
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 = 408004
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 = 408005
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 = 408006
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_408017 = L1_1