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

1617 lines
34 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
L0_1 = {}
L0_1.group_id = 133107153
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 153001
L2_1.gadget_id = 70710283
L3_1 = {}
L3_1.x = -473.265
L3_1.y = 210.315
L3_1.z = 327.255
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 225.33
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L2_1.persistent = true
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 153002
L3_1.gadget_id = 70710283
L4_1 = {}
L4_1.x = -473.096
L4_1.y = 210.311
L4_1.z = 324.492
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 225.33
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L3_1.persistent = true
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 153003
L4_1.gadget_id = 70710283
L5_1 = {}
L5_1.x = -470.402
L5_1.y = 210.308
L5_1.z = 324.373
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 225.33
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L4_1.persistent = true
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 153004
L5_1.gadget_id = 70710277
L6_1 = {}
L6_1.x = -469.531
L6_1.y = 209.75
L6_1.z = 328.039
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 225.33
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L6_1 = GadgetState
L6_1 = L6_1.Action01
L5_1.state = L6_1
L5_1.persistent = true
L5_1.mark_flag = 2
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 153005
L6_1.gadget_id = 70710278
L7_1 = {}
L7_1.x = -469.531
L7_1.y = 209.75
L7_1.z = 328.039
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 225.33
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 18
L7_1 = GadgetState
L7_1 = L7_1.Action02
L6_1.state = L7_1
L6_1.persistent = true
L6_1.mark_flag = 4
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 153006
L7_1.gadget_id = 70710279
L8_1 = {}
L8_1.x = -469.531
L8_1.y = 209.75
L8_1.z = 328.039
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 225.33
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 18
L8_1 = GadgetState
L8_1 = L8_1.Action03
L7_1.state = L8_1
L7_1.persistent = true
L7_1.mark_flag = 8
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 153014
L8_1.gadget_id = 70300118
L9_1 = {}
L9_1.x = -473.265
L9_1.y = 210.368
L9_1.z = 327.255
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 = 7
L9_1 = {}
L9_1.config_id = 153015
L9_1.gadget_id = 70300118
L10_1 = {}
L10_1.x = -473.096
L10_1.y = 210.366
L10_1.z = 324.492
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 = 7
L10_1 = {}
L10_1.config_id = 153016
L10_1.gadget_id = 70300118
L11_1 = {}
L11_1.x = -470.402
L11_1.y = 210.359
L11_1.z = 324.373
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 = 7
L11_1 = {}
L11_1.config_id = 153018
L11_1.gadget_id = 70710276
L12_1 = {}
L12_1.x = -469.531
L12_1.y = 209.75
L12_1.z = 328.039
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 225.33
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 18
L11_1.persistent = true
L11_1.area_id = 7
L12_1 = {}
L12_1.config_id = 153019
L12_1.gadget_id = 70710280
L13_1 = {}
L13_1.x = -469.531
L13_1.y = 209.75
L13_1.z = 328.039
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 359.299
L13_1.y = 225.33
L13_1.z = 359.287
L12_1.rot = L13_1
L12_1.level = 18
L12_1.persistent = true
L12_1.area_id = 7
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1153007
L2_1.name = "SELECT_OPTION_153007"
L3_1 = EventType
L3_1 = L3_1.EVENT_SELECT_OPTION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_SELECT_OPTION_153007"
L2_1.action = "action_EVENT_SELECT_OPTION_153007"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1153008
L3_1.name = "GADGET_STATE_CHANGE_153008"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
L3_1.event = L4_1
L3_1.source = "fin"
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_153008"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_153008"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1153009
L4_1.name = "GADGET_STATE_CHANGE_153009"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = "fin"
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_153009"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_153009"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1153010
L5_1.name = "GADGET_STATE_CHANGE_153010"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = "fin"
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_153010"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_153010"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1153011
L6_1.name = "SELECT_OPTION_153011"
L7_1 = EventType
L7_1 = L7_1.EVENT_SELECT_OPTION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_SELECT_OPTION_153011"
L6_1.action = "action_EVENT_SELECT_OPTION_153011"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1153012
L7_1.name = "SELECT_OPTION_153012"
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_153012"
L7_1.action = "action_EVENT_SELECT_OPTION_153012"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1153013
L8_1.name = "SELECT_OPTION_153013"
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_153013"
L8_1.action = "action_EVENT_SELECT_OPTION_153013"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1153017
L9_1.name = "SELECT_OPTION_153017"
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_153017"
L9_1.action = "action_EVENT_SELECT_OPTION_153017"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1153020
L10_1.name = "QUEST_FINISH_153020"
L11_1 = EventType
L11_1 = L11_1.EVENT_QUEST_FINISH
L10_1.event = L11_1
L10_1.source = "4135702"
L10_1.condition = "condition_EVENT_QUEST_FINISH_153020"
L10_1.action = "action_EVENT_QUEST_FINISH_153020"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1153021
L11_1.name = "SELECT_OPTION_153021"
L12_1 = EventType
L12_1 = L12_1.EVENT_SELECT_OPTION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_SELECT_OPTION_153021"
L11_1.action = "action_EVENT_SELECT_OPTION_153021"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1153022
L12_1.name = "GADGET_CREATE_153022"
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_153022"
L12_1.action = "action_EVENT_GADGET_CREATE_153022"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1153023
L13_1.name = "GADGET_CREATE_153023"
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_153023"
L13_1.action = "action_EVENT_GADGET_CREATE_153023"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1153024
L14_1.name = "GADGET_CREATE_153024"
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_153024"
L14_1.action = "action_EVENT_GADGET_CREATE_153024"
L14_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
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 = "fin"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
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 = 153001
L5_1 = 153002
L6_1 = 153003
L7_1 = 153018
L8_1 = 153019
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.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "SELECT_OPTION_153007"
L5_1 = "GADGET_STATE_CHANGE_153008"
L6_1 = "GADGET_STATE_CHANGE_153009"
L7_1 = "GADGET_STATE_CHANGE_153010"
L8_1 = "SELECT_OPTION_153011"
L9_1 = "SELECT_OPTION_153012"
L10_1 = "SELECT_OPTION_153013"
L11_1 = "SELECT_OPTION_153017"
L12_1 = "QUEST_FINISH_153020"
L13_1 = "SELECT_OPTION_153021"
L14_1 = "GADGET_CREATE_153022"
L15_1 = "GADGET_CREATE_153023"
L16_1 = "GADGET_CREATE_153024"
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
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 153004
L6_1 = 153005
L7_1 = 153006
L8_1 = 153014
L9_1 = 153015
L10_1 = 153016
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 = {}
L3_1.regions = L4_1
L4_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
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
L2_2 = A1_2.param1
if 153001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 51 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_153007 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 153001
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153001
L6_2 = 51
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 = {}
L3_2 = 901
L4_2 = 902
L5_2 = 903
L2_2[1] = L3_2
L2_2[2] = L4_2
L2_2[3] = L5_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133107153
L12_2 = 153004
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 153004
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133107153
L7_2 = 153004
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133107153
L7_2 = 153004
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 153004
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_SELECT_OPTION_153007 = 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 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 153001 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param1
if L2_2 == L3_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param3
if L2_2 == L3_2 then
goto lbl_25
end
end
end
L2_2 = false
do return L2_2 end
::lbl_25::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_153008 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 51
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_STATE_CHANGE_153008 = 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 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 153002 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param1
if L2_2 == L3_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param3
if L2_2 == L3_2 then
goto lbl_25
end
end
end
L2_2 = false
do return L2_2 end
::lbl_25::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_153009 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 52
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_STATE_CHANGE_153009 = 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 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 153003 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param1
if L2_2 == L3_2 then
L2_2 = GadgetState
L2_2 = L2_2.Default
L3_2 = A1_2.param3
if L2_2 == L3_2 then
goto lbl_25
end
end
end
L2_2 = false
do return L2_2 end
::lbl_25::
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_153010 = 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.SetWorktopOptions
L3_2 = A0_2
L4_2 = {}
L5_2 = 53
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_STATE_CHANGE_153010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 52 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_153011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 153002
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153002
L6_2 = 52
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 = {}
L3_2 = 901
L4_2 = 902
L5_2 = 903
L2_2[1] = L3_2
L2_2[2] = L4_2
L2_2[3] = L5_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133107153
L12_2 = 153005
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 153005
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133107153
L7_2 = 153005
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133107153
L7_2 = 153005
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 153005
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_SELECT_OPTION_153011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 53 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_153012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 153003
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153003
L6_2 = 53
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 = {}
L3_2 = 901
L4_2 = 902
L5_2 = 903
L2_2[1] = L3_2
L2_2[2] = L4_2
L2_2[3] = L5_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133107153
L12_2 = 153006
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 153006
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133107153
L7_2 = 153006
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133107153
L7_2 = 153006
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 153006
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_SELECT_OPTION_153012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 51 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_153013 = 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 = "finish_133107153"
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 = 133107153
L5_2 = 153001
L6_2 = 51
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153002
L6_2 = 52
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153003
L6_2 = 53
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 = 153014
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 = 153015
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 = 153016
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.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_SELECT_OPTION_153013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 52 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_153017 = 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 = "finish_133107153"
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 = 133107153
L5_2 = 153001
L6_2 = 51
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153002
L6_2 = 52
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153003
L6_2 = 53
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 = 153014
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 = 153015
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 = 153016
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.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_SELECT_OPTION_153017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 4135702 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_153020 = 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 = 153001
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 153002
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 153003
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_153020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 53 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_153021 = 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 = "finish_133107153"
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 = 133107153
L5_2 = 153001
L6_2 = 51
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153002
L6_2 = 52
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107153
L5_2 = 153003
L6_2 = 53
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 = 153014
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 = 153015
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 = 153016
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.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_SELECT_OPTION_153021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153004 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_153022 = 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 = 133107153
L5_2 = 153001
L6_2 = {}
L7_2 = 51
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_153022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153005 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_153023 = 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 = 133107153
L5_2 = 153002
L6_2 = {}
L7_2 = 52
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_153023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 153006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_153024 = 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 = 133107153
L5_2 = 153003
L6_2 = {}
L7_2 = 53
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_153024 = L1_1