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

594 lines
11 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 = 133106307
L1_1 = {}
L2_1 = {}
L2_1.config_id = 307003
L2_1.monster_id = 21020301
L3_1 = {}
L3_1.x = -844.743
L3_1.y = 245.043
L3_1.z = 579.435
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 181.244
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 24
L2_1.drop_id = 1000100
L2_1.pose_id = 401
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 307004
L3_1.monster_id = 21030401
L4_1 = {}
L4_1.x = -863.721
L4_1.y = 243.736
L4_1.z = 570.594
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 102.675
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 24
L3_1.drop_id = 1000100
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 307005
L4_1.monster_id = 21010501
L5_1 = {}
L5_1.x = -862.798
L5_1.y = 244.214
L5_1.z = 565.866
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 69.505
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 24
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 32
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 307006
L5_1.monster_id = 21011001
L6_1 = {}
L6_1.x = -830.252
L6_1.y = 254.386
L6_1.z = 574.832
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 229.601
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 24
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.pose_id = 32
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 307010
L6_1.monster_id = 21011001
L7_1 = {}
L7_1.x = -832.858
L7_1.y = 255.008
L7_1.z = 581.767
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 247.273
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 24
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.pose_id = 32
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 307011
L7_1.monster_id = 21010501
L8_1 = {}
L8_1.x = -863.777
L8_1.y = 245.513
L8_1.z = 562.17
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 61.008
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 24
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.pose_id = 32
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 307012
L8_1.monster_id = 21011201
L9_1 = {}
L9_1.x = -843.107
L9_1.y = 244.784
L9_1.z = 572.194
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 155.317
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 24
L8_1.drop_id = 1000100
L8_1.pose_id = 9013
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 307015
L9_1.monster_id = 21020501
L10_1 = {}
L10_1.x = -844.034
L10_1.y = 242.712
L10_1.z = 559.101
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 325.53
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 18
L9_1.drop_id = 1000100
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 = 307001
L2_1.gadget_id = 70300083
L3_1 = {}
L3_1.x = -858.301
L3_1.y = 244.047
L3_1.z = 578.028
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 348.437
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 24
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 307002
L3_1.gadget_id = 70300083
L4_1 = {}
L4_1.x = -851.197
L4_1.y = 244.355
L4_1.z = 579.468
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 348.437
L4_1.z = 5.656
L3_1.rot = L4_1
L3_1.level = 24
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 307007
L4_1.gadget_id = 70220035
L5_1 = {}
L5_1.x = -830.983
L5_1.y = 254.62
L5_1.z = 576.706
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 243.826
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 24
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 307008
L5_1.gadget_id = 70300088
L6_1 = {}
L6_1.x = -864.918
L6_1.y = 243.668
L6_1.z = 569.017
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 = 24
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 307009
L6_1.gadget_id = 70300088
L7_1 = {}
L7_1.x = -825.552
L7_1.y = 254.89
L7_1.z = 580.438
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 132.897
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 24
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 307013
L7_1.gadget_id = 70300089
L8_1 = {}
L8_1.x = -842.037
L8_1.y = 244.705
L8_1.z = 569.781
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 24
L7_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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1307014
L2_1.name = "ANY_MONSTER_DIE_307014"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_307014"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_307014"
L3_1 = {}
L3_1.config_id = 1307017
L3_1.name = "ANY_GADGET_DIE_307017"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_307017"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_307017"
L4_1 = {}
L4_1.config_id = 1307018
L4_1.name = "ANY_GADGET_DIE_307018"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_GADGET_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_307018"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_307018"
L5_1 = {}
L5_1.config_id = 1307019
L5_1.name = "VARIABLE_CHANGE_307019"
L6_1 = EventType
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_307019"
L5_1.action = "action_EVENT_VARIABLE_CHANGE_307019"
L6_1 = {}
L6_1.config_id = 1307020
L6_1.name = "ANY_MONSTER_DIE_307020"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_307020"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_307020"
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "questNum"
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 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 307003
L6_1 = 307004
L7_1 = 307005
L8_1 = 307006
L9_1 = 307010
L10_1 = 307011
L11_1 = 307012
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 307001
L6_1 = 307002
L7_1 = 307007
L8_1 = 307008
L9_1 = 307009
L10_1 = 307013
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_307014"
L6_1 = "ANY_GADGET_DIE_307017"
L7_1 = "ANY_GADGET_DIE_307018"
L8_1 = "VARIABLE_CHANGE_307019"
L9_1 = "ANY_MONSTER_DIE_307020"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_307014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = {}
L2_2.x = -853
L2_2.y = 243
L2_2.z = 572
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 400004
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.x = -853
L3_2.y = 243
L3_2.z = 572
L4_2 = ScriptLib
L4_2 = L4_2.ScenePlaySound
L5_2 = A0_2
L6_2 = {}
L6_2.play_pos = L3_2
L6_2.sound_name = "LevelHornSound001"
L6_2.play_type = 1
L6_2.is_broadcast = false
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 : active_soundplay"
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 = 307015
L6_2.delay_time = 1
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 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_307014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 307001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_307017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "questNum"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_307017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 307002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_307018 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "questNum"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_307018 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "questNum"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_307019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1331063071"
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_307019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 307015 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_307020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "questNum"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_307020 = L1_1