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

719 lines
14 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
L0_1 = {}
L0_1.group_id = 133220169
L1_1 = {}
L2_1 = {}
L2_1.config_id = 169001
L2_1.monster_id = 25100201
L3_1 = {}
L3_1.x = -3879.111
L3_1.y = 218.085
L3_1.z = -3028.093
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 328.632
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 27
L2_1.drop_tag = "\233\171\152\233\152\182\230\173\166\229\163\171"
L2_1.disableWander = true
L3_1 = {}
L4_1 = 5110
L3_1[1] = L4_1
L2_1.affix = L3_1
L2_1.isOneoff = true
L2_1.pose_id = 1003
L2_1.title_id = 10015
L2_1.special_name_id = 10032
L2_1.area_id = 12
L1_1[1] = L2_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 169010
L2_1.gadget_id = 70300105
L3_1 = {}
L3_1.x = -3873.64
L3_1.y = 218.022
L3_1.z = -3029.661
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 222.701
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 27
L2_1.area_id = 12
L3_1 = {}
L3_1.config_id = 169011
L3_1.gadget_id = 70310006
L4_1 = {}
L4_1.x = -3874.278
L4_1.y = 217.889
L4_1.z = -3024.696
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 34.21
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 27
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 169012
L4_1.gadget_id = 70220015
L5_1 = {}
L5_1.x = -3874.231
L5_1.y = 217.98
L5_1.z = -3030.464
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 272.079
L5_1.y = 255.716
L5_1.z = 251.725
L4_1.rot = L5_1
L4_1.level = 27
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 169013
L5_1.gadget_id = 70220015
L6_1 = {}
L6_1.x = -3874.292
L6_1.y = 218.799
L6_1.z = -3030.48
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 272.077
L6_1.y = 255.715
L6_1.z = 240.232
L5_1.rot = L6_1
L5_1.level = 27
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 169014
L6_1.gadget_id = 70220051
L7_1 = {}
L7_1.x = -3878.417
L7_1.y = 218.104
L7_1.z = -3031.887
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 = 27
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 169015
L7_1.gadget_id = 70220051
L8_1 = {}
L8_1.x = -3878.037
L8_1.y = 218.279
L8_1.z = -3032.06
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 284.681
L8_1.y = 315.495
L8_1.z = 281.524
L7_1.rot = L8_1
L7_1.level = 27
L7_1.area_id = 12
L8_1 = {}
L8_1.config_id = 169016
L8_1.gadget_id = 70220050
L9_1 = {}
L9_1.x = -3869.964
L9_1.y = 217.665
L9_1.z = -3024.906
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 = 27
L8_1.area_id = 12
L9_1 = {}
L9_1.config_id = 169017
L9_1.gadget_id = 70220052
L10_1 = {}
L10_1.x = -3870.915
L10_1.y = 217.699
L10_1.z = -3024.387
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 114.057
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 27
L9_1.area_id = 12
L10_1 = {}
L10_1.config_id = 169018
L10_1.gadget_id = 70220052
L11_1 = {}
L11_1.x = -3870.15
L11_1.y = 217.614
L11_1.z = -3023.724
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 243.59
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 27
L10_1.area_id = 12
L11_1 = {}
L11_1.config_id = 169019
L11_1.gadget_id = 70211022
L12_1 = {}
L12_1.x = -3873.199
L12_1.y = 217.955
L12_1.z = -3028.016
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 286.747
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 26
L11_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\168\187\229\166\187"
L12_1 = GadgetState
L12_1 = L12_1.ChestLocked
L11_1.state = L12_1
L11_1.isOneoff = true
L11_1.persistent = true
L12_1 = {}
L12_1.name = "chest"
L12_1.exp = 1
L11_1.explore = L12_1
L11_1.area_id = 12
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 = {}
L2_1 = {}
L2_1.config_id = 169002
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 30
L3_1 = {}
L3_1.x = -3879.143
L3_1.y = 218.091
L3_1.z = -3029.255
L2_1.pos = L3_1
L2_1.area_id = 12
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1169002
L2_1.name = "ENTER_REGION_169002"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_169002"
L2_1.action = "action_EVENT_ENTER_REGION_169002"
L2_1.trigger_count = 0
L2_1.forbid_guest = false
L3_1 = {}
L3_1.config_id = 1169003
L3_1.name = "ANY_MONSTER_DIE_169003"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_169003"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_169003"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1169004
L4_1.name = "GROUP_LOAD_169004"
L5_1 = EventType
L5_1 = L5_1.EVENT_GROUP_LOAD
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GROUP_LOAD_169004"
L4_1.action = "action_EVENT_GROUP_LOAD_169004"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1169005
L5_1.name = "MONSTER_BATTLE_169005"
L6_1 = EventType
L6_1 = L6_1.EVENT_MONSTER_BATTLE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_MONSTER_BATTLE_169005"
L5_1.action = "action_EVENT_MONSTER_BATTLE_169005"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1169007
L6_1.name = "ANY_MONSTER_DIE_169007"
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_169007"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_169007"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1169008
L7_1.name = "QUEST_START_169008"
L8_1 = EventType
L8_1 = L8_1.EVENT_QUEST_START
L7_1.event = L8_1
L7_1.source = "7211014"
L7_1.condition = ""
L7_1.action = "action_EVENT_QUEST_START_169008"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1169009
L8_1.name = "GROUP_LOAD_169009"
L9_1 = EventType
L9_1 = L9_1.EVENT_GROUP_LOAD
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GROUP_LOAD_169009"
L8_1.action = "action_EVENT_GROUP_LOAD_169009"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1169020
L9_1.name = "ANY_MONSTER_DIE_169020"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_DIE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_DIE_169020"
L9_1.action = "action_EVENT_ANY_MONSTER_DIE_169020"
L9_1.trigger_count = 0
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "fin"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "rua"
L3_1.value = 0
L3_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 2
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 169001
L3_1[1] = L4_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 169010
L5_1 = 169011
L6_1 = 169012
L7_1 = 169013
L8_1 = 169014
L9_1 = 169015
L10_1 = 169016
L11_1 = 169017
L12_1 = 169018
L13_1 = 169019
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 = {}
L4_1 = 169002
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_169002"
L5_1 = "ANY_MONSTER_DIE_169003"
L6_1 = "GROUP_LOAD_169004"
L7_1 = "MONSTER_BATTLE_169005"
L8_1 = "ANY_MONSTER_DIE_169007"
L9_1 = "QUEST_START_169008"
L10_1 = "GROUP_LOAD_169009"
L11_1 = "ANY_MONSTER_DIE_169020"
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.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 169010
L6_1 = 169011
L7_1 = 169012
L8_1 = 169013
L9_1 = 169014
L10_1 = 169015
L11_1 = 169016
L12_1 = 169017
L13_1 = 169018
L14_1 = 169019
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
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GROUP_LOAD_169004"
L4_1[1] = L5_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, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 169002 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_169002 = 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 = "72110"
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_ENTER_REGION_169002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 169001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_169003 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "fin_7211005"
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "fin"
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 : set_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_169003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "fin"
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_GROUP_LOAD_169004 = 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 = "fin_7211005"
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_GROUP_LOAD_169004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 169001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "rua"
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_MONSTER_BATTLE_169005 = 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.ShowReminder
L3_2 = A0_2
L4_2 = -1074247186
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "rua"
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 : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_MONSTER_BATTLE_169005 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 169001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_169007 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = -1074247184
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 : active_reminder_ui"
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_169007 = 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.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133220169
L5_2 = 2
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 : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_169008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "rua"
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_GROUP_LOAD_169009 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "rua"
L5_2 = 0
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_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_169009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 169001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_169020 = 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 = 169019
L5_2 = GadgetState
L5_2 = L5_2.Default
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_ANY_MONSTER_DIE_169020 = L1_1