mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
2735 lines
57 KiB
Lua
2735 lines
57 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 144001151
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 151001
|
|
L2_1.gadget_id = 70360006
|
|
L3_1 = {}
|
|
L3_1.x = 340.924
|
|
L3_1.y = 119.624
|
|
L3_1.z = 448.499
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 2.56
|
|
L3_1.y = 308.975
|
|
L3_1.z = 356.567
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 102
|
|
L3_1 = {}
|
|
L3_1.config_id = 151002
|
|
L3_1.gadget_id = 70211112
|
|
L4_1 = {}
|
|
L4_1.x = 339.877
|
|
L4_1.y = 123.939
|
|
L4_1.z = 434.926
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 7.766
|
|
L4_1.y = 351.961
|
|
L4_1.z = 4.281
|
|
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 = 102
|
|
L4_1 = {}
|
|
L4_1.config_id = 151003
|
|
L4_1.gadget_id = 70950076
|
|
L5_1 = {}
|
|
L5_1.x = 346.883
|
|
L5_1.y = 123.577
|
|
L5_1.z = 445.713
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 29.283
|
|
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 = 102
|
|
L5_1 = {}
|
|
L5_1.config_id = 151004
|
|
L5_1.gadget_id = 70350240
|
|
L6_1 = {}
|
|
L6_1.x = 346.834
|
|
L6_1.y = 119.699
|
|
L6_1.z = 445.816
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 67.55
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 102
|
|
L6_1 = {}
|
|
L6_1.config_id = 151005
|
|
L6_1.gadget_id = 70950079
|
|
L7_1 = {}
|
|
L7_1.x = 343.827
|
|
L7_1.y = 124.057
|
|
L7_1.z = 440.659
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 304.243
|
|
L7_1.z = 357.542
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.is_use_point_array = true
|
|
L6_1.area_id = 102
|
|
L7_1 = {}
|
|
L7_1.config_id = 151006
|
|
L7_1.gadget_id = 70350243
|
|
L8_1 = {}
|
|
L8_1.x = 343.936
|
|
L8_1.y = 120.615
|
|
L8_1.z = 440.624
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 162.51
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L8_1 = GadgetState
|
|
L8_1 = L8_1.GearStop
|
|
L7_1.state = L8_1
|
|
L7_1.area_id = 102
|
|
L8_1 = {}
|
|
L8_1.config_id = 151007
|
|
L8_1.gadget_id = 70950079
|
|
L9_1 = {}
|
|
L9_1.x = 334.03
|
|
L9_1.y = 122.82
|
|
L9_1.z = 437.68
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 358.493
|
|
L9_1.y = 202.96
|
|
L9_1.z = 328.022
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.is_use_point_array = true
|
|
L8_1.area_id = 102
|
|
L9_1 = {}
|
|
L9_1.config_id = 151008
|
|
L9_1.gadget_id = 70350243
|
|
L10_1 = {}
|
|
L10_1.x = 334.827
|
|
L10_1.y = 119.446
|
|
L10_1.z = 437.265
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 195.164
|
|
L10_1.z = 345.453
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.area_id = 102
|
|
L10_1 = {}
|
|
L10_1.config_id = 151009
|
|
L10_1.gadget_id = 70950079
|
|
L11_1 = {}
|
|
L11_1.x = 335.368
|
|
L11_1.y = 121.778
|
|
L11_1.z = 453.717
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 198.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.is_use_point_array = true
|
|
L10_1.area_id = 102
|
|
L11_1 = {}
|
|
L11_1.config_id = 151010
|
|
L11_1.gadget_id = 70350243
|
|
L12_1 = {}
|
|
L12_1.x = 335.477
|
|
L12_1.y = 118.244
|
|
L12_1.z = 453.682
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 4.129
|
|
L12_1.y = 307.35
|
|
L12_1.z = 354.839
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L12_1 = GadgetState
|
|
L12_1 = L12_1.GearStop
|
|
L11_1.state = L12_1
|
|
L11_1.area_id = 102
|
|
L12_1 = {}
|
|
L12_1.config_id = 151011
|
|
L12_1.gadget_id = 70360001
|
|
L13_1 = {}
|
|
L13_1.x = 335.477
|
|
L13_1.y = 118.233
|
|
L13_1.z = 453.682
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 4.129
|
|
L13_1.y = 307.35
|
|
L13_1.z = 354.839
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.area_id = 102
|
|
L13_1 = {}
|
|
L13_1.config_id = 151012
|
|
L13_1.gadget_id = 70360001
|
|
L14_1 = {}
|
|
L14_1.x = 343.936
|
|
L14_1.y = 120.603
|
|
L14_1.z = 440.624
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 162.51
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L13_1.area_id = 102
|
|
L14_1 = {}
|
|
L14_1.config_id = 151026
|
|
L14_1.gadget_id = 70950073
|
|
L15_1 = {}
|
|
L15_1.x = 347.121
|
|
L15_1.y = 130.443
|
|
L15_1.z = 433.523
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 20.44
|
|
L15_1.y = 314.586
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L14_1.area_id = 102
|
|
L15_1 = {}
|
|
L15_1.config_id = 151027
|
|
L15_1.gadget_id = 70950079
|
|
L16_1 = {}
|
|
L16_1.x = 349.29
|
|
L16_1.y = 123.49
|
|
L16_1.z = 450.32
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 5.139
|
|
L16_1.y = 18.79
|
|
L16_1.z = 6.76
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L15_1.is_use_point_array = true
|
|
L15_1.area_id = 102
|
|
L16_1 = {}
|
|
L16_1.config_id = 151028
|
|
L16_1.gadget_id = 70350243
|
|
L17_1 = {}
|
|
L17_1.x = 349.33
|
|
L17_1.y = 119.34
|
|
L17_1.z = 450.165
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 4.677
|
|
L17_1.y = 43.846
|
|
L17_1.z = 4.671
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 1
|
|
L16_1.area_id = 102
|
|
L17_1 = {}
|
|
L17_1.config_id = 151038
|
|
L17_1.gadget_id = 70350085
|
|
L18_1 = {}
|
|
L18_1.x = 347.121
|
|
L18_1.y = 130.443
|
|
L18_1.z = 433.523
|
|
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 = 102
|
|
L18_1 = {}
|
|
L18_1.config_id = 151073
|
|
L18_1.gadget_id = 70360001
|
|
L19_1 = {}
|
|
L19_1.x = 349.33
|
|
L19_1.y = 119.328
|
|
L19_1.z = 450.165
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 4.677
|
|
L19_1.y = 43.846
|
|
L19_1.z = 4.671
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 1
|
|
L18_1.area_id = 102
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1151013
|
|
L2_1.name = "SELECT_OPTION_151013"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_SELECT_OPTION
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_SELECT_OPTION_151013"
|
|
L2_1.action = "action_EVENT_SELECT_OPTION_151013"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1151014
|
|
L3_1.name = "GADGET_STATE_CHANGE_151014"
|
|
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_151014"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_151014"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1151015
|
|
L4_1.name = "GADGET_STATE_CHANGE_151015"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_151015"
|
|
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_151015"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1151016
|
|
L5_1.name = "GADGET_CREATE_151016"
|
|
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_151016"
|
|
L5_1.action = "action_EVENT_GADGET_CREATE_151016"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1151017
|
|
L6_1.name = "SELECT_OPTION_151017"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_SELECT_OPTION
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_SELECT_OPTION_151017"
|
|
L6_1.action = "action_EVENT_SELECT_OPTION_151017"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1151018
|
|
L7_1.name = "GADGET_STATE_CHANGE_151018"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_151018"
|
|
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_151018"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1151019
|
|
L8_1.name = "GADGET_STATE_CHANGE_151019"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_151019"
|
|
L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_151019"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1151020
|
|
L9_1.name = "GADGET_CREATE_151020"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_GADGET_CREATE
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_GADGET_CREATE_151020"
|
|
L9_1.action = "action_EVENT_GADGET_CREATE_151020"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1151021
|
|
L10_1.name = "SELECT_OPTION_151021"
|
|
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_151021"
|
|
L10_1.action = "action_EVENT_SELECT_OPTION_151021"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1151022
|
|
L11_1.name = "SELECT_OPTION_151022"
|
|
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_151022"
|
|
L11_1.action = "action_EVENT_SELECT_OPTION_151022"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1151023
|
|
L12_1.name = "SELECT_OPTION_151023"
|
|
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_151023"
|
|
L12_1.action = "action_EVENT_SELECT_OPTION_151023"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1151024
|
|
L13_1.name = "VARIABLE_CHANGE_151024"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_VARIABLE_CHANGE
|
|
L13_1.event = L14_1
|
|
L13_1.source = ""
|
|
L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_151024"
|
|
L13_1.action = "action_EVENT_VARIABLE_CHANGE_151024"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1151025
|
|
L14_1.name = "SELECT_OPTION_151025"
|
|
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_151025"
|
|
L14_1.action = "action_EVENT_SELECT_OPTION_151025"
|
|
L14_1.trigger_count = 0
|
|
L15_1 = {}
|
|
L15_1.config_id = 1151029
|
|
L15_1.name = "SELECT_OPTION_151029"
|
|
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_151029"
|
|
L15_1.action = "action_EVENT_SELECT_OPTION_151029"
|
|
L15_1.trigger_count = 0
|
|
L16_1 = {}
|
|
L16_1.config_id = 1151030
|
|
L16_1.name = "GROUP_LOAD_151030"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_GROUP_LOAD
|
|
L16_1.event = L17_1
|
|
L16_1.source = ""
|
|
L16_1.condition = ""
|
|
L16_1.action = "action_EVENT_GROUP_LOAD_151030"
|
|
L16_1.trigger_count = 0
|
|
L17_1 = {}
|
|
L17_1.config_id = 1151031
|
|
L17_1.name = "GADGET_STATE_CHANGE_151031"
|
|
L18_1 = EventType
|
|
L18_1 = L18_1.EVENT_GADGET_STATE_CHANGE
|
|
L17_1.event = L18_1
|
|
L17_1.source = ""
|
|
L17_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_151031"
|
|
L17_1.action = "action_EVENT_GADGET_STATE_CHANGE_151031"
|
|
L17_1.trigger_count = 0
|
|
L18_1 = {}
|
|
L18_1.config_id = 1151032
|
|
L18_1.name = "GADGET_STATE_CHANGE_151032"
|
|
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_151032"
|
|
L18_1.action = "action_EVENT_GADGET_STATE_CHANGE_151032"
|
|
L18_1.trigger_count = 0
|
|
L19_1 = {}
|
|
L19_1.config_id = 1151033
|
|
L19_1.name = "VARIABLE_CHANGE_151033"
|
|
L20_1 = EventType
|
|
L20_1 = L20_1.EVENT_VARIABLE_CHANGE
|
|
L19_1.event = L20_1
|
|
L19_1.source = ""
|
|
L19_1.condition = "condition_EVENT_VARIABLE_CHANGE_151033"
|
|
L19_1.action = "action_EVENT_VARIABLE_CHANGE_151033"
|
|
L19_1.trigger_count = 0
|
|
L20_1 = {}
|
|
L20_1.config_id = 1151034
|
|
L20_1.name = "SELECT_OPTION_151034"
|
|
L21_1 = EventType
|
|
L21_1 = L21_1.EVENT_SELECT_OPTION
|
|
L20_1.event = L21_1
|
|
L20_1.source = ""
|
|
L20_1.condition = "condition_EVENT_SELECT_OPTION_151034"
|
|
L20_1.action = "action_EVENT_SELECT_OPTION_151034"
|
|
L20_1.trigger_count = 0
|
|
L21_1 = {}
|
|
L21_1.config_id = 1151036
|
|
L21_1.name = "GADGET_STATE_CHANGE_151036"
|
|
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_151036"
|
|
L21_1.action = "action_EVENT_GADGET_STATE_CHANGE_151036"
|
|
L21_1.trigger_count = 0
|
|
L22_1 = {}
|
|
L22_1.config_id = 1151037
|
|
L22_1.name = "GADGET_STATE_CHANGE_151037"
|
|
L23_1 = EventType
|
|
L23_1 = L23_1.EVENT_GADGET_STATE_CHANGE
|
|
L22_1.event = L23_1
|
|
L22_1.source = ""
|
|
L22_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_151037"
|
|
L22_1.action = "action_EVENT_GADGET_STATE_CHANGE_151037"
|
|
L22_1.trigger_count = 0
|
|
L23_1 = {}
|
|
L23_1.config_id = 1151039
|
|
L23_1.name = "ANY_GADGET_DIE_151039"
|
|
L24_1 = EventType
|
|
L24_1 = L24_1.EVENT_ANY_GADGET_DIE
|
|
L23_1.event = L24_1
|
|
L23_1.source = ""
|
|
L23_1.condition = "condition_EVENT_ANY_GADGET_DIE_151039"
|
|
L23_1.action = "action_EVENT_ANY_GADGET_DIE_151039"
|
|
L23_1.trigger_count = 0
|
|
L24_1 = {}
|
|
L24_1.config_id = 1151049
|
|
L24_1.name = "ANY_GADGET_DIE_151049"
|
|
L25_1 = EventType
|
|
L25_1 = L25_1.EVENT_ANY_GADGET_DIE
|
|
L24_1.event = L25_1
|
|
L24_1.source = ""
|
|
L24_1.condition = "condition_EVENT_ANY_GADGET_DIE_151049"
|
|
L24_1.action = "action_EVENT_ANY_GADGET_DIE_151049"
|
|
L24_1.trigger_count = 0
|
|
L25_1 = {}
|
|
L25_1.config_id = 1151050
|
|
L25_1.name = "VARIABLE_CHANGE_151050"
|
|
L26_1 = EventType
|
|
L26_1 = L26_1.EVENT_VARIABLE_CHANGE
|
|
L25_1.event = L26_1
|
|
L25_1.source = ""
|
|
L25_1.condition = "condition_EVENT_VARIABLE_CHANGE_151050"
|
|
L25_1.action = "action_EVENT_VARIABLE_CHANGE_151050"
|
|
L25_1.trigger_count = 0
|
|
L26_1 = {}
|
|
L26_1.config_id = 1151051
|
|
L26_1.name = "TIMER_EVENT_151051"
|
|
L27_1 = EventType
|
|
L27_1 = L27_1.EVENT_TIMER_EVENT
|
|
L26_1.event = L27_1
|
|
L26_1.source = "waitForRecreateHoops"
|
|
L26_1.condition = "condition_EVENT_TIMER_EVENT_151051"
|
|
L26_1.action = "action_EVENT_TIMER_EVENT_151051"
|
|
L26_1.trigger_count = 0
|
|
L27_1 = {}
|
|
L27_1.config_id = 1151058
|
|
L27_1.name = "VARIABLE_CHANGE_151058"
|
|
L28_1 = EventType
|
|
L28_1 = L28_1.EVENT_VARIABLE_CHANGE
|
|
L27_1.event = L28_1
|
|
L27_1.source = ""
|
|
L27_1.condition = "condition_EVENT_VARIABLE_CHANGE_151058"
|
|
L27_1.action = "action_EVENT_VARIABLE_CHANGE_151058"
|
|
L27_1.trigger_count = 0
|
|
L28_1 = {}
|
|
L28_1.config_id = 1151069
|
|
L28_1.name = "ANY_GADGET_DIE_151069"
|
|
L29_1 = EventType
|
|
L29_1 = L29_1.EVENT_ANY_GADGET_DIE
|
|
L28_1.event = L29_1
|
|
L28_1.source = ""
|
|
L28_1.condition = "condition_EVENT_ANY_GADGET_DIE_151069"
|
|
L28_1.action = "action_EVENT_ANY_GADGET_DIE_151069"
|
|
L29_1 = {}
|
|
L29_1.config_id = 1151070
|
|
L29_1.name = "GADGET_STATE_CHANGE_151070"
|
|
L30_1 = EventType
|
|
L30_1 = L30_1.EVENT_GADGET_STATE_CHANGE
|
|
L29_1.event = L30_1
|
|
L29_1.source = ""
|
|
L29_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_151070"
|
|
L30_1 = "action_EVENT_GADGET_STATE_CHANGE_151070"
|
|
L29_1.action = L30_1
|
|
L30_1 = {}
|
|
L31_1 = 1151071
|
|
L30_1.config_id = L31_1
|
|
L31_1 = "GADGET_STATE_CHANGE_151071"
|
|
L30_1.name = L31_1
|
|
L31_1 = EventType
|
|
L31_1 = L31_1.EVENT_GADGET_STATE_CHANGE
|
|
L30_1.event = L31_1
|
|
L30_1.source = ""
|
|
L31_1 = "condition_EVENT_GADGET_STATE_CHANGE_151071"
|
|
L30_1.condition = L31_1
|
|
L31_1 = "action_EVENT_GADGET_STATE_CHANGE_151071"
|
|
L30_1.action = L31_1
|
|
L30_1.trigger_count = 0
|
|
L31_1 = {}
|
|
L32_1 = 1151072
|
|
L31_1.config_id = L32_1
|
|
L32_1 = "GADGET_STATE_CHANGE_151072"
|
|
L31_1.name = L32_1
|
|
L32_1 = EventType
|
|
L32_1 = L32_1.EVENT_GADGET_STATE_CHANGE
|
|
L31_1.event = L32_1
|
|
L31_1.source = ""
|
|
L32_1 = "condition_EVENT_GADGET_STATE_CHANGE_151072"
|
|
L31_1.condition = L32_1
|
|
L32_1 = "action_EVENT_GADGET_STATE_CHANGE_151072"
|
|
L31_1.action = L32_1
|
|
L31_1.trigger_count = 0
|
|
L32_1 = {}
|
|
L33_1 = 1151074
|
|
L32_1.config_id = L33_1
|
|
L33_1 = "SELECT_OPTION_151074"
|
|
L32_1.name = L33_1
|
|
L33_1 = EventType
|
|
L33_1 = L33_1.EVENT_SELECT_OPTION
|
|
L32_1.event = L33_1
|
|
L32_1.source = ""
|
|
L33_1 = "condition_EVENT_SELECT_OPTION_151074"
|
|
L32_1.condition = L33_1
|
|
L33_1 = "action_EVENT_SELECT_OPTION_151074"
|
|
L32_1.action = L33_1
|
|
L32_1.trigger_count = 0
|
|
L33_1 = {}
|
|
L34_1 = 1151075
|
|
L33_1.config_id = L34_1
|
|
L34_1 = "GADGET_STATE_CHANGE_151075"
|
|
L33_1.name = L34_1
|
|
L34_1 = EventType
|
|
L34_1 = L34_1.EVENT_GADGET_STATE_CHANGE
|
|
L33_1.event = L34_1
|
|
L33_1.source = ""
|
|
L34_1 = "condition_EVENT_GADGET_STATE_CHANGE_151075"
|
|
L33_1.condition = L34_1
|
|
L34_1 = "action_EVENT_GADGET_STATE_CHANGE_151075"
|
|
L33_1.action = L34_1
|
|
L33_1.trigger_count = 0
|
|
L34_1 = {}
|
|
L35_1 = 1151076
|
|
L34_1.config_id = L35_1
|
|
L35_1 = "GADGET_STATE_CHANGE_151076"
|
|
L34_1.name = L35_1
|
|
L35_1 = EventType
|
|
L35_1 = L35_1.EVENT_GADGET_STATE_CHANGE
|
|
L34_1.event = L35_1
|
|
L34_1.source = ""
|
|
L35_1 = "condition_EVENT_GADGET_STATE_CHANGE_151076"
|
|
L34_1.condition = L35_1
|
|
L35_1 = "action_EVENT_GADGET_STATE_CHANGE_151076"
|
|
L34_1.action = L35_1
|
|
L34_1.trigger_count = 0
|
|
L35_1 = {}
|
|
L36_1 = 1151077
|
|
L35_1.config_id = L36_1
|
|
L36_1 = "GADGET_CREATE_151077"
|
|
L35_1.name = L36_1
|
|
L36_1 = EventType
|
|
L36_1 = L36_1.EVENT_GADGET_CREATE
|
|
L35_1.event = L36_1
|
|
L35_1.source = ""
|
|
L36_1 = "condition_EVENT_GADGET_CREATE_151077"
|
|
L35_1.condition = L36_1
|
|
L36_1 = "action_EVENT_GADGET_CREATE_151077"
|
|
L35_1.action = L36_1
|
|
L35_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
|
|
triggers = L1_1
|
|
L1_1 = "variables"
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = "configId"
|
|
L3_1[L4_1] = 1
|
|
L4_1 = "hoop1Pos"
|
|
L3_1.name = L4_1
|
|
L4_1 = "value"
|
|
L3_1[L4_1] = 0
|
|
L4_1 = "no_refresh"
|
|
L5_1 = false
|
|
L3_1[L4_1] = L5_1
|
|
L4_1 = {}
|
|
L5_1 = "configId"
|
|
L6_1 = 2
|
|
L4_1[L5_1] = L6_1
|
|
L5_1 = "hoop2Pos"
|
|
L4_1.name = L5_1
|
|
L5_1 = "value"
|
|
L4_1[L5_1] = 0
|
|
L5_1 = "no_refresh"
|
|
L6_1 = false
|
|
L4_1[L5_1] = L6_1
|
|
L5_1 = {}
|
|
L6_1 = "configId"
|
|
L7_1 = 3
|
|
L5_1[L6_1] = L7_1
|
|
L6_1 = "complete"
|
|
L5_1.name = L6_1
|
|
L6_1 = "value"
|
|
L5_1[L6_1] = 0
|
|
L6_1 = "no_refresh"
|
|
L7_1 = false
|
|
L5_1[L6_1] = L7_1
|
|
L6_1 = {}
|
|
L7_1 = "configId"
|
|
L8_1 = 4
|
|
L6_1[L7_1] = L8_1
|
|
L7_1 = "killedHoops"
|
|
L6_1.name = L7_1
|
|
L7_1 = "value"
|
|
L6_1[L7_1] = 0
|
|
L7_1 = "no_refresh"
|
|
L8_1 = false
|
|
L6_1[L7_1] = L8_1
|
|
L7_1 = {}
|
|
L8_1 = "configId"
|
|
L9_1 = 5
|
|
L7_1[L8_1] = L9_1
|
|
L8_1 = "turncount"
|
|
L7_1.name = L8_1
|
|
L8_1 = "value"
|
|
L7_1[L8_1] = 0
|
|
L8_1 = "no_refresh"
|
|
L9_1 = false
|
|
L7_1[L8_1] = L9_1
|
|
L8_1 = {}
|
|
L9_1 = "configId"
|
|
L10_1 = 6
|
|
L8_1[L9_1] = L10_1
|
|
L9_1 = "turncount1"
|
|
L8_1.name = L9_1
|
|
L9_1 = "value"
|
|
L8_1[L9_1] = 0
|
|
L9_1 = "no_refresh"
|
|
L10_1 = false
|
|
L8_1[L9_1] = L10_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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "init_config"
|
|
L2_1 = {}
|
|
L3_1 = "suite"
|
|
L2_1[L3_1] = 1
|
|
L3_1 = "end_suite"
|
|
L4_1 = 10
|
|
L2_1[L3_1] = L4_1
|
|
L3_1 = "rand_suite"
|
|
L4_1 = false
|
|
L2_1[L3_1] = L4_1
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "suites"
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 151001
|
|
L6_1 = 151002
|
|
L7_1 = 151026
|
|
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_151030"
|
|
L6_1 = "ANY_GADGET_DIE_151039"
|
|
L7_1 = "GADGET_STATE_CHANGE_151070"
|
|
L8_1 = "GADGET_STATE_CHANGE_151071"
|
|
L9_1 = "GADGET_STATE_CHANGE_151072"
|
|
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 = 151038
|
|
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 = {}
|
|
L7_1 = "ANY_GADGET_DIE_151069"
|
|
L6_1[1] = L7_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 = {}
|
|
L8_1 = "ANY_GADGET_DIE_151049"
|
|
L9_1 = "VARIABLE_CHANGE_151050"
|
|
L10_1 = "TIMER_EVENT_151051"
|
|
L11_1 = "VARIABLE_CHANGE_151058"
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
L7_1[4] = L11_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 = 151003
|
|
L10_1 = 151004
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L7_1.gadgets = L8_1
|
|
L8_1 = {}
|
|
L7_1.regions = L8_1
|
|
L8_1 = {}
|
|
L9_1 = "GADGET_STATE_CHANGE_151031"
|
|
L10_1 = "GADGET_STATE_CHANGE_151032"
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_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 = 151007
|
|
L11_1 = 151008
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_1
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L10_1 = "GADGET_STATE_CHANGE_151036"
|
|
L11_1 = "GADGET_STATE_CHANGE_151037"
|
|
L9_1[1] = L10_1
|
|
L9_1[2] = L11_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 = 151027
|
|
L12_1 = 151028
|
|
L13_1 = 151073
|
|
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 = "SELECT_OPTION_151074"
|
|
L12_1 = "GADGET_STATE_CHANGE_151075"
|
|
L13_1 = "GADGET_STATE_CHANGE_151076"
|
|
L14_1 = "GADGET_CREATE_151077"
|
|
L10_1[1] = L11_1
|
|
L10_1[2] = L12_1
|
|
L10_1[3] = L13_1
|
|
L10_1[4] = L14_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 = 151005
|
|
L13_1 = 151006
|
|
L14_1 = 151012
|
|
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 = "SELECT_OPTION_151013"
|
|
L13_1 = "GADGET_STATE_CHANGE_151014"
|
|
L14_1 = "GADGET_STATE_CHANGE_151015"
|
|
L15_1 = "GADGET_CREATE_151016"
|
|
L16_1 = "SELECT_OPTION_151021"
|
|
L17_1 = "SELECT_OPTION_151022"
|
|
L18_1 = "SELECT_OPTION_151023"
|
|
L19_1 = "VARIABLE_CHANGE_151024"
|
|
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
|
|
L11_1 = {}
|
|
L12_1 = {}
|
|
L11_1.monsters = L12_1
|
|
L12_1 = {}
|
|
L13_1 = 151009
|
|
L14_1 = 151010
|
|
L15_1 = 151011
|
|
L12_1[1] = L13_1
|
|
L12_1[2] = L14_1
|
|
L12_1[3] = L15_1
|
|
L11_1.gadgets = L12_1
|
|
L12_1 = {}
|
|
L11_1.regions = L12_1
|
|
L12_1 = {}
|
|
L13_1 = "SELECT_OPTION_151017"
|
|
L14_1 = "GADGET_STATE_CHANGE_151018"
|
|
L15_1 = "GADGET_STATE_CHANGE_151019"
|
|
L16_1 = "GADGET_CREATE_151020"
|
|
L17_1 = "SELECT_OPTION_151025"
|
|
L18_1 = "SELECT_OPTION_151029"
|
|
L19_1 = "VARIABLE_CHANGE_151033"
|
|
L20_1 = "SELECT_OPTION_151034"
|
|
L12_1[1] = L13_1
|
|
L12_1[2] = L14_1
|
|
L12_1[3] = L15_1
|
|
L12_1[4] = L16_1
|
|
L12_1[5] = L17_1
|
|
L12_1[6] = L18_1
|
|
L12_1[7] = L19_1
|
|
L12_1[8] = L20_1
|
|
L11_1.triggers = L12_1
|
|
L12_1 = "rand_weight"
|
|
L13_1 = 100
|
|
L11_1[L12_1] = L13_1
|
|
L12_1 = {}
|
|
L13_1 = {}
|
|
L12_1.monsters = L13_1
|
|
L13_1 = {}
|
|
L12_1.gadgets = L13_1
|
|
L13_1 = {}
|
|
L12_1.regions = L13_1
|
|
L13_1 = {}
|
|
L12_1.triggers = L13_1
|
|
L13_1 = "rand_weight"
|
|
L14_1 = 100
|
|
L12_1[L13_1] = L14_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
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
_ENV[L1_1] = L2_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151012 ~= 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 = "turncount"
|
|
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_151013 = 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 = 151005
|
|
L6_2 = 400100006
|
|
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 = "turncount"
|
|
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_151013 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151014 = 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 = 151005
|
|
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_151014 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151015 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 151005
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = 151011
|
|
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_STATE_CHANGE_151015 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 151012 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_151016 = 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 = 144001151
|
|
L5_2 = 151012
|
|
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_151016 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151011 ~= 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_151017 = 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 = 151009
|
|
L6_2 = 400100005
|
|
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_151017 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151018 = 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 = 151009
|
|
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_151018 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151019 = 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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 151009
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = 151011
|
|
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_STATE_CHANGE_151019 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 151011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_151020 = 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 = 144001151
|
|
L5_2 = 151011
|
|
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_151020 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151012 ~= 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 = "turncount"
|
|
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_151021 = 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 = 151005
|
|
L6_2 = 400100006
|
|
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 = "turncount"
|
|
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_151021 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151012 ~= 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 = "turncount"
|
|
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_151022 = 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 = 151005
|
|
L6_2 = 400100006
|
|
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 = "turncount"
|
|
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_151022 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151012 ~= 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 = "turncount"
|
|
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_151023 = 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 = 151005
|
|
L6_2 = 400100006
|
|
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 = "turncount"
|
|
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_151023 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "turncount"
|
|
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_151024 = 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 = "turncount"
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_151024 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151011 ~= 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_151025 = 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 = 151009
|
|
L6_2 = 400100005
|
|
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_151025 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151011 ~= 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_151029 = 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 = 151009
|
|
L6_2 = 400100005
|
|
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_151029 = 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 = 144001151
|
|
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 = 144001151
|
|
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 = 144001151
|
|
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 = 144001151
|
|
L5_2 = 8
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = 9
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = 10
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GROUP_LOAD_151030 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151031 = 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 = 151003
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 151004
|
|
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_151031 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151032 = 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 = 151003
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 151004
|
|
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_151032 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "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_151033 = 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_151033 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
if 151011 ~= 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_151034 = 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 = 151009
|
|
L6_2 = 400100005
|
|
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_151034 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151036 = 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 = 151007
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 151008
|
|
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_151036 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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_151037 = 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 = 151007
|
|
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.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 151008
|
|
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_151037 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 151026 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_151039 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 151038
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_151039 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "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_ANY_GADGET_DIE_151049 = 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.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "killedHoops"
|
|
L5_2 = 1
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_151049 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "killedHoops"
|
|
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_VARIABLE_CHANGE_151050 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = "waitForRecreateHoops"
|
|
L6_2 = 3
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_151050 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "killedHoops"
|
|
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_TIMER_EVENT_151051 = 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 = 144001151
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "killedHoops"
|
|
L5_2 = 0
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_151051 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "killedHoops"
|
|
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_VARIABLE_CHANGE_151058 = 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 = 151002
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_151058 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 151026 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_151069 = 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 = 151002
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_151069 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151002 == 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_151070 = L1_1
|
|
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_151070"
|
|
function L2_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 = 144001151
|
|
L5_2 = 10
|
|
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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_151071"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_151071"
|
|
function L2_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 = 144001151
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_151072"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_151072"
|
|
function L2_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 = 144001151
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_SELECT_OPTION_151074"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 151011 ~= 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 = true
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_SELECT_OPTION_151074"
|
|
function L2_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 = 151009
|
|
L6_2 = 110100018
|
|
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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_151075"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_151075"
|
|
function L2_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 = 151027
|
|
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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_GADGET_STATE_CHANGE_151076"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 151001 == 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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_GADGET_STATE_CHANGE_151076"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 151027
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 144001151
|
|
L5_2 = 151011
|
|
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
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_GADGET_CREATE_151077"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 151011 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_GADGET_CREATE_151077"
|
|
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 = 144001151
|
|
L5_2 = 151011
|
|
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
|
|
_ENV[L1_1] = L2_1
|