mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1262 lines
26 KiB
Lua
1262 lines
26 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 177008061
|
|
L1_1 = {}
|
|
L1_1.pointarray_1 = 700800016
|
|
L1_1.gadget_1 = 61002
|
|
L1_1.gadget_2 = 61003
|
|
L1_1.gadget_3 = 61007
|
|
L1_1.gadget_4 = 61010
|
|
L1_1.gadget_5 = 61011
|
|
L1_1.gadget_controller_1 = 61006
|
|
L1_1.gadget_controller_2 = 61008
|
|
L1_1.gadget_controller_3 = 61009
|
|
L1_1.gadget_controller_4 = 61012
|
|
L1_1.gadget_controller_5 = 61013
|
|
L1_1.gadget_pointarray_1 = 1
|
|
L1_1.gadget_pointarray_2 = 2
|
|
L1_1.gadget_pointarray_3 = 3
|
|
L1_1.gadget_pointarray_4 = 4
|
|
L1_1.gadget_pointarray_5 = 5
|
|
L1_1.group_id = 177008061
|
|
L2_1 = {}
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 61001
|
|
L3_1.gadget_id = 70330134
|
|
L4_1 = {}
|
|
L4_1.x = -145.681
|
|
L4_1.y = 266.0
|
|
L4_1.z = 422.227
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 315.0
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 36
|
|
L3_1.area_id = 210
|
|
L4_1 = {}
|
|
L4_1.config_id = 61002
|
|
L4_1.gadget_id = 70330135
|
|
L5_1 = {}
|
|
L5_1.x = -152.651
|
|
L5_1.y = 265.5
|
|
L5_1.z = 429.05
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 36
|
|
L5_1 = GadgetState
|
|
L5_1 = L5_1.GearStart
|
|
L4_1.state = L5_1
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 210
|
|
L5_1 = {}
|
|
L5_1.config_id = 61003
|
|
L5_1.gadget_id = 70330135
|
|
L6_1 = {}
|
|
L6_1.x = -143.91
|
|
L6_1.y = 265.5
|
|
L6_1.z = 434.793
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 0.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 36
|
|
L5_1.is_use_point_array = true
|
|
L5_1.area_id = 210
|
|
L6_1 = {}
|
|
L6_1.config_id = 61004
|
|
L6_1.gadget_id = 70330141
|
|
L7_1 = {}
|
|
L7_1.x = -138.151
|
|
L7_1.y = 265.0
|
|
L7_1.z = 423.03
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 0.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 36
|
|
L6_1.persistent = true
|
|
L6_1.area_id = 210
|
|
L7_1 = {}
|
|
L7_1.config_id = 61005
|
|
L7_1.gadget_id = 70330157
|
|
L8_1 = {}
|
|
L8_1.x = -145.68
|
|
L8_1.y = 264.246
|
|
L8_1.z = 422.227
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 315.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 36
|
|
L7_1.area_id = 210
|
|
L8_1 = {}
|
|
L8_1.config_id = 61006
|
|
L8_1.gadget_id = 70330158
|
|
L9_1 = {}
|
|
L9_1.x = -152.651
|
|
L9_1.y = 264.249
|
|
L9_1.z = 429.05
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 36
|
|
L8_1.area_id = 210
|
|
L9_1 = {}
|
|
L9_1.config_id = 61007
|
|
L9_1.gadget_id = 70330135
|
|
L10_1 = {}
|
|
L10_1.x = -138.093
|
|
L10_1.y = 265.5
|
|
L10_1.z = 428.822
|
|
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 = 36
|
|
L9_1.is_use_point_array = true
|
|
L9_1.area_id = 210
|
|
L10_1 = {}
|
|
L10_1.config_id = 61008
|
|
L10_1.gadget_id = 70330158
|
|
L11_1 = {}
|
|
L11_1.x = -143.91
|
|
L11_1.y = 264.241
|
|
L11_1.z = 434.793
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 0.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 36
|
|
L11_1 = GadgetState
|
|
L11_1 = L11_1.GearStart
|
|
L10_1.state = L11_1
|
|
L10_1.area_id = 210
|
|
L11_1 = {}
|
|
L11_1.config_id = 61009
|
|
L11_1.gadget_id = 70330158
|
|
L12_1 = {}
|
|
L12_1.x = -138.093
|
|
L12_1.y = 264.186
|
|
L12_1.z = 428.822
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 0.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 36
|
|
L12_1 = GadgetState
|
|
L12_1 = L12_1.GearStart
|
|
L11_1.state = L12_1
|
|
L11_1.area_id = 210
|
|
L12_1 = {}
|
|
L12_1.config_id = 61010
|
|
L12_1.gadget_id = 70330135
|
|
L13_1 = {}
|
|
L13_1.x = -143.948
|
|
L13_1.y = 265.5
|
|
L13_1.z = 428.925
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 0.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 36
|
|
L12_1.is_use_point_array = true
|
|
L12_1.area_id = 210
|
|
L13_1 = {}
|
|
L13_1.config_id = 61011
|
|
L13_1.gadget_id = 70330135
|
|
L14_1 = {}
|
|
L14_1.x = -152.666
|
|
L14_1.y = 265.5
|
|
L14_1.z = 434.67
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 0.0
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 36
|
|
L13_1.is_use_point_array = true
|
|
L13_1.area_id = 210
|
|
L14_1 = {}
|
|
L14_1.config_id = 61012
|
|
L14_1.gadget_id = 70330158
|
|
L15_1 = {}
|
|
L15_1.x = -143.948
|
|
L15_1.y = 264.254
|
|
L15_1.z = 428.925
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 0.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 36
|
|
L15_1 = GadgetState
|
|
L15_1 = L15_1.GearStart
|
|
L14_1.state = L15_1
|
|
L14_1.area_id = 210
|
|
L15_1 = {}
|
|
L15_1.config_id = 61013
|
|
L15_1.gadget_id = 70330158
|
|
L16_1 = {}
|
|
L16_1.x = -152.666
|
|
L16_1.y = 264.217
|
|
L16_1.z = 434.67
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 0.0
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 36
|
|
L16_1 = GadgetState
|
|
L16_1 = L16_1.GearStart
|
|
L15_1.state = L16_1
|
|
L15_1.area_id = 210
|
|
L16_1 = {}
|
|
L16_1.config_id = 61014
|
|
L16_1.gadget_id = 70330157
|
|
L17_1 = {}
|
|
L17_1.x = -138.151
|
|
L17_1.y = 264.304
|
|
L17_1.z = 423.03
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 0.0
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 36
|
|
L16_1.area_id = 210
|
|
L17_1 = {}
|
|
L17_1.config_id = 61015
|
|
L17_1.gadget_id = 70211161
|
|
L18_1 = {}
|
|
L18_1.x = -144.04
|
|
L18_1.y = 264.153
|
|
L18_1.z = 425.157
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 0.0
|
|
L18_1.y = 0.0
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 16
|
|
L17_1.drop_tag = "\230\184\138\228\184\139\229\174\171\230\180\187\229\138\168\228\184\173\231\186\167\231\168\187\229\166\187"
|
|
L17_1.isOneoff = true
|
|
L17_1.persistent = true
|
|
L17_1.area_id = 210
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
L2_1[11] = L13_1
|
|
L2_1[12] = L14_1
|
|
L2_1[13] = L15_1
|
|
L2_1[14] = L16_1
|
|
L2_1[15] = L17_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1061016
|
|
L3_1.name = "GADGET_CREATE_61016"
|
|
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_61016"
|
|
L3_1.action = "action_EVENT_GADGET_CREATE_61016"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1061017
|
|
L4_1.name = "GADGET_CREATE_61017"
|
|
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_61017"
|
|
L4_1.action = "action_EVENT_GADGET_CREATE_61017"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1061018
|
|
L5_1.name = "GADGET_CREATE_61018"
|
|
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_61018"
|
|
L5_1.action = "action_EVENT_GADGET_CREATE_61018"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1061019
|
|
L6_1.name = "GADGET_CREATE_61019"
|
|
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_61019"
|
|
L6_1.action = "action_EVENT_GADGET_CREATE_61019"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1061020
|
|
L7_1.name = "GADGET_CREATE_61020"
|
|
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_61020"
|
|
L7_1.action = "action_EVENT_GADGET_CREATE_61020"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1061021
|
|
L8_1.name = "SELECT_OPTION_61021"
|
|
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_61021"
|
|
L8_1.action = "action_EVENT_SELECT_OPTION_61021"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1061022
|
|
L9_1.name = "TIMER_EVENT_61022"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_TIMER_EVENT
|
|
L9_1.event = L10_1
|
|
L9_1.source = "route1"
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_TIMER_EVENT_61022"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1061023
|
|
L10_1.name = "SELECT_OPTION_61023"
|
|
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_61023"
|
|
L10_1.action = "action_EVENT_SELECT_OPTION_61023"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1061024
|
|
L11_1.name = "TIMER_EVENT_61024"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_TIMER_EVENT
|
|
L11_1.event = L12_1
|
|
L11_1.source = "route2"
|
|
L11_1.condition = ""
|
|
L11_1.action = "action_EVENT_TIMER_EVENT_61024"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1061025
|
|
L12_1.name = "SELECT_OPTION_61025"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_SELECT_OPTION
|
|
L12_1.event = L13_1
|
|
L12_1.source = ""
|
|
L12_1.condition = "condition_EVENT_SELECT_OPTION_61025"
|
|
L12_1.action = "action_EVENT_SELECT_OPTION_61025"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1061026
|
|
L13_1.name = "TIMER_EVENT_61026"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_TIMER_EVENT
|
|
L13_1.event = L14_1
|
|
L13_1.source = "route3"
|
|
L13_1.condition = ""
|
|
L13_1.action = "action_EVENT_TIMER_EVENT_61026"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1061027
|
|
L14_1.name = "SELECT_OPTION_61027"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_SELECT_OPTION
|
|
L14_1.event = L15_1
|
|
L14_1.source = ""
|
|
L14_1.condition = "condition_EVENT_SELECT_OPTION_61027"
|
|
L14_1.action = "action_EVENT_SELECT_OPTION_61027"
|
|
L14_1.trigger_count = 0
|
|
L15_1 = {}
|
|
L15_1.config_id = 1061028
|
|
L15_1.name = "TIMER_EVENT_61028"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_TIMER_EVENT
|
|
L15_1.event = L16_1
|
|
L15_1.source = "route4"
|
|
L15_1.condition = ""
|
|
L15_1.action = "action_EVENT_TIMER_EVENT_61028"
|
|
L15_1.trigger_count = 0
|
|
L16_1 = {}
|
|
L16_1.config_id = 1061029
|
|
L16_1.name = "SELECT_OPTION_61029"
|
|
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_61029"
|
|
L16_1.action = "action_EVENT_SELECT_OPTION_61029"
|
|
L16_1.trigger_count = 0
|
|
L17_1 = {}
|
|
L17_1.config_id = 1061030
|
|
L17_1.name = "TIMER_EVENT_61030"
|
|
L18_1 = EventType
|
|
L18_1 = L18_1.EVENT_TIMER_EVENT
|
|
L17_1.event = L18_1
|
|
L17_1.source = "route5"
|
|
L17_1.condition = ""
|
|
L17_1.action = "action_EVENT_TIMER_EVENT_61030"
|
|
L17_1.trigger_count = 0
|
|
L18_1 = {}
|
|
L18_1.config_id = 1061031
|
|
L18_1.name = "GADGET_STATE_CHANGE_61031"
|
|
L19_1 = EventType
|
|
L19_1 = L19_1.EVENT_GADGET_STATE_CHANGE
|
|
L18_1.event = L19_1
|
|
L18_1.source = ""
|
|
L18_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_61031"
|
|
L18_1.action = "action_EVENT_GADGET_STATE_CHANGE_61031"
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
L2_1[11] = L13_1
|
|
L2_1[12] = L14_1
|
|
L2_1[13] = L15_1
|
|
L2_1[14] = L16_1
|
|
L2_1[15] = L17_1
|
|
L2_1[16] = L18_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 61001
|
|
L6_1 = 61002
|
|
L7_1 = 61003
|
|
L8_1 = 61004
|
|
L9_1 = 61005
|
|
L10_1 = 61006
|
|
L11_1 = 61007
|
|
L12_1 = 61008
|
|
L13_1 = 61009
|
|
L14_1 = 61010
|
|
L15_1 = 61011
|
|
L16_1 = 61012
|
|
L17_1 = 61013
|
|
L18_1 = 61014
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L4_1[14] = L18_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_CREATE_61017"
|
|
L6_1 = "GADGET_CREATE_61018"
|
|
L7_1 = "GADGET_CREATE_61019"
|
|
L8_1 = "GADGET_CREATE_61020"
|
|
L9_1 = "SELECT_OPTION_61023"
|
|
L10_1 = "TIMER_EVENT_61024"
|
|
L11_1 = "SELECT_OPTION_61025"
|
|
L12_1 = "TIMER_EVENT_61026"
|
|
L13_1 = "SELECT_OPTION_61027"
|
|
L14_1 = "TIMER_EVENT_61028"
|
|
L15_1 = "SELECT_OPTION_61029"
|
|
L16_1 = "TIMER_EVENT_61030"
|
|
L17_1 = "GADGET_STATE_CHANGE_61031"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_1
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_61016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 31
|
|
L4_2[1] = L5_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_work_options"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_61016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_2
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_61017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 31
|
|
L4_2[1] = L5_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_work_options"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_61017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_3
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_61018 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 31
|
|
L4_2[1] = L5_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_work_options"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_61018 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_4
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_61019 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 31
|
|
L4_2[1] = L5_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_work_options"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_61019 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_5
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_61020 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 31
|
|
L4_2[1] = L5_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_work_options"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_61020 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_1
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 31 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_61021 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_1
|
|
L6_2 = 31
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = false
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.gadget_1
|
|
L6_2 = L1_1.pointarray_1
|
|
L7_2 = {}
|
|
L8_2 = L1_1.gadget_pointarray_1
|
|
L7_2[1] = L8_2
|
|
L8_2 = L2_2
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateGroupTimerEvent
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = "route1"
|
|
L7_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_61021 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_1
|
|
L6_2 = {}
|
|
L7_2 = 31
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_61022 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_2
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 31 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_61023 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_2
|
|
L6_2 = 31
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = false
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.gadget_2
|
|
L6_2 = L1_1.pointarray_1
|
|
L7_2 = {}
|
|
L8_2 = L1_1.gadget_pointarray_2
|
|
L7_2[1] = L8_2
|
|
L8_2 = L2_2
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateGroupTimerEvent
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = "route2"
|
|
L7_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_61023 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_2
|
|
L6_2 = {}
|
|
L7_2 = 31
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_61024 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_3
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 31 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_61025 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_3
|
|
L6_2 = 31
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = false
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.gadget_3
|
|
L6_2 = L1_1.pointarray_1
|
|
L7_2 = {}
|
|
L8_2 = L1_1.gadget_pointarray_3
|
|
L7_2[1] = L8_2
|
|
L8_2 = L2_2
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateGroupTimerEvent
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = "route3"
|
|
L7_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_61025 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_3
|
|
L6_2 = {}
|
|
L7_2 = 31
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_61026 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_4
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 31 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_61027 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_4
|
|
L6_2 = 31
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = false
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.gadget_4
|
|
L6_2 = L1_1.pointarray_1
|
|
L7_2 = {}
|
|
L8_2 = L1_1.gadget_pointarray_4
|
|
L7_2[1] = L8_2
|
|
L8_2 = L2_2
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateGroupTimerEvent
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = "route4"
|
|
L7_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_61027 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_4
|
|
L6_2 = {}
|
|
L7_2 = 31
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_61028 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = L1_1.gadget_controller_5
|
|
L3_2 = A1_2.param1
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 31 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_61029 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_5
|
|
L6_2 = 31
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = false
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.gadget_5
|
|
L6_2 = L1_1.pointarray_1
|
|
L7_2 = {}
|
|
L8_2 = L1_1.gadget_pointarray_5
|
|
L7_2[1] = L8_2
|
|
L8_2 = L2_2
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateGroupTimerEvent
|
|
L4_2 = A0_2
|
|
L5_2 = L1_1.group_id
|
|
L6_2 = "route5"
|
|
L7_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_61029 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = L1_1.gadget_controller_5
|
|
L6_2 = {}
|
|
L7_2 = 31
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_61030 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 61004 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = A1_2.param1
|
|
if L2_2 == L3_2 then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_61031 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 61015
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_61031 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_5/Watcher_Puzzle"
|
|
L2_1(L3_1)
|