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

763 lines
15 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 = 133001567
L1_1 = {}
L2_1 = {}
L2_1.config_id = 567004
L2_1.monster_id = 20011501
L3_1 = {}
L3_1.x = 1752.021
L3_1.y = 237.882
L3_1.z = -1101.722
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = -0.006
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 26
L2_1.drop_id = 1000100
L3_1 = {}
L4_1 = 1104
L5_1 = 1105
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.affix = L3_1
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 567008
L3_1.monster_id = 20011401
L4_1 = {}
L4_1.x = 1755.232
L4_1.y = 237.745
L4_1.z = -1101.673
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = -0.006
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 1104
L6_1 = 1105
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.affix = L4_1
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 567009
L4_1.monster_id = 20011401
L5_1 = {}
L5_1.x = 1751.218
L5_1.y = 238.963
L5_1.z = -1098.33
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = -0.006
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 26
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 1104
L7_1 = 1105
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.affix = L5_1
L4_1.area_id = 3
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 567001
L2_1.gadget_id = 70710292
L3_1 = {}
L3_1.x = 1749.625
L3_1.y = 237.195
L3_1.z = -1103.766
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 349.047
L3_1.y = 292.46
L3_1.z = 22.757
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_id = 1050120
L2_1.drop_count = 1
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 567002
L3_1.gadget_id = 70710292
L4_1 = {}
L4_1.x = 1748.97
L4_1.y = 239.339
L4_1.z = -1098.304
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = -0.006
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1050120
L3_1.drop_count = 1
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 567003
L4_1.gadget_id = 70710292
L5_1 = {}
L5_1.x = 1756.058
L5_1.y = 237.385
L5_1.z = -1103.237
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 289.914
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1050120
L4_1.drop_count = 1
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 567005
L5_1.gadget_id = 70710292
L6_1 = {}
L6_1.x = 1749.625
L6_1.y = 237.195
L6_1.z = -1103.766
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 349.047
L6_1.y = 292.46
L6_1.z = 22.757
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1050120
L5_1.drop_count = 1
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 567006
L6_1.gadget_id = 70710292
L7_1 = {}
L7_1.x = 1748.97
L7_1.y = 239.339
L7_1.z = -1098.304
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = -0.006
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1050120
L6_1.drop_count = 1
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 567007
L7_1.gadget_id = 70710292
L8_1 = {}
L8_1.x = 1756.058
L8_1.y = 237.385
L8_1.z = -1103.237
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 289.914
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1050120
L7_1.drop_count = 1
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 567017
L8_1.gadget_id = 70300118
L9_1 = {}
L9_1.x = 1749.527
L9_1.y = 238.082
L9_1.z = -1103.969
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
L8_1.area_id = 3
L8_1.is_enable_interact = false
L9_1 = {}
L9_1.config_id = 567018
L9_1.gadget_id = 70300118
L10_1 = {}
L10_1.x = 1749.022
L10_1.y = 240.393
L10_1.z = -1098.181
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 3
L9_1.is_enable_interact = false
L10_1 = {}
L10_1.config_id = 567019
L10_1.gadget_id = 70300118
L11_1 = {}
L11_1.x = 1755.913
L11_1.y = 238.003
L11_1.z = -1103.387
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 3
L10_1.is_enable_interact = false
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 567011
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 24
L3_1 = {}
L3_1.x = 1753.823
L3_1.y = 237.93
L3_1.z = -1100.639
L2_1.pos = L3_1
L2_1.area_id = 3
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1567010
L2_1.name = "ANY_MONSTER_DIE_567010"
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_567010"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_567010"
L3_1 = {}
L3_1.config_id = 1567011
L3_1.name = "ENTER_REGION_567011"
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_567011"
L3_1.action = "action_EVENT_ENTER_REGION_567011"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1567012
L4_1.name = "VARIABLE_CHANGE_567012"
L5_1 = EventType
L5_1 = L5_1.EVENT_VARIABLE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_567012"
L4_1.action = "action_EVENT_VARIABLE_CHANGE_567012"
L5_1 = {}
L5_1.config_id = 1567013
L5_1.name = "QUEST_START_567013"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_START
L5_1.event = L6_1
L5_1.source = "1906602"
L5_1.condition = ""
L5_1.action = "action_EVENT_QUEST_START_567013"
L6_1 = {}
L6_1.config_id = 1567014
L6_1.name = "ANY_GADGET_DIE_567014"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_GADGET_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_GADGET_DIE_567014"
L6_1.action = "action_EVENT_ANY_GADGET_DIE_567014"
L7_1 = {}
L7_1.config_id = 1567015
L7_1.name = "ANY_GADGET_DIE_567015"
L8_1 = EventType
L8_1 = L8_1.EVENT_ANY_GADGET_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ANY_GADGET_DIE_567015"
L7_1.action = "action_EVENT_ANY_GADGET_DIE_567015"
L8_1 = {}
L8_1.config_id = 1567016
L8_1.name = "ANY_GADGET_DIE_567016"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_GADGET_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_GADGET_DIE_567016"
L8_1.action = "action_EVENT_ANY_GADGET_DIE_567016"
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "mine1"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 3
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 = {}
L4_1 = 567001
L5_1 = 567002
L6_1 = 567003
L7_1 = 567017
L8_1 = 567018
L9_1 = 567019
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.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "VARIABLE_CHANGE_567012"
L5_1 = "QUEST_START_567013"
L6_1 = "ANY_GADGET_DIE_567014"
L7_1 = "ANY_GADGET_DIE_567015"
L8_1 = "ANY_GADGET_DIE_567016"
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.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 567004
L6_1 = 567008
L7_1 = 567009
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_567010"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 567005
L7_1 = 567006
L8_1 = 567007
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 567011
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_567011"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_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_567010 = 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 = "1330015673"
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_567010 = 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 ~= 567011 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_567011 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133001567
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330015674"
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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133001567
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_567011 = 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 = "mine1"
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_567012 = 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 = 1724
L2_2.y = 233
L2_2.z = -1132
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021120
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 = 0
return L3_2
end
action_EVENT_VARIABLE_CHANGE_567012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133001567
L4_2.suite = 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 : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_567013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 567003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_567014 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "mine1"
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 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330015672"
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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133001567
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 567019
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : remove_gadget_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_GADGET_DIE_567014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 567002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_567015 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "mine1"
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 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330015672"
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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133001567
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 567018
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : remove_gadget_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_GADGET_DIE_567015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 567001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_567016 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "mine1"
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 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330015672"
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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133001567
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 567017
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : remove_gadget_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_GADGET_DIE_567016 = L1_1