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

911 lines
18 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
L0_1 = {}
L0_1.group_id = 133213110
L1_1 = {}
L2_1 = {}
L2_1.config_id = 110017
L2_1.monster_id = 26060101
L3_1 = {}
L3_1.x = -3668.93
L3_1.y = 229.584
L3_1.z = -3088.32
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 292.431
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 27
L2_1.drop_tag = "\233\155\183\232\144\164"
L2_1.disableWander = true
L2_1.climate_area_id = 2
L2_1.area_id = 12
L3_1 = {}
L3_1.config_id = 110018
L3_1.monster_id = 26060101
L4_1 = {}
L4_1.x = -3667.451
L4_1.y = 230.2
L4_1.z = -3081.688
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 223.2
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 27
L3_1.drop_tag = "\233\155\183\232\144\164"
L3_1.disableWander = true
L3_1.climate_area_id = 2
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 110022
L4_1.monster_id = 28050104
L5_1 = {}
L5_1.x = -3729.859
L5_1.y = 280.41
L5_1.z = -3142.354
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 73.821
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 27
L4_1.drop_tag = "\233\173\148\230\179\149\231\148\159\231\137\169"
L4_1.climate_area_id = 3
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 110023
L5_1.monster_id = 28050104
L6_1 = {}
L6_1.x = -3728.267
L6_1.y = 280.005
L6_1.z = -3142.555
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 279.326
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 27
L5_1.drop_tag = "\233\173\148\230\179\149\231\148\159\231\137\169"
L5_1.climate_area_id = 3
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 110024
L6_1.monster_id = 28050104
L7_1 = {}
L7_1.x = -3729.416
L7_1.y = 280.37
L7_1.z = -3142.856
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.drop_tag = "\233\173\148\230\179\149\231\148\159\231\137\169"
L6_1.climate_area_id = 3
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 110025
L7_1.monster_id = 28050104
L8_1 = {}
L8_1.x = -3728.502
L8_1.y = 280.009
L8_1.z = -3141.685
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 127.706
L7_1.rot = L8_1
L7_1.level = 27
L7_1.drop_tag = "\233\173\148\230\179\149\231\148\159\231\137\169"
L7_1.climate_area_id = 3
L7_1.area_id = 12
L8_1 = {}
L8_1.config_id = 110027
L8_1.monster_id = 26060101
L9_1 = {}
L9_1.x = -3669.535
L9_1.y = 229.763
L9_1.z = -3085.786
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 292.431
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 27
L8_1.drop_tag = "\233\155\183\232\144\164"
L8_1.disableWander = true
L8_1.climate_area_id = 2
L8_1.area_id = 12
L9_1 = {}
L9_1.config_id = 110028
L9_1.monster_id = 26060101
L10_1 = {}
L10_1.x = -3670.77
L10_1.y = 229.763
L10_1.z = -3089.081
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 321.96
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 27
L9_1.drop_tag = "\233\155\183\232\144\164"
L9_1.disableWander = true
L9_1.climate_area_id = 2
L9_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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 110001
L2_1.gadget_id = 70360104
L3_1 = {}
L3_1.x = -3729.03
L3_1.y = 279.235
L3_1.z = -3142.59
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 = 27
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 12
L3_1 = {}
L3_1.config_id = 110002
L3_1.gadget_id = 70360104
L4_1 = {}
L4_1.x = -3671.636
L4_1.y = 230.863
L4_1.z = -3087.684
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 27
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.persistent = true
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 110003
L4_1.gadget_id = 70360104
L5_1 = {}
L5_1.x = -3622.559
L5_1.y = 206.916
L5_1.z = -3202.747
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 = 27
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 110007
L5_1.gadget_id = 70360001
L6_1 = {}
L6_1.x = -3729.105
L6_1.y = 279.48
L6_1.z = -3142.8
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 = 27
L5_1.persistent = true
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 110008
L6_1.gadget_id = 70360001
L7_1 = {}
L7_1.x = -3671.426
L7_1.y = 231.044
L7_1.z = -3087.633
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.persistent = true
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 110009
L7_1.gadget_id = 70360001
L8_1 = {}
L8_1.x = -3622.604
L8_1.y = 207.089
L8_1.z = -3202.957
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 = 27
L7_1.persistent = true
L7_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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 110026
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 8
L3_1 = {}
L3_1.x = -3669.981
L3_1.y = 229.755
L3_1.z = -3088.565
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 = 1110010
L2_1.name = "GADGET_CREATE_110010"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_110010"
L2_1.action = "action_EVENT_GADGET_CREATE_110010"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1110011
L3_1.name = "SELECT_OPTION_110011"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_110011"
L3_1.action = "action_EVENT_SELECT_OPTION_110011"
L4_1 = {}
L4_1.config_id = 1110012
L4_1.name = "GADGET_CREATE_110012"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_CREATE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_CREATE_110012"
L4_1.action = "action_EVENT_GADGET_CREATE_110012"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1110013
L5_1.name = "SELECT_OPTION_110013"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_110013"
L5_1.action = "action_EVENT_SELECT_OPTION_110013"
L6_1 = {}
L6_1.config_id = 1110014
L6_1.name = "GADGET_CREATE_110014"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_CREATE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_CREATE_110014"
L6_1.action = "action_EVENT_GADGET_CREATE_110014"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1110015
L7_1.name = "SELECT_OPTION_110015"
L8_1 = EventType
L8_1 = L8_1.EVENT_SELECT_OPTION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_SELECT_OPTION_110015"
L7_1.action = "action_EVENT_SELECT_OPTION_110015"
L8_1 = {}
L8_1.config_id = 1110026
L8_1.name = "ENTER_REGION_110026"
L9_1 = EventType
L9_1 = L9_1.EVENT_ENTER_REGION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ENTER_REGION_110026"
L8_1.action = "action_EVENT_ENTER_REGION_110026"
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 = {}
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 110020
L3_1.monster_id = 23010101
L4_1 = {}
L4_1.x = -3629.406
L4_1.y = 206.731
L4_1.z = -3199.384
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 120.036
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 27
L3_1.drop_id = 1000100
L3_1.climate_area_id = 2
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 110021
L4_1.monster_id = 23010201
L5_1 = {}
L5_1.x = -3629.261
L5_1.y = 206.944
L5_1.z = -3210.315
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 = 27
L4_1.drop_id = 1000100
L4_1.climate_area_id = 2
L4_1.area_id = 12
L2_1[1] = L3_1
L2_1[2] = L4_1
L1_1.monsters = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 110019
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 8
L4_1 = {}
L4_1.x = -3623.035
L4_1.y = 206.731
L4_1.z = -3202.976
L3_1.pos = L4_1
L3_1.area_id = 12
L2_1[1] = L3_1
L1_1.regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1110019
L3_1.name = "ENTER_REGION_110019"
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_110019"
L3_1.action = "action_EVENT_ENTER_REGION_110019"
L2_1[1] = L3_1
L1_1.triggers = L2_1
garbages = 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 = {}
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 = 110017
L6_1 = 110018
L7_1 = 110022
L8_1 = 110023
L9_1 = 110024
L10_1 = 110025
L11_1 = 110027
L12_1 = 110028
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
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 110001
L6_1 = 110002
L7_1 = 110003
L8_1 = 110007
L9_1 = 110008
L10_1 = 110009
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 = {}
L5_1 = 110026
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_110010"
L6_1 = "SELECT_OPTION_110011"
L7_1 = "GADGET_CREATE_110012"
L8_1 = "SELECT_OPTION_110013"
L9_1 = "GADGET_CREATE_110014"
L10_1 = "SELECT_OPTION_110015"
L11_1 = "ENTER_REGION_110026"
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.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_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
L2_2 = A1_2.param1
if 110007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_110010 = 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 = 133213110
L5_2 = 110007
L6_2 = {}
L7_2 = 85
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_110010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 110007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 85 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_110011 = 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 = "7211703_end"
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 = 133213110
L5_2 = 110007
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 110007
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 110001
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_SELECT_OPTION_110011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 110008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_110012 = 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 = 133213110
L5_2 = 110008
L6_2 = {}
L7_2 = 85
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_110012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 110008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 85 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_110013 = 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 = "7211704_end"
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 = 133213110
L5_2 = 110008
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 110008
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 110002
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_SELECT_OPTION_110013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 110009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_110014 = 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 = 133213110
L5_2 = 110009
L6_2 = {}
L7_2 = 85
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_110014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 110009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 85 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_110015 = 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 = "7211705_end"
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 = 133213110
L5_2 = 110009
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 110009
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 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 110003
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_SELECT_OPTION_110015 = 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 ~= 110026 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_110026 = 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 = 133213110
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_110026 = L1_1