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

1262 lines
26 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
L0_1 = {}
L0_1.group_id = 177008062
L1_1 = {}
L1_1.pointarray_1 = 700800017
L1_1.gadget_1 = 62002
L1_1.gadget_2 = 62003
L1_1.gadget_3 = 62007
L1_1.gadget_4 = 62010
L1_1.gadget_5 = 62011
L1_1.gadget_controller_1 = 62006
L1_1.gadget_controller_2 = 62008
L1_1.gadget_controller_3 = 62009
L1_1.gadget_controller_4 = 62012
L1_1.gadget_controller_5 = 62013
L1_1.gadget_pointarray_1 = 1
L1_1.gadget_pointarray_2 = 2
L1_1.gadget_pointarray_3 = 3
L1_1.gadget_pointarray_4 = 4
L1_1.gadget_pointarray_5 = 5
L1_1.group_id = 177008062
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 62001
L3_1.gadget_id = 70330134
L4_1 = {}
L4_1.x = -485.389
L4_1.y = 218.5
L4_1.z = 373.611
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 = 36
L3_1.area_id = 210
L4_1 = {}
L4_1.config_id = 62002
L4_1.gadget_id = 70330135
L5_1 = {}
L5_1.x = -485.525
L5_1.y = 218.0
L5_1.z = 379.464
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 = 36
L4_1.is_use_point_array = true
L4_1.area_id = 210
L5_1 = {}
L5_1.config_id = 62003
L5_1.gadget_id = 70330135
L6_1 = {}
L6_1.x = -480.63
L6_1.y = 218.0
L6_1.z = 379.399
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 = 36
L5_1.is_use_point_array = true
L5_1.area_id = 210
L6_1 = {}
L6_1.config_id = 62004
L6_1.gadget_id = 70330141
L7_1 = {}
L7_1.x = -476.308
L7_1.y = 218.0
L7_1.z = 374.994
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 = 36
L6_1.persistent = true
L6_1.area_id = 210
L7_1 = {}
L7_1.config_id = 62005
L7_1.gadget_id = 70330157
L8_1 = {}
L8_1.x = -485.389
L8_1.y = 217.328
L8_1.z = 373.611
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 = 36
L7_1.area_id = 210
L8_1 = {}
L8_1.config_id = 62006
L8_1.gadget_id = 70330158
L9_1 = {}
L9_1.x = -485.525
L9_1.y = 216.897
L9_1.z = 379.464
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 = 36
L9_1 = GadgetState
L9_1 = L9_1.GearStart
L8_1.state = L9_1
L8_1.area_id = 210
L9_1 = {}
L9_1.config_id = 62007
L9_1.gadget_id = 70330135
L10_1 = {}
L10_1.x = -480.637
L10_1.y = 218.0
L10_1.z = 385.103
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 315.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 36
L9_1.is_use_point_array = true
L9_1.area_id = 210
L10_1 = {}
L10_1.config_id = 62008
L10_1.gadget_id = 70330158
L11_1 = {}
L11_1.x = -480.63
L11_1.y = 216.88
L11_1.z = 379.399
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 = 36
L11_1 = GadgetState
L11_1 = L11_1.GearStart
L10_1.state = L11_1
L10_1.area_id = 210
L11_1 = {}
L11_1.config_id = 62009
L11_1.gadget_id = 70330158
L12_1 = {}
L12_1.x = -480.637
L12_1.y = 216.254
L12_1.z = 385.103
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 = 36
L11_1.area_id = 210
L12_1 = {}
L12_1.config_id = 62010
L12_1.gadget_id = 70330135
L13_1 = {}
L13_1.x = -476.405
L13_1.y = 218.0
L13_1.z = 385.159
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 36
L12_1.is_use_point_array = true
L12_1.area_id = 210
L13_1 = {}
L13_1.config_id = 62011
L13_1.gadget_id = 70330135
L14_1 = {}
L14_1.x = -480.631
L14_1.y = 218.0
L14_1.z = 375.109
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 36
L14_1 = GadgetState
L14_1 = L14_1.GearStart
L13_1.state = L14_1
L13_1.is_use_point_array = true
L13_1.area_id = 210
L14_1 = {}
L14_1.config_id = 62012
L14_1.gadget_id = 70330158
L15_1 = {}
L15_1.x = -476.405
L15_1.y = 215.508
L15_1.z = 385.159
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 36
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.area_id = 210
L15_1 = {}
L15_1.config_id = 62013
L15_1.gadget_id = 70330158
L16_1 = {}
L16_1.x = -480.631
L16_1.y = 217.138
L16_1.z = 375.109
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 = 36
L16_1 = GadgetState
L16_1 = L16_1.GearStart
L15_1.state = L16_1
L15_1.area_id = 210
L16_1 = {}
L16_1.config_id = 62014
L16_1.gadget_id = 70330157
L17_1 = {}
L17_1.x = -476.308
L17_1.y = 216.326
L17_1.z = 374.994
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 = 36
L16_1.area_id = 210
L17_1 = {}
L17_1.config_id = 62015
L17_1.gadget_id = 70211161
L18_1 = {}
L18_1.x = -478.307
L18_1.y = 217.513
L18_1.z = 373.582
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 16
L17_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\184\173\231\186\167\231\168\187\229\166\187"
L17_1.isOneoff = true
L17_1.persistent = true
L17_1.area_id = 210
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1062016
L3_1.name = "GADGET_CREATE_62016"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_62016"
L3_1.action = "action_EVENT_GADGET_CREATE_62016"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1062017
L4_1.name = "GADGET_CREATE_62017"
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_62017"
L4_1.action = "action_EVENT_GADGET_CREATE_62017"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1062018
L5_1.name = "GADGET_CREATE_62018"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_CREATE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_CREATE_62018"
L5_1.action = "action_EVENT_GADGET_CREATE_62018"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1062019
L6_1.name = "GADGET_CREATE_62019"
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_62019"
L6_1.action = "action_EVENT_GADGET_CREATE_62019"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1062020
L7_1.name = "GADGET_CREATE_62020"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_CREATE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_CREATE_62020"
L7_1.action = "action_EVENT_GADGET_CREATE_62020"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1062021
L8_1.name = "SELECT_OPTION_62021"
L9_1 = EventType
L9_1 = L9_1.EVENT_SELECT_OPTION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_SELECT_OPTION_62021"
L8_1.action = "action_EVENT_SELECT_OPTION_62021"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1062022
L9_1.name = "TIMER_EVENT_62022"
L10_1 = EventType
L10_1 = L10_1.EVENT_TIMER_EVENT
L9_1.event = L10_1
L9_1.source = "route1"
L9_1.condition = ""
L9_1.action = "action_EVENT_TIMER_EVENT_62022"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1062023
L10_1.name = "SELECT_OPTION_62023"
L11_1 = EventType
L11_1 = L11_1.EVENT_SELECT_OPTION
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_SELECT_OPTION_62023"
L10_1.action = "action_EVENT_SELECT_OPTION_62023"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1062024
L11_1.name = "TIMER_EVENT_62024"
L12_1 = EventType
L12_1 = L12_1.EVENT_TIMER_EVENT
L11_1.event = L12_1
L11_1.source = "route2"
L11_1.condition = ""
L11_1.action = "action_EVENT_TIMER_EVENT_62024"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1062025
L12_1.name = "SELECT_OPTION_62025"
L13_1 = EventType
L13_1 = L13_1.EVENT_SELECT_OPTION
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_SELECT_OPTION_62025"
L12_1.action = "action_EVENT_SELECT_OPTION_62025"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1062026
L13_1.name = "TIMER_EVENT_62026"
L14_1 = EventType
L14_1 = L14_1.EVENT_TIMER_EVENT
L13_1.event = L14_1
L13_1.source = "route3"
L13_1.condition = ""
L13_1.action = "action_EVENT_TIMER_EVENT_62026"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1062027
L14_1.name = "SELECT_OPTION_62027"
L15_1 = EventType
L15_1 = L15_1.EVENT_SELECT_OPTION
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_SELECT_OPTION_62027"
L14_1.action = "action_EVENT_SELECT_OPTION_62027"
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1062028
L15_1.name = "TIMER_EVENT_62028"
L16_1 = EventType
L16_1 = L16_1.EVENT_TIMER_EVENT
L15_1.event = L16_1
L15_1.source = "route4"
L15_1.condition = ""
L15_1.action = "action_EVENT_TIMER_EVENT_62028"
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1062029
L16_1.name = "SELECT_OPTION_62029"
L17_1 = EventType
L17_1 = L17_1.EVENT_SELECT_OPTION
L16_1.event = L17_1
L16_1.source = ""
L16_1.condition = "condition_EVENT_SELECT_OPTION_62029"
L16_1.action = "action_EVENT_SELECT_OPTION_62029"
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1062030
L17_1.name = "TIMER_EVENT_62030"
L18_1 = EventType
L18_1 = L18_1.EVENT_TIMER_EVENT
L17_1.event = L18_1
L17_1.source = "route5"
L17_1.condition = ""
L17_1.action = "action_EVENT_TIMER_EVENT_62030"
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1062031
L18_1.name = "GADGET_STATE_CHANGE_62031"
L19_1 = EventType
L19_1 = L19_1.EVENT_GADGET_STATE_CHANGE
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_62031"
L18_1.action = "action_EVENT_GADGET_STATE_CHANGE_62031"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 62001
L6_1 = 62002
L7_1 = 62003
L8_1 = 62004
L9_1 = 62005
L10_1 = 62006
L11_1 = 62007
L12_1 = 62008
L13_1 = 62009
L14_1 = 62010
L15_1 = 62011
L16_1 = 62012
L17_1 = 62013
L18_1 = 62014
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
L4_1[14] = L18_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_62016"
L6_1 = "GADGET_CREATE_62017"
L7_1 = "GADGET_CREATE_62019"
L8_1 = "GADGET_CREATE_62020"
L9_1 = "SELECT_OPTION_62021"
L10_1 = "TIMER_EVENT_62022"
L11_1 = "SELECT_OPTION_62023"
L12_1 = "TIMER_EVENT_62024"
L13_1 = "SELECT_OPTION_62027"
L14_1 = "TIMER_EVENT_62028"
L15_1 = "SELECT_OPTION_62029"
L16_1 = "TIMER_EVENT_62030"
L17_1 = "GADGET_STATE_CHANGE_62031"
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
L3_1.rand_weight = 100
L2_1[1] = L3_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_1
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_62016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 31
L4_2[1] = 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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_62016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_2
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_62017 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 31
L4_2[1] = 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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_62017 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_3
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_62018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 31
L4_2[1] = 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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_62018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_4
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_62019 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 31
L4_2[1] = 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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_62019 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_5
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_62020 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 31
L4_2[1] = 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 : set_work_options"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_62020 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_1
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_62021 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_controller_1
L6_2 = 31
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = L1_1.gadget_1
L6_2 = L1_1.pointarray_1
L7_2 = {}
L8_2 = L1_1.gadget_pointarray_1
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = "route1"
L7_2 = 1
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 : create_timerevent_by_group"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_62021 = L2_1
function L2_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 = L1_1.group_id
L5_2 = L1_1.gadget_controller_1
L6_2 = {}
L7_2 = 31
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_TIMER_EVENT_62022 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_2
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_62023 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_controller_2
L6_2 = 31
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = L1_1.gadget_2
L6_2 = L1_1.pointarray_1
L7_2 = {}
L8_2 = L1_1.gadget_pointarray_2
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = "route2"
L7_2 = 1
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 : create_timerevent_by_group"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_62023 = L2_1
function L2_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 = L1_1.group_id
L5_2 = L1_1.gadget_controller_2
L6_2 = {}
L7_2 = 31
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_TIMER_EVENT_62024 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_3
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_62025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_controller_3
L6_2 = 31
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = L1_1.gadget_3
L6_2 = L1_1.pointarray_1
L7_2 = {}
L8_2 = L1_1.gadget_pointarray_3
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = "route3"
L7_2 = 1
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 : create_timerevent_by_group"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_62025 = L2_1
function L2_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 = L1_1.group_id
L5_2 = L1_1.gadget_controller_3
L6_2 = {}
L7_2 = 31
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_TIMER_EVENT_62026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_4
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_62027 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_controller_4
L6_2 = 31
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = L1_1.gadget_4
L6_2 = L1_1.pointarray_1
L7_2 = {}
L8_2 = L1_1.gadget_pointarray_4
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = "route4"
L7_2 = 1
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 : create_timerevent_by_group"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_62027 = L2_1
function L2_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 = L1_1.group_id
L5_2 = L1_1.gadget_controller_4
L6_2 = {}
L7_2 = 31
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_TIMER_EVENT_62028 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.gadget_controller_5
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 31 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_62029 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_controller_5
L6_2 = 31
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 = {}
L2_2.route_type = 0
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = L1_1.gadget_5
L6_2 = L1_1.pointarray_1
L7_2 = {}
L8_2 = L1_1.gadget_pointarray_5
L7_2[1] = L8_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = "route5"
L7_2 = 1
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 : create_timerevent_by_group"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_62029 = L2_1
function L2_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 = L1_1.group_id
L5_2 = L1_1.gadget_controller_5
L6_2 = {}
L7_2 = 31
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_TIMER_EVENT_62030 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 62004 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_62031 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 62015
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_GADGET_STATE_CHANGE_62031 = L2_1
L2_1 = require
L3_1 = "V2_5/Watcher_Puzzle"
L2_1(L3_1)