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

1155 lines
24 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 = 133220055
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 55001
L2_1.gadget_id = 70330064
L3_1 = {}
L3_1.x = -2354.582
L3_1.y = 191.646
L3_1.z = -4248.278
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 320.716
L3_1.y = 264.967
L3_1.z = 5.662
L2_1.rot = L3_1
L2_1.level = 27
L2_1.interact_id = 35
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 55002
L3_1.gadget_id = 70290104
L4_1 = {}
L4_1.x = -2340.931
L4_1.y = 198.068
L4_1.z = -4247.715
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 66.0
L4_1.z = 180.0
L3_1.rot = L4_1
L3_1.level = 27
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 55003
L4_1.gadget_id = 70211001
L5_1 = {}
L5_1.x = -2338.988
L5_1.y = 211.197
L5_1.z = -4249.082
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 349.367
L5_1.y = 26.556
L5_1.z = 353.832
L4_1.rot = L5_1
L4_1.level = 26
L4_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\168\187\229\166\187"
L4_1.isOneoff = true
L4_1.persistent = true
L5_1 = {}
L5_1.name = "chest"
L5_1.exp = 1
L4_1.explore = L5_1
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 55004
L5_1.gadget_id = 70900380
L6_1 = {}
L6_1.x = -2326.405
L6_1.y = 231.309
L6_1.z = -4256.826
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.area_id = 11
L6_1 = {}
L6_1.config_id = 55006
L6_1.gadget_id = 70350279
L7_1 = {}
L7_1.x = -2326.63
L7_1.y = 219.456
L7_1.z = -4256.861
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 = 11
L7_1 = {}
L7_1.config_id = 55011
L7_1.gadget_id = 70330064
L8_1 = {}
L8_1.x = -2361.226
L8_1.y = 190.82
L8_1.z = -4235.17
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 31.412
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 27
L7_1.interact_id = 35
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 55012
L8_1.gadget_id = 70350081
L9_1 = {}
L9_1.x = -2331.309
L9_1.y = 221.553
L9_1.z = -4256.337
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 351.349
L9_1.y = 36.688
L9_1.z = 305.721
L8_1.rot = L9_1
L8_1.level = 27
L8_1.persistent = true
L8_1.area_id = 11
L9_1 = {}
L9_1.config_id = 55013
L9_1.gadget_id = 70211131
L10_1 = {}
L10_1.x = -2350.221
L10_1.y = 190.638
L10_1.z = -4251.515
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 62.561
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 26
L9_1.drop_tag = "\232\167\163\232\176\156\232\182\133\231\186\167\231\168\187\229\166\187"
L9_1.isOneoff = true
L9_1.persistent = true
L10_1 = {}
L10_1.name = "chest"
L10_1.exp = 1
L9_1.explore = L10_1
L9_1.area_id = 11
L10_1 = {}
L10_1.config_id = 55015
L10_1.gadget_id = 70211001
L11_1 = {}
L11_1.x = -2365.128
L11_1.y = 190.76
L11_1.z = -4229.783
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 65.145
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 26
L10_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\168\187\229\166\187"
L10_1.isOneoff = true
L10_1.persistent = true
L11_1 = {}
L11_1.name = "chest"
L11_1.exp = 1
L10_1.explore = L11_1
L10_1.area_id = 11
L11_1 = {}
L11_1.config_id = 55021
L11_1.gadget_id = 70350081
L12_1 = {}
L12_1.x = -2323.859
L12_1.y = 220.745
L12_1.z = -4260.547
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 349.516
L12_1.y = 273.671
L12_1.z = 305.377
L11_1.rot = L12_1
L11_1.level = 27
L11_1.persistent = true
L11_1.area_id = 11
L12_1 = {}
L12_1.config_id = 55022
L12_1.gadget_id = 70350081
L13_1 = {}
L13_1.x = -2322.654
L13_1.y = 221.441
L13_1.z = -4254.385
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 350.74
L13_1.y = 179.081
L13_1.z = 307.06
L12_1.rot = L13_1
L12_1.level = 27
L12_1.persistent = true
L12_1.area_id = 11
L13_1 = {}
L13_1.config_id = 55023
L13_1.gadget_id = 70330092
L14_1 = {}
L14_1.x = -2329.665
L14_1.y = 219.933
L14_1.z = -4256.89
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 87.495
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 27
L14_1 = GadgetState
L14_1 = L14_1.GearStart
L13_1.state = L14_1
L13_1.persistent = true
L13_1.area_id = 11
L14_1 = {}
L14_1.config_id = 55024
L14_1.gadget_id = 70330092
L15_1 = {}
L15_1.x = -2324.335
L15_1.y = 219.897
L15_1.z = -4254.969
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.331
L15_1.y = 237.207
L15_1.z = 359.319
L14_1.rot = L15_1
L14_1.level = 27
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.persistent = true
L14_1.area_id = 11
L15_1 = {}
L15_1.config_id = 55025
L15_1.gadget_id = 70330092
L16_1 = {}
L16_1.x = -2324.399
L16_1.y = 219.866
L16_1.z = -4258.868
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.512
L16_1.y = 320.064
L16_1.z = 359.436
L15_1.rot = L16_1
L15_1.level = 27
L16_1 = GadgetState
L16_1 = L16_1.GearStart
L15_1.state = L16_1
L15_1.persistent = true
L15_1.area_id = 11
L16_1 = {}
L16_1.config_id = 55028
L16_1.gadget_id = 70330064
L17_1 = {}
L17_1.x = -2328.337
L17_1.y = 220.578
L17_1.z = -4261.026
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 303.182
L17_1.y = 238.919
L17_1.z = 328.895
L16_1.rot = L17_1
L16_1.level = 27
L16_1.interact_id = 35
L16_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
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
L1_1[14] = L15_1
L1_1[15] = L16_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1055007
L2_1.name = "GROUP_LOAD_55007"
L3_1 = EventType
L3_1 = L3_1.EVENT_GROUP_LOAD
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GROUP_LOAD_55007"
L2_1.action = "action_EVENT_GROUP_LOAD_55007"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1055014
L3_1.name = "GADGET_CREATE_55014"
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_55014"
L3_1.action = "action_EVENT_GADGET_CREATE_55014"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1055026
L4_1.name = "GADGET_CREATE_55026"
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_55026"
L4_1.action = "action_EVENT_GADGET_CREATE_55026"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1055027
L5_1.name = "GADGET_CREATE_55027"
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_55027"
L5_1.action = "action_EVENT_GADGET_CREATE_55027"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1055029
L6_1.name = "SELECT_OPTION_55029"
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_55029"
L6_1.action = "action_EVENT_SELECT_OPTION_55029"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1055030
L7_1.name = "SELECT_OPTION_55030"
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_55030"
L7_1.action = "action_EVENT_SELECT_OPTION_55030"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1055031
L8_1.name = "SELECT_OPTION_55031"
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_55031"
L8_1.action = "action_EVENT_SELECT_OPTION_55031"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1055032
L9_1.name = "VARIABLE_CHANGE_55032"
L10_1 = EventType
L10_1 = L10_1.EVENT_VARIABLE_CHANGE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_55032"
L9_1.action = "action_EVENT_VARIABLE_CHANGE_55032"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1055033
L10_1.name = "USE_WIDGET_TOY_FOX_CAMERA_55033"
L11_1 = EventType
L11_1 = L11_1.EVENT_USE_WIDGET_TOY_FOX_CAMERA
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55033"
L10_1.action = "action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55033"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1055034
L11_1.name = "USE_WIDGET_TOY_FOX_CAMERA_55034"
L12_1 = EventType
L12_1 = L12_1.EVENT_USE_WIDGET_TOY_FOX_CAMERA
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55034"
L11_1.action = "action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55034"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1055035
L12_1.name = "USE_WIDGET_TOY_FOX_CAMERA_55035"
L13_1 = EventType
L13_1 = L13_1.EVENT_USE_WIDGET_TOY_FOX_CAMERA
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55035"
L12_1.action = "action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55035"
L12_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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "count"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "open1"
L3_1.value = 0
L3_1.no_refresh = true
L4_1 = {}
L4_1.configId = 3
L4_1.name = "open2"
L4_1.value = 0
L4_1.no_refresh = true
L5_1 = {}
L5_1.configId = 4
L5_1.name = "open3"
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 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 55016
L3_1.gadget_id = 70211001
L4_1 = {}
L4_1.x = -2296.672
L4_1.y = 206.393
L4_1.z = -4279.382
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.719
L4_1.y = 126.06
L4_1.z = 359.426
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\168\187\229\166\187"
L3_1.isOneoff = true
L3_1.persistent = true
L4_1 = {}
L4_1.name = "chest"
L4_1.exp = 1
L3_1.explore = L4_1
L3_1.area_id = 11
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = 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 = 55001
L5_1 = 55002
L6_1 = 55003
L7_1 = 55004
L8_1 = 55006
L9_1 = 55011
L10_1 = 55013
L11_1 = 55015
L12_1 = 55023
L13_1 = 55024
L14_1 = 55025
L15_1 = 55028
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
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GROUP_LOAD_55007"
L5_1 = "GADGET_CREATE_55014"
L6_1 = "GADGET_CREATE_55026"
L7_1 = "GADGET_CREATE_55027"
L8_1 = "SELECT_OPTION_55029"
L9_1 = "SELECT_OPTION_55030"
L10_1 = "SELECT_OPTION_55031"
L11_1 = "VARIABLE_CHANGE_55032"
L12_1 = "USE_WIDGET_TOY_FOX_CAMERA_55033"
L13_1 = "USE_WIDGET_TOY_FOX_CAMERA_55034"
L14_1 = "USE_WIDGET_TOY_FOX_CAMERA_55035"
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
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = 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 = "count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GROUP_LOAD_55007 = 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 = 55006
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 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_55007 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 55012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "open1"
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_GADGET_CREATE_55014 = 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 = 214
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_55014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 55021 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "open2"
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_GADGET_CREATE_55026 = 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 = 214
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_55026 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 55022 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "open3"
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_GADGET_CREATE_55027 = 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 = 214
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_55027 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 55012 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 214 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_55029 = 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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133220055
L5_2 = 55012
L6_2 = 214
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "open1"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 55012
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_55029 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 55021 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 214 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_55030 = 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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133220055
L5_2 = 55021
L6_2 = 214
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "open2"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 55021
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_55030 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 55022 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 214 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_55031 = 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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133220055
L5_2 = 55022
L6_2 = 214
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "open3"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 55022
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_55031 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "count"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 3 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_55032 = 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 = 55006
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 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_55032 = 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.GetGadgetConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.gadget_eid = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 55023 then
L3_2 = true
return L3_2
end
L3_2 = false
return L3_2
end
condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55033 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 55012
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 55023
L5_2 = GadgetState
L5_2 = L5_2.Default
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 = 0
return L2_2
end
action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55033 = 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.GetGadgetConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.gadget_eid = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 55024 then
L3_2 = true
return L3_2
end
L3_2 = false
return L3_2
end
condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55034 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 55022
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 55024
L5_2 = GadgetState
L5_2 = L5_2.Default
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 = 0
return L2_2
end
action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55034 = 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.GetGadgetConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.gadget_eid = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 55025 then
L3_2 = true
return L3_2
end
L3_2 = false
return L3_2
end
condition_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55035 = 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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 55021
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 55025
L5_2 = GadgetState
L5_2 = L5_2.Default
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 = 0
return L2_2
end
action_EVENT_USE_WIDGET_TOY_FOX_CAMERA_55035 = L1_1
L1_1 = require
L2_1 = "V2_0/ElectricCore"
L1_1(L2_1)