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

753 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, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1
L0_1 = {}
L0_1.group_id = 220032002
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2007
L2_1.monster_id = 22010201
L3_1 = {}
L3_1.x = 401.838
L3_1.y = -23.894
L3_1.z = 131.946
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 357.945
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.disableWander = true
L3_1 = {}
L3_1.config_id = 2008
L3_1.monster_id = 21010401
L4_1 = {}
L4_1.x = 405.219
L4_1.y = -24.05
L4_1.z = 131.139
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 332.966
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L4_1 = {}
L4_1.config_id = 2013
L4_1.monster_id = 21010201
L5_1 = {}
L5_1.x = 404.734
L5_1.y = -24.146
L5_1.z = 135.378
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 341.104
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.pose_id = 9010
L5_1 = {}
L5_1.config_id = 2014
L5_1.monster_id = 21010201
L6_1 = {}
L6_1.x = 399.446
L6_1.y = -24.15
L6_1.z = 135.26
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 22.592
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.pose_id = 9010
L6_1 = {}
L6_1.config_id = 2015
L6_1.monster_id = 21010401
L7_1 = {}
L7_1.x = 398.646
L7_1.y = -24.05
L7_1.z = 130.722
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 21.797
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.disableWander = true
L7_1 = {}
L7_1.config_id = 2030
L7_1.monster_id = 20011001
L8_1 = {}
L8_1.x = 398.247
L8_1.y = -24.16
L8_1.z = 126.27
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 = 1
L7_1.disableWander = true
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 = 2002
L2_1.gadget_id = 70310001
L3_1 = {}
L3_1.x = 396.612
L3_1.y = -23.887
L3_1.z = 133.148
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 2004
L3_1.gadget_id = 70350002
L4_1 = {}
L4_1.x = 415.896
L4_1.y = -24.16
L4_1.z = 120.869
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 90.192
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 2006
L4_1.gadget_id = 70900202
L5_1 = {}
L5_1.x = 448.424
L5_1.y = -7.692
L5_1.z = 130.524
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
L5_1 = {}
L5_1.config_id = 2009
L5_1.gadget_id = 70310001
L6_1 = {}
L6_1.x = 407.313
L6_1.y = -23.871
L6_1.z = 133.21
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
L6_1 = {}
L6_1.config_id = 2010
L6_1.gadget_id = 70310004
L7_1 = {}
L7_1.x = 403.283
L7_1.y = -24.05
L7_1.z = 122.262
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 2011
L7_1.gadget_id = 70220013
L8_1 = {}
L8_1.x = 413.245
L8_1.y = -23.933
L8_1.z = 110.275
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 325.719
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 2012
L8_1.gadget_id = 70220014
L9_1 = {}
L9_1.x = 396.953
L9_1.y = -24.139
L9_1.z = 109.582
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 2016
L9_1.gadget_id = 70220014
L10_1 = {}
L10_1.x = 396.26
L10_1.y = -23.791
L10_1.z = 108.815
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 271.282
L10_1.y = 117.569
L10_1.z = 26.342
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 2017
L10_1.gadget_id = 70220013
L11_1 = {}
L11_1.x = 398.679
L11_1.y = -24.023
L11_1.z = 109.483
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 299.373
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 2018
L11_1.gadget_id = 70220026
L12_1 = {}
L12_1.x = 411.821
L12_1.y = -23.933
L12_1.z = 109.533
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 2019
L12_1.gadget_id = 70211101
L13_1 = {}
L13_1.x = 404.97
L13_1.y = -23.434
L13_1.z = 143.808
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 225.121
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 6
L12_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\232\146\153\229\190\183"
L12_1.isOneoff = true
L13_1 = {}
L13_1.config_id = 2020
L13_1.gadget_id = 70220025
L14_1 = {}
L14_1.x = 396.525
L14_1.y = -23.977
L14_1.z = 109.904
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 271.276
L14_1.y = 284.403
L14_1.z = 255.601
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 2021
L14_1.gadget_id = 70220025
L15_1 = {}
L15_1.x = 398.309
L15_1.y = -23.871
L15_1.z = 110.226
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 271.276
L15_1.y = 284.403
L15_1.z = 255.601
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 2022
L15_1.gadget_id = 70310001
L16_1 = {}
L16_1.x = 414.043
L16_1.y = -22.069
L16_1.z = 114.938
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 2023
L16_1.gadget_id = 70310001
L17_1 = {}
L17_1.x = 414.102
L17_1.y = -22.07
L17_1.z = 126.871
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 2024
L17_1.gadget_id = 70220025
L18_1 = {}
L18_1.x = 389.153
L18_1.y = -23.907
L18_1.z = 118.421
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 271.274
L18_1.y = 284.403
L18_1.z = 255.601
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 2025
L18_1.gadget_id = 70220025
L19_1 = {}
L19_1.x = 389.252
L19_1.y = -23.968
L19_1.z = 120.144
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 271.274
L19_1.y = 284.403
L19_1.z = 255.601
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 2026
L19_1.gadget_id = 70220025
L20_1 = {}
L20_1.x = 389.298
L20_1.y = -23.936
L20_1.z = 121.623
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 271.274
L20_1.y = 284.403
L20_1.z = 255.601
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 2028
L20_1.gadget_id = 70220025
L21_1 = {}
L21_1.x = 399.695
L21_1.y = -23.375
L21_1.z = 144.402
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 271.276
L21_1.y = 284.403
L21_1.z = 255.601
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 2029
L21_1.gadget_id = 70220013
L22_1 = {}
L22_1.x = 389.046
L22_1.y = -23.988
L22_1.z = 120.568
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
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
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2003
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 8.0
L3_1.y = 10.0
L3_1.z = 5.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = 406.284
L3_1.y = -22.054
L3_1.z = 106.85
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1002001
L2_1.name = "ANY_MONSTER_DIE_2001"
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_2001"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_2001"
L3_1 = {}
L3_1.config_id = 1002003
L3_1.name = "ENTER_REGION_2003"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_2003"
L3_1.action = "action_EVENT_ENTER_REGION_2003"
L4_1 = {}
L4_1.config_id = 1002005
L4_1.name = "ANY_MONSTER_DIE_2005"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = ""
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_2005"
L5_1 = {}
L5_1.config_id = 1002027
L5_1.name = "QUEST_FINISH_2027"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_FINISH
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_QUEST_FINISH_2027"
L5_1.action = "action_EVENT_QUEST_FINISH_2027"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_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 = 2007
L5_1 = 2008
L6_1 = 2013
L7_1 = 2014
L8_1 = 2015
L9_1 = 2030
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
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 2002
L5_1 = 2004
L6_1 = 2009
L7_1 = 2010
L8_1 = 2011
L9_1 = 2012
L10_1 = 2016
L11_1 = 2017
L12_1 = 2018
L13_1 = 2019
L14_1 = 2020
L15_1 = 2021
L16_1 = 2022
L17_1 = 2023
L18_1 = 2024
L19_1 = 2025
L20_1 = 2026
L21_1 = 2028
L22_1 = 2029
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
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 2003
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_2001"
L5_1 = "ENTER_REGION_2003"
L6_1 = "ANY_MONSTER_DIE_2005"
L7_1 = "QUEST_FINISH_2027"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_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
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_2001 = 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 = "200322001"
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_ANY_MONSTER_DIE_2001 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 2003 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_2003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "200322003"
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 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 220032001
L5_2 = {}
L4_2.monsters = L5_2
L5_2 = {}
L6_2 = 1017
L5_2[1] = L6_2
L4_2.gadgets = L5_2
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 : kill_monsters_and_gadgets_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2022
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2023
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_2003 = 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 = "200322003"
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_ANY_MONSTER_DIE_2005 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1011111 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_2027 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 2004
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2006
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 : dungeon_settle"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_2027 = L1_1