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

1283 lines
25 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
L0_1 = {}
L0_1.group_id = 133220078
L1_1 = {}
monsters = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 78005
L2_1.npc_id = 20318
L3_1 = {}
L3_1.x = -3260.629
L3_1.y = 211.868
L3_1.z = -4553.073
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.area_id = 11
L3_1 = {}
L3_1.config_id = 78006
L3_1.npc_id = 20319
L4_1 = {}
L4_1.x = -3378.505
L4_1.y = 231.087
L4_1.z = -4538.189
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 125.894
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 78013
L4_1.npc_id = 20302
L5_1 = {}
L5_1.x = -3368.815
L5_1.y = 229.141
L5_1.z = -4595.99
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.area_id = 11
L5_1 = {}
L5_1.config_id = 78020
L5_1.npc_id = 20419
L6_1 = {}
L6_1.x = -3378.505
L6_1.y = 231.087
L6_1.z = -4538.189
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 125.894
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 78021
L6_1.npc_id = 20420
L7_1 = {}
L7_1.x = -3368.815
L7_1.y = 229.141
L7_1.z = -4595.99
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.area_id = 11
L7_1 = {}
L7_1.config_id = 78023
L7_1.npc_id = 20421
L8_1 = {}
L8_1.x = -3260.629
L8_1.y = 211.868
L8_1.z = -4553.073
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.area_id = 11
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
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 78001
L2_1.gadget_id = 70710439
L3_1 = {}
L3_1.x = -3369.653
L3_1.y = 227.728
L3_1.z = -4597.222
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 25.954
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.isOneoff = true
L2_1.persistent = true
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 78002
L3_1.gadget_id = 70710439
L4_1 = {}
L4_1.x = -3259.693
L4_1.y = 210.806
L4_1.z = -4552.528
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 295.703
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 78003
L4_1.gadget_id = 70710439
L5_1 = {}
L5_1.x = -3379.333
L5_1.y = 230.113
L5_1.z = -4537.75
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 17.525
L5_1.y = 124.94
L5_1.z = 359.723
L4_1.rot = L5_1
L4_1.level = 1
L4_1.isOneoff = true
L4_1.persistent = true
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 78007
L5_1.gadget_id = 70360001
L6_1 = {}
L6_1.x = -3372.109
L6_1.y = 228.767
L6_1.z = -4601.403
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 2.256
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 27
L5_1.persistent = true
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 78009
L6_1.gadget_id = 70710433
L7_1 = {}
L7_1.x = -3372.003
L7_1.y = 229.236
L7_1.z = -4601.888
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 2.54
L7_1.y = 21.027
L7_1.z = 1.413
L6_1.rot = L7_1
L6_1.level = 27
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 78010
L7_1.gadget_id = 70710434
L8_1 = {}
L8_1.x = -3372.007
L8_1.y = 229.213
L8_1.z = -4601.907
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 359.867
L8_1.y = 22.539
L8_1.z = 0.252
L7_1.rot = L8_1
L7_1.level = 27
L7_1.persistent = true
L7_1.area_id = 11
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 = {}
L2_1 = {}
L2_1.config_id = 78008
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 20
L3_1 = {}
L3_1.x = -3270.532
L3_1.y = 210.375
L3_1.z = -4552.087
L2_1.pos = L3_1
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 78011
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 24
L4_1 = {}
L4_1.x = -3366.837
L4_1.y = 223.585
L4_1.z = -4582.023
L3_1.pos = L4_1
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 78012
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 23
L5_1 = {}
L5_1.x = -3375.413
L5_1.y = 226.825
L5_1.z = -4539.068
L4_1.pos = L5_1
L4_1.area_id = 11
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1078004
L2_1.name = "QUEST_FINISH_78004"
L3_1 = EventType
L3_1 = L3_1.EVENT_QUEST_FINISH
L2_1.event = L3_1
L2_1.source = "1200708"
L2_1.condition = ""
L2_1.action = "action_EVENT_QUEST_FINISH_78004"
L3_1 = {}
L3_1.config_id = 1078008
L3_1.name = "ENTER_REGION_78008"
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_78008"
L3_1.action = "action_EVENT_ENTER_REGION_78008"
L4_1 = {}
L4_1.config_id = 1078011
L4_1.name = "ENTER_REGION_78011"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_78011"
L4_1.action = "action_EVENT_ENTER_REGION_78011"
L5_1 = {}
L5_1.config_id = 1078012
L5_1.name = "ENTER_REGION_78012"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ENTER_REGION_78012"
L5_1.action = "action_EVENT_ENTER_REGION_78012"
L6_1 = {}
L6_1.config_id = 1078014
L6_1.name = "QUEST_FINISH_78014"
L7_1 = EventType
L7_1 = L7_1.EVENT_QUEST_FINISH
L6_1.event = L7_1
L6_1.source = "1200710"
L6_1.condition = ""
L6_1.action = "action_EVENT_QUEST_FINISH_78014"
L7_1 = {}
L7_1.config_id = 1078015
L7_1.name = "QUEST_FINISH_78015"
L8_1 = EventType
L8_1 = L8_1.EVENT_QUEST_FINISH
L7_1.event = L8_1
L7_1.source = "1200711"
L7_1.condition = ""
L7_1.action = "action_EVENT_QUEST_FINISH_78015"
L8_1 = {}
L8_1.config_id = 1078016
L8_1.name = "GADGET_CREATE_78016"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_CREATE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_CREATE_78016"
L8_1.action = "action_EVENT_GADGET_CREATE_78016"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1078017
L9_1.name = "SELECT_OPTION_78017"
L10_1 = EventType
L10_1 = L10_1.EVENT_SELECT_OPTION
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_SELECT_OPTION_78017"
L9_1.action = "action_EVENT_SELECT_OPTION_78017"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1078018
L10_1.name = "QUEST_FINISH_78018"
L11_1 = EventType
L11_1 = L11_1.EVENT_QUEST_FINISH
L10_1.event = L11_1
L10_1.source = "1200712"
L10_1.condition = ""
L10_1.action = "action_EVENT_QUEST_FINISH_78018"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1078019
L11_1.name = "QUEST_FINISH_78019"
L12_1 = EventType
L12_1 = L12_1.EVENT_QUEST_FINISH
L11_1.event = L12_1
L11_1.source = "1200705"
L11_1.condition = ""
L11_1.action = "action_EVENT_QUEST_FINISH_78019"
L12_1 = {}
L12_1.config_id = 1078022
L12_1.name = "GADGET_CREATE_78022"
L13_1 = EventType
L13_1 = L13_1.EVENT_GADGET_CREATE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_GADGET_CREATE_78022"
L12_1.action = "action_EVENT_GADGET_CREATE_78022"
L13_1 = {}
L13_1.config_id = 1078024
L13_1.name = "GADGET_CREATE_78024"
L14_1 = EventType
L14_1 = L14_1.EVENT_GADGET_CREATE
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_GADGET_CREATE_78024"
L13_1.action = "action_EVENT_GADGET_CREATE_78024"
L14_1 = {}
L14_1.config_id = 1078025
L14_1.name = "GADGET_CREATE_78025"
L15_1 = EventType
L15_1 = L15_1.EVENT_GADGET_CREATE
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_GADGET_CREATE_78025"
L14_1.action = "action_EVENT_GADGET_CREATE_78025"
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "regionCount"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "RockDoor1"
L3_1.value = 0
L3_1.no_refresh = true
L4_1 = {}
L4_1.configId = 3
L4_1.name = "RockDoor2"
L4_1.value = 0
L4_1.no_refresh = true
L5_1 = {}
L5_1.configId = 4
L5_1.name = "RockDoor3"
L5_1.value = 0
L5_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 4
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 78001
L5_1 = 78002
L6_1 = 78003
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L3_1 = {}
L4_1 = 78020
L5_1 = 78021
L6_1 = 78023
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.npcs = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 78001
L6_1 = 78002
L7_1 = 78003
L8_1 = 78009
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 78008
L6_1 = 78011
L7_1 = 78012
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "QUEST_FINISH_78004"
L6_1 = "ENTER_REGION_78008"
L7_1 = "ENTER_REGION_78011"
L8_1 = "ENTER_REGION_78012"
L9_1 = "QUEST_FINISH_78014"
L10_1 = "QUEST_FINISH_78015"
L11_1 = "GADGET_CREATE_78016"
L12_1 = "SELECT_OPTION_78017"
L13_1 = "QUEST_FINISH_78018"
L14_1 = "QUEST_FINISH_78019"
L15_1 = "GADGET_CREATE_78022"
L16_1 = "GADGET_CREATE_78024"
L17_1 = "GADGET_CREATE_78025"
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
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L3_1.triggers = L4_1
L4_1 = {}
L5_1 = 78005
L6_1 = 78006
L7_1 = 78013
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.npcs = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 78007
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 78001
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = -3366
L2_2.y = 227
L2_2.z = -4591
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021174
L6_2 = L2_2
L7_2 = 80
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 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = 133220078
L6_2 = 3
L3_2(L4_2, L5_2, L6_2)
L3_2 = ScriptLib
L3_2 = L3_2.SetGroupVariableValue
L4_2 = A0_2
L5_2 = "RockDoor1"
L6_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_groupVariable"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_QUEST_FINISH_78004 = 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 ~= 78008 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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "regionCount"
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_ENTER_REGION_78008 = 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 = -3308
L2_2.y = 200
L2_2.z = -4535
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021176
L6_2 = L2_2
L7_2 = 100
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 = ScriptLib
L3_2 = L3_2.SetGroupVariableValue
L4_2 = A0_2
L5_2 = "regionCount"
L6_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_groupVariable"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.AddQuestProgress
L4_2 = A0_2
L5_2 = "1332200783"
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 : add_quest_progress"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_78008 = 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 ~= 78011 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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "regionCount"
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_ENTER_REGION_78011 = 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 = -3308
L2_2.y = 200
L2_2.z = -4535
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021176
L6_2 = L2_2
L7_2 = 100
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 = ScriptLib
L3_2 = L3_2.SetGroupVariableValue
L4_2 = A0_2
L5_2 = "regionCount"
L6_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_groupVariable"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.AddQuestProgress
L4_2 = A0_2
L5_2 = "1332200783"
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 : add_quest_progress"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_78011 = 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 ~= 78012 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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "regionCount"
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_ENTER_REGION_78012 = 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 = -3308
L2_2.y = 200
L2_2.z = -4535
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021176
L6_2 = L2_2
L7_2 = 100
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 = ScriptLib
L3_2 = L3_2.SetGroupVariableValue
L4_2 = A0_2
L5_2 = "regionCount"
L6_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_groupVariable"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.AddQuestProgress
L4_2 = A0_2
L5_2 = "1332200783"
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 : add_quest_progress"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_78012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 78002
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = -3263
L2_2.y = 210
L2_2.z = -4554
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021175
L6_2 = L2_2
L7_2 = 80
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 = ScriptLib
L3_2 = L3_2.SetGroupVariableValue
L4_2 = A0_2
L5_2 = "RockDoor2"
L6_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_groupVariable"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_QUEST_FINISH_78014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 78003
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = -3374
L2_2.y = 229
L2_2.z = -4540
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 31021175
L6_2 = L2_2
L7_2 = 80
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 = ScriptLib
L3_2 = L3_2.SetGroupVariableValue
L4_2 = A0_2
L5_2 = "RockDoor3"
L6_2 = 1
L3_2 = L3_2(L4_2, L5_2, L6_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_groupVariable"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_QUEST_FINISH_78015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 78007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_78016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 133220078
L5_2 = 78007
L6_2 = {}
L7_2 = 171
L6_2[1] = L7_2
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 : set_wok_options_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_78016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 78007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 171 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_78017 = 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 = "1332200781"
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133220078
L5_2 = 78007
L6_2 = 171
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 : del_work_options_by_group_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_78017 = 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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133220078
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 78009
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 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 78010
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 : create_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_78018 = 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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133220078
L4_2.suite = 4
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 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133220078
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 78010
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 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133220078
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 78007
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 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133220078
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 78009
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_QUEST_FINISH_78019 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 78001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "RockDoor1"
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_GADGET_CREATE_78022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 78001
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_78022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 78002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "RockDoor2"
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_GADGET_CREATE_78024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 78002
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_78024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 78003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "RockDoor3"
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_GADGET_CREATE_78025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 78003
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_78025 = L1_1