mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
2669 lines
55 KiB
Lua
2669 lines
55 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, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 144002041
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 41001
|
|
L2_1.gadget_id = 70360006
|
|
L3_1 = {}
|
|
L3_1.x = 446.047
|
|
L3_1.y = 120.104
|
|
L3_1.z = -355.361
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 338.631
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 101
|
|
L3_1 = {}
|
|
L3_1.config_id = 41002
|
|
L3_1.gadget_id = 70211112
|
|
L4_1 = {}
|
|
L4_1.x = 396.586
|
|
L4_1.y = 121.566
|
|
L4_1.z = -410.921
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 338.631
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 16
|
|
L3_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\190\164\229\178\155"
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.ChestLocked
|
|
L3_1.state = L4_1
|
|
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 = 101
|
|
L4_1 = {}
|
|
L4_1.config_id = 41003
|
|
L4_1.gadget_id = 70950079
|
|
L5_1 = {}
|
|
L5_1.x = 390.064
|
|
L5_1.y = 123.962
|
|
L5_1.z = -381.209
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.229
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.is_use_point_array = true
|
|
L4_1.area_id = 101
|
|
L5_1 = {}
|
|
L5_1.config_id = 41004
|
|
L5_1.gadget_id = 70350243
|
|
L6_1 = {}
|
|
L6_1.x = 390.064
|
|
L6_1.y = 120.195
|
|
L6_1.z = -381.209
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 178.665
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L6_1 = GadgetState
|
|
L6_1 = L6_1.GearStop
|
|
L5_1.state = L6_1
|
|
L5_1.area_id = 101
|
|
L6_1 = {}
|
|
L6_1.config_id = 41005
|
|
L6_1.gadget_id = 70360001
|
|
L7_1 = {}
|
|
L7_1.x = 390.064
|
|
L7_1.y = 120.195
|
|
L7_1.z = -381.209
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 178.665
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 101
|
|
L7_1 = {}
|
|
L7_1.config_id = 41007
|
|
L7_1.gadget_id = 70950079
|
|
L8_1 = {}
|
|
L8_1.x = 446.85
|
|
L8_1.y = 124.702
|
|
L8_1.z = -362.69
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 172.973
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.is_use_point_array = true
|
|
L7_1.area_id = 101
|
|
L8_1 = {}
|
|
L8_1.config_id = 41008
|
|
L8_1.gadget_id = 70350243
|
|
L9_1 = {}
|
|
L9_1.x = 447.071
|
|
L9_1.y = 120.528
|
|
L9_1.z = -362.634
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 111.051
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L9_1 = GadgetState
|
|
L9_1 = L9_1.GearStop
|
|
L8_1.state = L9_1
|
|
L8_1.area_id = 101
|
|
L9_1 = {}
|
|
L9_1.config_id = 41009
|
|
L9_1.gadget_id = 70950079
|
|
L10_1 = {}
|
|
L10_1.x = 414.854
|
|
L10_1.y = 124.483
|
|
L10_1.z = -368.191
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 242.164
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.is_use_point_array = true
|
|
L9_1.area_id = 101
|
|
L10_1 = {}
|
|
L10_1.config_id = 41010
|
|
L10_1.gadget_id = 70350243
|
|
L11_1 = {}
|
|
L11_1.x = 414.854
|
|
L11_1.y = 120.243
|
|
L11_1.z = -368.191
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 178.665
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L11_1 = GadgetState
|
|
L11_1 = L11_1.GearStop
|
|
L10_1.state = L11_1
|
|
L10_1.area_id = 101
|
|
L11_1 = {}
|
|
L11_1.config_id = 41011
|
|
L11_1.gadget_id = 70360001
|
|
L12_1 = {}
|
|
L12_1.x = 414.854
|
|
L12_1.y = 120.243
|
|
L12_1.z = -368.191
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 178.665
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.area_id = 101
|
|
L12_1 = {}
|
|
L12_1.config_id = 41012
|
|
L12_1.gadget_id = 70950077
|
|
L13_1 = {}
|
|
L13_1.x = 386.559
|
|
L13_1.y = 125.0
|
|
L13_1.z = -407.51
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 170.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.is_use_point_array = true
|
|
L12_1.area_id = 101
|
|
L13_1 = {}
|
|
L13_1.config_id = 41013
|
|
L13_1.gadget_id = 70350241
|
|
L14_1 = {}
|
|
L14_1.x = 386.559
|
|
L14_1.y = 120.885
|
|
L14_1.z = -407.51
|
|
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 = 1
|
|
L14_1 = GadgetState
|
|
L14_1 = L14_1.GearStop
|
|
L13_1.state = L14_1
|
|
L13_1.area_id = 101
|
|
L14_1 = {}
|
|
L14_1.config_id = 41014
|
|
L14_1.gadget_id = 70360001
|
|
L15_1 = {}
|
|
L15_1.x = 386.559
|
|
L15_1.y = 120.885
|
|
L15_1.z = -407.51
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 6.421
|
|
L15_1.y = 69.683
|
|
L15_1.z = 358.391
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L14_1.area_id = 101
|
|
L15_1 = {}
|
|
L15_1.config_id = 41019
|
|
L15_1.gadget_id = 70360001
|
|
L16_1 = {}
|
|
L16_1.x = 447.071
|
|
L16_1.y = 120.528
|
|
L16_1.z = -362.634
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 6.421
|
|
L16_1.y = 69.683
|
|
L16_1.z = 358.391
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L15_1.area_id = 101
|
|
L16_1 = {}
|
|
L16_1.config_id = 41027
|
|
L16_1.gadget_id = 70950074
|
|
L17_1 = {}
|
|
L17_1.x = 391.365
|
|
L17_1.y = 125.0
|
|
L17_1.z = -411.632
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 353.068
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 1
|
|
L16_1.is_use_point_array = true
|
|
L16_1.area_id = 101
|
|
L17_1 = {}
|
|
L17_1.config_id = 41048
|
|
L17_1.gadget_id = 70350085
|
|
L18_1 = {}
|
|
L18_1.x = 391.365
|
|
L18_1.y = 125.0
|
|
L18_1.z = -411.632
|
|
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 = 1
|
|
L17_1.area_id = 101
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1041006
|
|
L2_1.name = "GADGET_STATE_CHANGE_41006"
|
|
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_41006"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_41006"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1041015
|
|
L3_1.name = "GADGET_STATE_CHANGE_41015"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41015"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_41015"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1041016
|
|
L4_1.name = "GADGET_CREATE_41016"
|
|
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_41016"
|
|
L4_1.action = "action_EVENT_GADGET_CREATE_41016"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1041018
|
|
L5_1.name = "SELECT_OPTION_41018"
|
|
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_41018"
|
|
L5_1.action = "action_EVENT_SELECT_OPTION_41018"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1041020
|
|
L6_1.name = "GADGET_CREATE_41020"
|
|
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_41020"
|
|
L6_1.action = "action_EVENT_GADGET_CREATE_41020"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1041021
|
|
L7_1.name = "SELECT_OPTION_41021"
|
|
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_41021"
|
|
L7_1.action = "action_EVENT_SELECT_OPTION_41021"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1041022
|
|
L8_1.name = "SELECT_OPTION_41022"
|
|
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_41022"
|
|
L8_1.action = "action_EVENT_SELECT_OPTION_41022"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1041023
|
|
L9_1.name = "SELECT_OPTION_41023"
|
|
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_41023"
|
|
L9_1.action = "action_EVENT_SELECT_OPTION_41023"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1041024
|
|
L10_1.name = "VARIABLE_CHANGE_41024"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_VARIABLE_CHANGE
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_VARIABLE_CHANGE_41024"
|
|
L10_1.action = "action_EVENT_VARIABLE_CHANGE_41024"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1041025
|
|
L11_1.name = "SELECT_OPTION_41025"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_SELECT_OPTION
|
|
L11_1.event = L12_1
|
|
L11_1.source = ""
|
|
L11_1.condition = "condition_EVENT_SELECT_OPTION_41025"
|
|
L11_1.action = "action_EVENT_SELECT_OPTION_41025"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1041026
|
|
L12_1.name = "SELECT_OPTION_41026"
|
|
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_41026"
|
|
L12_1.action = "action_EVENT_SELECT_OPTION_41026"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1041028
|
|
L13_1.name = "SELECT_OPTION_41028"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_SELECT_OPTION
|
|
L13_1.event = L14_1
|
|
L13_1.source = ""
|
|
L13_1.condition = "condition_EVENT_SELECT_OPTION_41028"
|
|
L13_1.action = "action_EVENT_SELECT_OPTION_41028"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1041029
|
|
L14_1.name = "GROUP_LOAD_41029"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_GROUP_LOAD
|
|
L14_1.event = L15_1
|
|
L14_1.source = ""
|
|
L14_1.condition = ""
|
|
L14_1.action = "action_EVENT_GROUP_LOAD_41029"
|
|
L14_1.trigger_count = 0
|
|
L15_1 = {}
|
|
L15_1.config_id = 1041030
|
|
L15_1.name = "SELECT_OPTION_41030"
|
|
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_41030"
|
|
L15_1.action = "action_EVENT_SELECT_OPTION_41030"
|
|
L15_1.trigger_count = 0
|
|
L16_1 = {}
|
|
L16_1.config_id = 1041031
|
|
L16_1.name = "VARIABLE_CHANGE_41031"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_VARIABLE_CHANGE
|
|
L16_1.event = L17_1
|
|
L16_1.source = ""
|
|
L16_1.condition = "condition_EVENT_VARIABLE_CHANGE_41031"
|
|
L16_1.action = "action_EVENT_VARIABLE_CHANGE_41031"
|
|
L16_1.trigger_count = 0
|
|
L17_1 = {}
|
|
L17_1.config_id = 1041032
|
|
L17_1.name = "SELECT_OPTION_41032"
|
|
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_41032"
|
|
L17_1.action = "action_EVENT_SELECT_OPTION_41032"
|
|
L17_1.trigger_count = 0
|
|
L18_1 = {}
|
|
L18_1.config_id = 1041033
|
|
L18_1.name = "SELECT_OPTION_41033"
|
|
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_41033"
|
|
L18_1.action = "action_EVENT_SELECT_OPTION_41033"
|
|
L18_1.trigger_count = 0
|
|
L19_1 = {}
|
|
L19_1.config_id = 1041034
|
|
L19_1.name = "SELECT_OPTION_41034"
|
|
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_41034"
|
|
L19_1.action = "action_EVENT_SELECT_OPTION_41034"
|
|
L19_1.trigger_count = 0
|
|
L20_1 = {}
|
|
L20_1.config_id = 1041035
|
|
L20_1.name = "GADGET_STATE_CHANGE_41035"
|
|
L21_1 = EventType
|
|
L21_1 = L21_1.EVENT_GADGET_STATE_CHANGE
|
|
L20_1.event = L21_1
|
|
L20_1.source = ""
|
|
L20_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41035"
|
|
L20_1.action = "action_EVENT_GADGET_STATE_CHANGE_41035"
|
|
L20_1.trigger_count = 0
|
|
L21_1 = {}
|
|
L21_1.config_id = 1041036
|
|
L21_1.name = "GADGET_STATE_CHANGE_41036"
|
|
L22_1 = EventType
|
|
L22_1 = L22_1.EVENT_GADGET_STATE_CHANGE
|
|
L21_1.event = L22_1
|
|
L21_1.source = ""
|
|
L21_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41036"
|
|
L21_1.action = "action_EVENT_GADGET_STATE_CHANGE_41036"
|
|
L21_1.trigger_count = 0
|
|
L22_1 = {}
|
|
L22_1.config_id = 1041037
|
|
L22_1.name = "SELECT_OPTION_41037"
|
|
L23_1 = EventType
|
|
L23_1 = L23_1.EVENT_SELECT_OPTION
|
|
L22_1.event = L23_1
|
|
L22_1.source = ""
|
|
L22_1.condition = "condition_EVENT_SELECT_OPTION_41037"
|
|
L22_1.action = "action_EVENT_SELECT_OPTION_41037"
|
|
L22_1.trigger_count = 0
|
|
L23_1 = {}
|
|
L23_1.config_id = 1041038
|
|
L23_1.name = "GADGET_STATE_CHANGE_41038"
|
|
L24_1 = EventType
|
|
L24_1 = L24_1.EVENT_GADGET_STATE_CHANGE
|
|
L23_1.event = L24_1
|
|
L23_1.source = ""
|
|
L23_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41038"
|
|
L23_1.action = "action_EVENT_GADGET_STATE_CHANGE_41038"
|
|
L23_1.trigger_count = 0
|
|
L24_1 = {}
|
|
L24_1.config_id = 1041039
|
|
L24_1.name = "GADGET_STATE_CHANGE_41039"
|
|
L25_1 = EventType
|
|
L25_1 = L25_1.EVENT_GADGET_STATE_CHANGE
|
|
L24_1.event = L25_1
|
|
L24_1.source = ""
|
|
L24_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41039"
|
|
L24_1.action = "action_EVENT_GADGET_STATE_CHANGE_41039"
|
|
L24_1.trigger_count = 0
|
|
L25_1 = {}
|
|
L25_1.config_id = 1041040
|
|
L25_1.name = "GADGET_CREATE_41040"
|
|
L26_1 = EventType
|
|
L26_1 = L26_1.EVENT_GADGET_CREATE
|
|
L25_1.event = L26_1
|
|
L25_1.source = ""
|
|
L25_1.condition = "condition_EVENT_GADGET_CREATE_41040"
|
|
L25_1.action = "action_EVENT_GADGET_CREATE_41040"
|
|
L25_1.trigger_count = 0
|
|
L26_1 = {}
|
|
L26_1.config_id = 1041041
|
|
L26_1.name = "GADGET_STATE_CHANGE_41041"
|
|
L27_1 = EventType
|
|
L27_1 = L27_1.EVENT_GADGET_STATE_CHANGE
|
|
L26_1.event = L27_1
|
|
L26_1.source = ""
|
|
L26_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41041"
|
|
L26_1.action = "action_EVENT_GADGET_STATE_CHANGE_41041"
|
|
L26_1.trigger_count = 0
|
|
L27_1 = {}
|
|
L27_1.config_id = 1041042
|
|
L27_1.name = "GADGET_STATE_CHANGE_41042"
|
|
L28_1 = EventType
|
|
L28_1 = L28_1.EVENT_GADGET_STATE_CHANGE
|
|
L27_1.event = L28_1
|
|
L27_1.source = ""
|
|
L27_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41042"
|
|
L27_1.action = "action_EVENT_GADGET_STATE_CHANGE_41042"
|
|
L27_1.trigger_count = 0
|
|
L28_1 = {}
|
|
L28_1.config_id = 1041043
|
|
L28_1.name = "GADGET_CREATE_41043"
|
|
L29_1 = EventType
|
|
L29_1 = L29_1.EVENT_GADGET_CREATE
|
|
L28_1.event = L29_1
|
|
L28_1.source = ""
|
|
L28_1.condition = "condition_EVENT_GADGET_CREATE_41043"
|
|
L28_1.action = "action_EVENT_GADGET_CREATE_41043"
|
|
L28_1.trigger_count = 0
|
|
L29_1 = {}
|
|
L29_1.config_id = 1041044
|
|
L29_1.name = "SELECT_OPTION_41044"
|
|
L30_1 = EventType
|
|
L30_1 = L30_1.EVENT_SELECT_OPTION
|
|
L29_1.event = L30_1
|
|
L29_1.source = ""
|
|
L29_1.condition = "condition_EVENT_SELECT_OPTION_41044"
|
|
L29_1.action = "action_EVENT_SELECT_OPTION_41044"
|
|
L29_1.trigger_count = 0
|
|
L30_1 = {}
|
|
L30_1.config_id = 1041045
|
|
L30_1.name = "SELECT_OPTION_41045"
|
|
L31_1 = EventType
|
|
L31_1 = L31_1.EVENT_SELECT_OPTION
|
|
L30_1.event = L31_1
|
|
L30_1.source = ""
|
|
L30_1.condition = "condition_EVENT_SELECT_OPTION_41045"
|
|
L30_1.action = "action_EVENT_SELECT_OPTION_41045"
|
|
L30_1.trigger_count = 0
|
|
L31_1 = {}
|
|
L31_1.config_id = 1041046
|
|
L31_1.name = "SELECT_OPTION_41046"
|
|
L32_1 = EventType
|
|
L32_1 = L32_1.EVENT_SELECT_OPTION
|
|
L31_1.event = L32_1
|
|
L31_1.source = ""
|
|
L31_1.condition = "condition_EVENT_SELECT_OPTION_41046"
|
|
L31_1.action = "action_EVENT_SELECT_OPTION_41046"
|
|
L31_1.trigger_count = 0
|
|
L32_1 = {}
|
|
L32_1.config_id = 1041047
|
|
L32_1.name = "VARIABLE_CHANGE_41047"
|
|
L33_1 = EventType
|
|
L33_1 = L33_1.EVENT_VARIABLE_CHANGE
|
|
L32_1.event = L33_1
|
|
L32_1.source = ""
|
|
L32_1.condition = "condition_EVENT_VARIABLE_CHANGE_41047"
|
|
L32_1.action = "action_EVENT_VARIABLE_CHANGE_41047"
|
|
L32_1.trigger_count = 0
|
|
L33_1 = {}
|
|
L33_1.config_id = 1041062
|
|
L33_1.name = "ANY_GADGET_DIE_41062"
|
|
L34_1 = EventType
|
|
L34_1 = L34_1.EVENT_ANY_GADGET_DIE
|
|
L33_1.event = L34_1
|
|
L33_1.source = ""
|
|
L33_1.condition = "condition_EVENT_ANY_GADGET_DIE_41062"
|
|
L33_1.action = "action_EVENT_ANY_GADGET_DIE_41062"
|
|
L33_1.trigger_count = 0
|
|
L34_1 = {}
|
|
L34_1.config_id = 1041063
|
|
L34_1.name = "GADGET_STATE_CHANGE_41063"
|
|
L35_1 = EventType
|
|
L35_1 = L35_1.EVENT_GADGET_STATE_CHANGE
|
|
L34_1.event = L35_1
|
|
L34_1.source = ""
|
|
L34_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41063"
|
|
L34_1.action = "action_EVENT_GADGET_STATE_CHANGE_41063"
|
|
L34_1.trigger_count = 0
|
|
L35_1 = {}
|
|
L35_1.config_id = 1041064
|
|
L35_1.name = "GADGET_STATE_CHANGE_41064"
|
|
L36_1 = EventType
|
|
L36_1 = L36_1.EVENT_GADGET_STATE_CHANGE
|
|
L35_1.event = L36_1
|
|
L35_1.source = ""
|
|
L35_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41064"
|
|
L35_1.action = "action_EVENT_GADGET_STATE_CHANGE_41064"
|
|
L35_1.trigger_count = 0
|
|
L36_1 = {}
|
|
L36_1.config_id = 1041065
|
|
L36_1.name = "GADGET_STATE_CHANGE_41065"
|
|
L37_1 = EventType
|
|
L37_1 = L37_1.EVENT_GADGET_STATE_CHANGE
|
|
L36_1.event = L37_1
|
|
L36_1.source = ""
|
|
L36_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_41065"
|
|
L36_1.action = "action_EVENT_GADGET_STATE_CHANGE_41065"
|
|
L36_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
|
|
L1_1[23] = L24_1
|
|
L1_1[24] = L25_1
|
|
L1_1[25] = L26_1
|
|
L1_1[26] = L27_1
|
|
L1_1[27] = L28_1
|
|
L1_1[28] = L29_1
|
|
L1_1[29] = L30_1
|
|
L1_1[30] = L31_1
|
|
L1_1[31] = L32_1
|
|
L1_1[32] = L33_1
|
|
L1_1[33] = L34_1
|
|
L1_1[34] = L35_1
|
|
L1_1[35] = L36_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "hoop1Pos"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L4_1 = "hoop2Pos"
|
|
L3_1.name = L4_1
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = false
|
|
L4_1 = {}
|
|
L5_1 = 3
|
|
L4_1.configId = L5_1
|
|
L5_1 = "complete"
|
|
L4_1.name = L5_1
|
|
L4_1.value = 0
|
|
L4_1.no_refresh = false
|
|
L5_1 = {}
|
|
L6_1 = 4
|
|
L5_1.configId = L6_1
|
|
L6_1 = "turncount1"
|
|
L5_1.name = L6_1
|
|
L5_1.value = 0
|
|
L5_1.no_refresh = false
|
|
L6_1 = {}
|
|
L7_1 = 5
|
|
L6_1.configId = L7_1
|
|
L7_1 = "turncount2"
|
|
L6_1.name = L7_1
|
|
L6_1.value = 0
|
|
L6_1.no_refresh = false
|
|
L7_1 = {}
|
|
L8_1 = 6
|
|
L7_1.configId = L8_1
|
|
L8_1 = "turncount3"
|
|
L7_1.name = L8_1
|
|
L7_1.value = 0
|
|
L7_1.no_refresh = false
|
|
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
|
|
variables = L1_1
|
|
L1_1 = "init_config"
|
|
L2_1 = {}
|
|
L3_1 = "suite"
|
|
L2_1[L3_1] = 1
|
|
L3_1 = "end_suite"
|
|
L4_1 = 3
|
|
L2_1[L3_1] = L4_1
|
|
L3_1 = "rand_suite"
|
|
L2_1[L3_1] = false
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "suites"
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 41001
|
|
L6_1 = 41002
|
|
L7_1 = 41027
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GROUP_LOAD_41029"
|
|
L6_1 = "ANY_GADGET_DIE_41062"
|
|
L7_1 = "GADGET_STATE_CHANGE_41063"
|
|
L8_1 = "GADGET_STATE_CHANGE_41064"
|
|
L9_1 = "GADGET_STATE_CHANGE_41065"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L4_1 = "rand_weight"
|
|
L5_1 = 100
|
|
L3_1[L4_1] = L5_1
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 41048
|
|
L5_1[1] = L6_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L4_1.triggers = L5_1
|
|
L5_1 = "rand_weight"
|
|
L6_1 = 100
|
|
L4_1[L5_1] = L6_1
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L5_1.triggers = L6_1
|
|
L6_1 = "rand_weight"
|
|
L7_1 = 100
|
|
L5_1[L6_1] = L7_1
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L6_1.triggers = L7_1
|
|
L7_1 = "rand_weight"
|
|
L8_1 = 100
|
|
L6_1[L7_1] = L8_1
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L7_1.monsters = L8_1
|
|
L8_1 = {}
|
|
L9_1 = 41007
|
|
L10_1 = 41008
|
|
L11_1 = 41019
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L8_1[3] = L11_1
|
|
L7_1.gadgets = L8_1
|
|
L8_1 = {}
|
|
L7_1.regions = L8_1
|
|
L8_1 = {}
|
|
L9_1 = "SELECT_OPTION_41018"
|
|
L10_1 = "GADGET_CREATE_41020"
|
|
L11_1 = "SELECT_OPTION_41021"
|
|
L12_1 = "SELECT_OPTION_41022"
|
|
L13_1 = "SELECT_OPTION_41023"
|
|
L14_1 = "VARIABLE_CHANGE_41024"
|
|
L15_1 = "GADGET_STATE_CHANGE_41035"
|
|
L16_1 = "GADGET_STATE_CHANGE_41036"
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L8_1[3] = L11_1
|
|
L8_1[4] = L12_1
|
|
L8_1[5] = L13_1
|
|
L8_1[6] = L14_1
|
|
L8_1[7] = L15_1
|
|
L8_1[8] = L16_1
|
|
L7_1.triggers = L8_1
|
|
L8_1 = "rand_weight"
|
|
L9_1 = 100
|
|
L7_1[L8_1] = L9_1
|
|
L8_1 = {}
|
|
L9_1 = {}
|
|
L8_1.monsters = L9_1
|
|
L9_1 = {}
|
|
L10_1 = 41009
|
|
L11_1 = 41010
|
|
L12_1 = 41011
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L9_1[3] = L12_1
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L10_1 = "SELECT_OPTION_41025"
|
|
L11_1 = "SELECT_OPTION_41026"
|
|
L12_1 = "SELECT_OPTION_41028"
|
|
L13_1 = "SELECT_OPTION_41030"
|
|
L14_1 = "VARIABLE_CHANGE_41031"
|
|
L15_1 = "GADGET_STATE_CHANGE_41038"
|
|
L16_1 = "GADGET_STATE_CHANGE_41039"
|
|
L17_1 = "GADGET_CREATE_41040"
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L9_1[3] = L12_1
|
|
L9_1[4] = L13_1
|
|
L9_1[5] = L14_1
|
|
L9_1[6] = L15_1
|
|
L9_1[7] = L16_1
|
|
L9_1[8] = L17_1
|
|
L8_1.triggers = L9_1
|
|
L9_1 = "rand_weight"
|
|
L10_1 = 100
|
|
L8_1[L9_1] = L10_1
|
|
L9_1 = {}
|
|
L10_1 = {}
|
|
L9_1.monsters = L10_1
|
|
L10_1 = {}
|
|
L11_1 = 41012
|
|
L12_1 = 41013
|
|
L13_1 = 41014
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L10_1[3] = L13_1
|
|
L9_1.gadgets = L10_1
|
|
L10_1 = {}
|
|
L9_1.regions = L10_1
|
|
L10_1 = {}
|
|
L11_1 = "GADGET_STATE_CHANGE_41041"
|
|
L12_1 = "GADGET_STATE_CHANGE_41042"
|
|
L13_1 = "GADGET_CREATE_41043"
|
|
L14_1 = "SELECT_OPTION_41044"
|
|
L15_1 = "SELECT_OPTION_41045"
|
|
L16_1 = "SELECT_OPTION_41046"
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L10_1[3] = L13_1
|
|
L10_1[4] = L14_1
|
|
L10_1[5] = L15_1
|
|
L10_1[6] = L16_1
|
|
L9_1.triggers = L10_1
|
|
L10_1 = "rand_weight"
|
|
L11_1 = 100
|
|
L9_1[L10_1] = L11_1
|
|
L10_1 = {}
|
|
L11_1 = {}
|
|
L10_1.monsters = L11_1
|
|
L11_1 = {}
|
|
L12_1 = 41003
|
|
L13_1 = 41004
|
|
L14_1 = 41005
|
|
L11_1[1] = L12_1
|
|
L11_1[2] = L13_1
|
|
L11_1[3] = L14_1
|
|
L10_1.gadgets = L11_1
|
|
L11_1 = {}
|
|
L10_1.regions = L11_1
|
|
L11_1 = {}
|
|
L12_1 = "GADGET_STATE_CHANGE_41006"
|
|
L13_1 = "GADGET_STATE_CHANGE_41015"
|
|
L14_1 = "GADGET_CREATE_41016"
|
|
L15_1 = "SELECT_OPTION_41032"
|
|
L16_1 = "SELECT_OPTION_41033"
|
|
L17_1 = "SELECT_OPTION_41034"
|
|
L18_1 = "SELECT_OPTION_41037"
|
|
L19_1 = "VARIABLE_CHANGE_41047"
|
|
L11_1[1] = L12_1
|
|
L11_1[2] = L13_1
|
|
L11_1[3] = L14_1
|
|
L11_1[4] = L15_1
|
|
L11_1[5] = L16_1
|
|
L11_1[6] = L17_1
|
|
L11_1[7] = L18_1
|
|
L11_1[8] = L19_1
|
|
L10_1.triggers = L11_1
|
|
L11_1 = "rand_weight"
|
|
L12_1 = 100
|
|
L10_1[L11_1] = L12_1
|
|
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
|
|
_ENV[L1_1] = L2_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == 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_41006 = 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 = 41003
|
|
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_GADGET_STATE_CHANGE_41006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
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_41015 = 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 = 41003
|
|
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_GADGET_STATE_CHANGE_41015 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_41016 = 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 = 144002041
|
|
L5_2 = 41005
|
|
L6_2 = {}
|
|
L7_2 = 211
|
|
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_41016 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41019 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount1"
|
|
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_SELECT_OPTION_41018 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41007
|
|
L6_2 = 400200005
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount1"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41018 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41019 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_41020 = 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 = 144002041
|
|
L5_2 = 41019
|
|
L6_2 = {}
|
|
L7_2 = 211
|
|
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_41020 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41019 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount1"
|
|
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_SELECT_OPTION_41021 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41007
|
|
L6_2 = 400200005
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount1"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41021 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41019 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount1"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_41022 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41007
|
|
L6_2 = 400200005
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount1"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41022 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41019 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount1"
|
|
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_SELECT_OPTION_41023 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41007
|
|
L6_2 = 400200005
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount1"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41023 = 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 = 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 = "turncount1"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 < 4 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_41024 = 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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount1"
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_41024 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount2"
|
|
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_SELECT_OPTION_41025 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41009
|
|
L6_2 = 400200009
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount2"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41025 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount2"
|
|
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_SELECT_OPTION_41026 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41009
|
|
L6_2 = 400200009
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount2"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41026 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount2"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_41028 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41009
|
|
L6_2 = 400200009
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount2"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41028 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 6
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 8
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_41029 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount2"
|
|
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_SELECT_OPTION_41030 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41009
|
|
L6_2 = 400200009
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount2"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41030 = 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 = 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 = "turncount2"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 < 4 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_41031 = 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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount2"
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_41031 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount3"
|
|
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_SELECT_OPTION_41032 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41003
|
|
L6_2 = 400200010
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount3"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41032 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount3"
|
|
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_SELECT_OPTION_41033 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41003
|
|
L6_2 = 400200010
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount3"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41033 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount3"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_41034 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41003
|
|
L6_2 = 400200010
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount3"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41034 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == 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_41035 = 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 = 41007
|
|
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_GADGET_STATE_CHANGE_41035 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
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_41036 = 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 = 41007
|
|
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_GADGET_STATE_CHANGE_41036 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 41005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 211 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount3"
|
|
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_SELECT_OPTION_41037 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.route_type = 0
|
|
L2_2.turn_mode = true
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetPlatformPointArray
|
|
L4_2 = A0_2
|
|
L5_2 = 41003
|
|
L6_2 = 400200010
|
|
L7_2 = {}
|
|
L8_2 = 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.ChangeGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "turncount3"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41037 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == 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_41038 = 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 = 41009
|
|
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_GADGET_STATE_CHANGE_41038 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
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_41039 = 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 = 41009
|
|
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_GADGET_STATE_CHANGE_41039 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_41040 = 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 = 144002041
|
|
L5_2 = 41011
|
|
L6_2 = {}
|
|
L7_2 = 211
|
|
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_41040 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == 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_41041 = 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 = 41012
|
|
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_GADGET_STATE_CHANGE_41041 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
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_41042 = 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 = 41012
|
|
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_GADGET_STATE_CHANGE_41042 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41014 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_41043 = 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
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 41014
|
|
L6_2 = {}
|
|
L7_2 = 217
|
|
L8_2 = 218
|
|
L9_2 = 219
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L6_2[3] = L9_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_41043 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41014 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 217 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_41044 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
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 = 41012
|
|
L6_2 = 400200011
|
|
L7_2 = {}
|
|
L8_2 = 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 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41044 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41014 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 218 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_41045 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
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 = 41012
|
|
L6_2 = 400200011
|
|
L7_2 = {}
|
|
L8_2 = 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 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41045 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41014 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 219 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_41046 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
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 = 41012
|
|
L6_2 = 400200011
|
|
L7_2 = {}
|
|
L8_2 = 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 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_41046 = 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 = 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 = "turncount3"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 < 4 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_41047 = 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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount3"
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_41047 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 41027 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_41062 = 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 = 41002
|
|
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.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "complete"
|
|
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.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_41062 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41002 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.ChestOpened
|
|
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_41063 = 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.GoToGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 3
|
|
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 : goto_groupSuite"
|
|
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_41063 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == 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 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "complete"
|
|
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_STATE_CHANGE_41064 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_41064 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 41001 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.Default
|
|
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_41065 = 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.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144002041
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_41065 = L1_1
|