mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
672 lines
13 KiB
Lua
672 lines
13 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133008087
|
|
L1_1 = {}
|
|
L1_1.group_id = 133008087
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 87001
|
|
L3_1.gadget_id = 70230026
|
|
L4_1 = {}
|
|
L4_1.x = 1101.468
|
|
L4_1.y = 384.461
|
|
L4_1.z = -998.087
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.97
|
|
L4_1.y = 89.008
|
|
L4_1.z = 359.518
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 30
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 10
|
|
L4_1 = {}
|
|
L4_1.config_id = 87002
|
|
L4_1.gadget_id = 70230008
|
|
L5_1 = {}
|
|
L5_1.x = 1101.622
|
|
L5_1.y = 384.383
|
|
L5_1.z = -996.289
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 102.627
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 10
|
|
L5_1 = {}
|
|
L5_1.config_id = 87003
|
|
L5_1.gadget_id = 70230022
|
|
L6_1 = {}
|
|
L6_1.x = 1102.012
|
|
L6_1.y = 384.425
|
|
L6_1.z = -994.322
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 112.652
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 10
|
|
L6_1 = {}
|
|
L6_1.config_id = 87004
|
|
L6_1.gadget_id = 70230008
|
|
L7_1 = {}
|
|
L7_1.x = 1102.669
|
|
L7_1.y = 384.49
|
|
L7_1.z = -991.978
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 120.837
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 10
|
|
L7_1 = {}
|
|
L7_1.config_id = 87005
|
|
L7_1.gadget_id = 70230017
|
|
L8_1 = {}
|
|
L8_1.x = 1109.85
|
|
L8_1.y = 384.338
|
|
L8_1.z = -989.575
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 180.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.persistent = true
|
|
L7_1.area_id = 10
|
|
L8_1 = {}
|
|
L8_1.config_id = 87006
|
|
L8_1.gadget_id = 70230012
|
|
L9_1 = {}
|
|
L9_1.x = 1111.744
|
|
L9_1.y = 384.125
|
|
L9_1.z = -991.53
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 251.06
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.persistent = true
|
|
L8_1.area_id = 10
|
|
L9_1 = {}
|
|
L9_1.config_id = 87007
|
|
L9_1.gadget_id = 70230018
|
|
L10_1 = {}
|
|
L10_1.x = 1113.677
|
|
L10_1.y = 383.848
|
|
L10_1.z = -994.005
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 225.69
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L9_1.persistent = true
|
|
L9_1.area_id = 10
|
|
L10_1 = {}
|
|
L10_1.config_id = 87008
|
|
L10_1.gadget_id = 70230012
|
|
L11_1 = {}
|
|
L11_1.x = 1114.583
|
|
L11_1.y = 383.65
|
|
L11_1.z = -995.817
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 214.9
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 30
|
|
L10_1.persistent = true
|
|
L10_1.area_id = 10
|
|
L11_1 = {}
|
|
L11_1.config_id = 87009
|
|
L11_1.gadget_id = 70360123
|
|
L12_1 = {}
|
|
L12_1.x = 1102.829
|
|
L12_1.y = 393.27
|
|
L12_1.z = -978.998
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 354.537
|
|
L12_1.y = 163.555
|
|
L12_1.z = 359.585
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 30
|
|
L11_1.persistent = true
|
|
L11_1.area_id = 10
|
|
L12_1 = {}
|
|
L12_1.config_id = 87013
|
|
L12_1.gadget_id = 70350081
|
|
L13_1 = {}
|
|
L13_1.x = 1109.019
|
|
L13_1.y = 382.536
|
|
L13_1.z = -998.851
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 358.996
|
|
L13_1.y = 85.995
|
|
L13_1.z = 3.361
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 30
|
|
L13_1 = GadgetState
|
|
L13_1 = L13_1.GearStop
|
|
L12_1.state = L13_1
|
|
L12_1.persistent = true
|
|
L12_1.area_id = 10
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1087010
|
|
L3_1.name = "GADGET_STATE_CHANGE_87010"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_87010"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1087012
|
|
L4_1.name = "SELECT_OPTION_87012"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_SELECT_OPTION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_SELECT_OPTION_87012"
|
|
L4_1.action = "action_EVENT_SELECT_OPTION_87012"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1087014
|
|
L5_1.name = "VARIABLE_CHANGE_87014"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_87014"
|
|
L5_1.action = "action_EVENT_VARIABLE_CHANGE_87014"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1087015
|
|
L6_1.name = "GROUP_LOAD_87015"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_GROUP_LOAD
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_GROUP_LOAD_87015"
|
|
L6_1.action = "action_EVENT_GROUP_LOAD_87015"
|
|
L6_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "activateCount"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L4_1 = {}
|
|
L4_1.configId = 2
|
|
L4_1.name = "isGearOperated"
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 87001
|
|
L6_1 = 87002
|
|
L7_1 = 87003
|
|
L8_1 = 87004
|
|
L9_1 = 87005
|
|
L10_1 = 87006
|
|
L11_1 = 87007
|
|
L12_1 = 87008
|
|
L13_1 = 87009
|
|
L14_1 = 87013
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_STATE_CHANGE_87010"
|
|
L6_1 = "SELECT_OPTION_87012"
|
|
L7_1 = "VARIABLE_CHANGE_87014"
|
|
L8_1 = "GROUP_LOAD_87015"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "activateCount"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_87010 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 87013 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 7 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_87012 = L2_1
|
|
function L2_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 = 87009
|
|
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 = 87013
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133008557
|
|
L4_2.suite = 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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133008523
|
|
L4_2.suite = 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 : refresh_group_to_suite"
|
|
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 = 133008087
|
|
L5_2 = 87013
|
|
L6_2 = 7
|
|
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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "isGearOperated"
|
|
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 = {}
|
|
L2_2.x = 1103
|
|
L2_2.y = 389
|
|
L2_2.z = -981
|
|
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 = 4
|
|
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 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_87012 = L2_1
|
|
function L2_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 = "activateCount"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 8 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_87014 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 87013
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133008087
|
|
L5_2 = 87013
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
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_VARIABLE_CHANGE_87014 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = 0
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87001
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87002
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87003
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87004
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87005
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87006
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87007
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = 87008
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
L4_2 = GadgetState
|
|
L4_2 = L4_2.GearStart
|
|
if L3_2 == L4_2 then
|
|
L2_2 = L2_2 + 1
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "isGearOperated"
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if L3_2 ~= 1 and L2_2 == 8 then
|
|
L3_2 = true
|
|
return L3_2
|
|
end
|
|
L3_2 = false
|
|
return L3_2
|
|
end
|
|
condition_EVENT_GROUP_LOAD_87015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 87013
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133008087
|
|
L5_2 = 87013
|
|
L6_2 = {}
|
|
L7_2 = 7
|
|
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_GROUP_LOAD_87015 = L2_1
|