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

2266 lines
49 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, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1
L0_1 = {}
L0_1.group_id = 133107165
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 165001
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
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 165002
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
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.persistent = true
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 165003
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
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 165004
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.Action02
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 = 165005
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.Action03
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 = 165006
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.Action01
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 = 165011
L8_1.gadget_id = 70710275
L9_1 = {}
L9_1.x = -469.531
L9_1.y = 209.75
L9_1.z = 328.039
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 225.33
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 18
L8_1.persistent = true
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 165012
L9_1.gadget_id = 70710281
L10_1 = {}
L10_1.x = -469.556
L10_1.y = 209.75
L10_1.z = 328.014
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 359.299
L10_1.y = 225.33
L10_1.z = 359.287
L9_1.rot = L10_1
L9_1.level = 18
L9_1.persistent = true
L9_1.area_id = 7
L10_1 = {}
L10_1.config_id = 165032
L10_1.gadget_id = 70360001
L11_1 = {}
L11_1.x = -470.443
L11_1.y = 210.934
L11_1.z = 327.171
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
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1165008
L2_1.name = "GADGET_STATE_CHANGE_165008"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_165008"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_165008"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1165009
L3_1.name = "GROUP_LOAD_165009"
L4_1 = EventType
L4_1 = L4_1.EVENT_GROUP_LOAD
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GROUP_LOAD_165009"
L3_1.action = "action_EVENT_GROUP_LOAD_165009"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1165010
L4_1.name = "GADGET_CREATE_165010"
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_165010"
L4_1.action = "action_EVENT_GADGET_CREATE_165010"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1165013
L5_1.name = "SELECT_OPTION_165013"
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_165013"
L5_1.action = "action_EVENT_SELECT_OPTION_165013"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1165014
L6_1.name = "GADGET_CREATE_165014"
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_165014"
L6_1.action = "action_EVENT_GADGET_CREATE_165014"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1165015
L7_1.name = "GADGET_CREATE_165015"
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_165015"
L7_1.action = "action_EVENT_GADGET_CREATE_165015"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1165016
L8_1.name = "GADGET_CREATE_165016"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_CREATE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_CREATE_165016"
L8_1.action = "action_EVENT_GADGET_CREATE_165016"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1165017
L9_1.name = "SELECT_OPTION_165017"
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_165017"
L9_1.action = "action_EVENT_SELECT_OPTION_165017"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1165018
L10_1.name = "SELECT_OPTION_165018"
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_165018"
L10_1.action = "action_EVENT_SELECT_OPTION_165018"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1165019
L11_1.name = "TIMER_EVENT_165019"
L12_1 = EventType
L12_1 = L12_1.EVENT_TIMER_EVENT
L11_1.event = L12_1
L11_1.source = "findelay"
L11_1.condition = ""
L11_1.action = "action_EVENT_TIMER_EVENT_165019"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1165020
L12_1.name = "GADGET_STATE_CHANGE_165020"
L13_1 = EventType
L13_1 = L13_1.EVENT_GADGET_STATE_CHANGE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_165020"
L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_165020"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1165021
L13_1.name = "GADGET_STATE_CHANGE_165021"
L14_1 = EventType
L14_1 = L14_1.EVENT_GADGET_STATE_CHANGE
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_165021"
L13_1.action = "action_EVENT_GADGET_STATE_CHANGE_165021"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1165022
L14_1.name = "GADGET_STATE_CHANGE_165022"
L15_1 = EventType
L15_1 = L15_1.EVENT_GADGET_STATE_CHANGE
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_165022"
L14_1.action = "action_EVENT_GADGET_STATE_CHANGE_165022"
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1165023
L15_1.name = "SELECT_OPTION_165023"
L16_1 = EventType
L16_1 = L16_1.EVENT_SELECT_OPTION
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_SELECT_OPTION_165023"
L15_1.action = "action_EVENT_SELECT_OPTION_165023"
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1165024
L16_1.name = "SELECT_OPTION_165024"
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_165024"
L16_1.action = "action_EVENT_SELECT_OPTION_165024"
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1165025
L17_1.name = "SELECT_OPTION_165025"
L18_1 = EventType
L18_1 = L18_1.EVENT_SELECT_OPTION
L17_1.event = L18_1
L17_1.source = ""
L17_1.condition = "condition_EVENT_SELECT_OPTION_165025"
L17_1.action = "action_EVENT_SELECT_OPTION_165025"
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1165026
L18_1.name = "SELECT_OPTION_165026"
L19_1 = EventType
L19_1 = L19_1.EVENT_SELECT_OPTION
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_SELECT_OPTION_165026"
L18_1.action = "action_EVENT_SELECT_OPTION_165026"
L18_1.trigger_count = 0
L19_1 = {}
L19_1.config_id = 1165027
L19_1.name = "SELECT_OPTION_165027"
L20_1 = EventType
L20_1 = L20_1.EVENT_SELECT_OPTION
L19_1.event = L20_1
L19_1.source = ""
L19_1.condition = "condition_EVENT_SELECT_OPTION_165027"
L19_1.action = "action_EVENT_SELECT_OPTION_165027"
L19_1.trigger_count = 0
L20_1 = {}
L20_1.config_id = 1165028
L20_1.name = "SELECT_OPTION_165028"
L21_1 = EventType
L21_1 = L21_1.EVENT_SELECT_OPTION
L20_1.event = L21_1
L20_1.source = ""
L20_1.condition = "condition_EVENT_SELECT_OPTION_165028"
L20_1.action = "action_EVENT_SELECT_OPTION_165028"
L20_1.trigger_count = 0
L21_1 = {}
L21_1.config_id = 1165029
L21_1.name = "SELECT_OPTION_165029"
L22_1 = EventType
L22_1 = L22_1.EVENT_SELECT_OPTION
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = "condition_EVENT_SELECT_OPTION_165029"
L21_1.action = "action_EVENT_SELECT_OPTION_165029"
L21_1.trigger_count = 0
L22_1 = {}
L22_1.config_id = 1165030
L22_1.name = "TIMER_EVENT_165030"
L23_1 = EventType
L23_1 = L23_1.EVENT_TIMER_EVENT
L22_1.event = L23_1
L22_1.source = "guanchahou3"
L22_1.condition = ""
L22_1.action = "action_EVENT_TIMER_EVENT_165030"
L22_1.trigger_count = 0
L23_1 = {}
L23_1.config_id = 1165031
L23_1.name = "GROUP_LOAD_165031"
L24_1 = EventType
L24_1 = L24_1.EVENT_GROUP_LOAD
L23_1.event = L24_1
L23_1.source = ""
L23_1.condition = "condition_EVENT_GROUP_LOAD_165031"
L23_1.action = "action_EVENT_GROUP_LOAD_165031"
L23_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
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_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
L3_1 = {}
L3_1.configId = 2
L3_1.name = "guancha3"
L3_1.value = 0
L3_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_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 = 165001
L5_1 = 165002
L6_1 = 165003
L7_1 = 165004
L8_1 = 165005
L9_1 = 165006
L10_1 = 165011
L11_1 = 165012
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
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_165008"
L5_1 = "GROUP_LOAD_165009"
L6_1 = "GADGET_CREATE_165010"
L7_1 = "SELECT_OPTION_165013"
L8_1 = "GADGET_CREATE_165014"
L9_1 = "GADGET_CREATE_165015"
L10_1 = "GADGET_CREATE_165016"
L11_1 = "SELECT_OPTION_165017"
L12_1 = "SELECT_OPTION_165018"
L13_1 = "TIMER_EVENT_165019"
L14_1 = "GADGET_STATE_CHANGE_165020"
L15_1 = "GADGET_STATE_CHANGE_165021"
L16_1 = "GADGET_STATE_CHANGE_165022"
L17_1 = "SELECT_OPTION_165023"
L18_1 = "SELECT_OPTION_165024"
L19_1 = "SELECT_OPTION_165025"
L20_1 = "SELECT_OPTION_165026"
L21_1 = "SELECT_OPTION_165027"
L22_1 = "SELECT_OPTION_165028"
L23_1 = "SELECT_OPTION_165029"
L24_1 = "TIMER_EVENT_165030"
L25_1 = "GROUP_LOAD_165031"
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
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L3_1[21] = L24_1
L3_1[22] = L25_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, L5_2
L2_2 = A1_2.param2
if 165004 ~= L2_2 then
L2_2 = A1_2.param2
if 165005 ~= L2_2 then
L2_2 = A1_2.param2
if 165006 ~= L2_2 then
L2_2 = false
return L2_2
end
end
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 0
L5_2 = 165004
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.Action01
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 0
L5_2 = 165005
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.Action01
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 0
L5_2 = 165006
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = GadgetState
L3_2 = L3_2.Action01
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_165008 = 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.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 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 133107165
L5_2 = "findelay"
L6_2 = 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 : create_timerevent_by_group"
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 = 165001
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 = 165002
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 = 165003
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.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107165
L5_2 = 165001
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 = 133107165
L5_2 = 165002
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 = 133107165
L5_2 = 165003
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 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_165008 = 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 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GROUP_LOAD_165009 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "finish_133107165"
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 165004
L5_2 = GadgetState
L5_2 = L5_2.Action01
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "guancha3"
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 165005
L5_2 = GadgetState
L5_2 = L5_2.Action01
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 = 165006
L5_2 = GadgetState
L5_2 = L5_2.Action01
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 = 165012
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_165009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165032 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_165010 = 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 = 133107165
L5_2 = 165032
L6_2 = {}
L7_2 = 188
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_165010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165001 ~= 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_165013 = 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 = 165001
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 = {}
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 = 133107165
L12_2 = 165004
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 = 165004
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 = 133107165
L7_2 = 165004
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 = 133107165
L7_2 = 165004
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 = 165004
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_165013 = 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.param1
if 165001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_165014 = 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_CREATE_165014 = 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.param1
if 165002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_165015 = 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_CREATE_165015 = 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.param1
if 165003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_165016 = 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_CREATE_165016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165032 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 188 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_165017 = 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 = 133107165
L5_2 = 165032
L6_2 = 188
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 = 165032
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 = "guancha3"
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 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 133107165
L5_2 = "guanchahou3"
L6_2 = 9
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 1110191
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_165017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165003 ~= 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_165018 = 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 = 133107165
L5_2 = 165003
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_165018 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 165012
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "finish_133107165"
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.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 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "guancha3"
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 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133107165
L5_2 = 165001
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 = 133107165
L5_2 = 165002
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 = 133107165
L5_2 = 165003
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 = {}
L2_2.x = -470
L2_2.y = 212
L2_2.z = 328
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 2
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 0
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateGadget
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 165032
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_gadget"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_TIMER_EVENT_165019 = 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 165001 == 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.GearStop
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_165020 = 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_165020 = 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 165002 == 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.GearStop
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_165021 = 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_165021 = 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 165003 == 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.GearStop
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_165022 = 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_165022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165001 ~= 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_165023 = 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 = 133107165
L5_2 = 165001
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_165023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165002 ~= 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_165024 = 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 = 133107165
L5_2 = 165002
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 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_165024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165002 ~= 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_165025 = 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 = 165002
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 = {}
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 = 133107165
L12_2 = 165005
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 = 165005
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 = 133107165
L7_2 = 165005
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 = 133107165
L7_2 = 165005
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 = 165005
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_165025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165002 ~= 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_165026 = 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 = 165003
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 = {}
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 = 133107165
L12_2 = 165006
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 = 165006
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 = 133107165
L7_2 = 165006
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 = 133107165
L7_2 = 165006
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 = 165006
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_165026 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165003 ~= 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_165027 = 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 = 165001
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 = {}
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 = 133107165
L12_2 = 165004
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 = 165004
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 = 133107165
L7_2 = 165004
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 = 133107165
L7_2 = 165004
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 = 165004
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_165027 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165003 ~= 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_165028 = 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 = 165003
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 = {}
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 = 133107165
L12_2 = 165006
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 = 165006
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 = 133107165
L7_2 = 165006
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 = 133107165
L7_2 = 165006
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 = 165006
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_165028 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 165001 ~= 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_165029 = 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 = 165002
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 = {}
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 = 133107165
L12_2 = 165005
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 = 165005
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 = 133107165
L7_2 = 165005
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 = 133107165
L7_2 = 165005
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 = 165005
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_165029 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "finish_guancha03"
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 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_165030 = 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 = "guancha3"
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_GROUP_LOAD_165031 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "finish_guancha03"
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 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_165031 = L1_1