mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
723 lines
13 KiB
Lua
723 lines
13 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 201011045
|
|
L1_1 = {}
|
|
L1_1.gadget_id_1 = 2
|
|
L1_1.gadget_id_2 = 135
|
|
L1_1.gadget_id_3 = 136
|
|
L1_1.gadget_id_4 = 137
|
|
L1_1.gadget_id_5 = 138
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 176
|
|
L3_1.monster_id = 21030301
|
|
L4_1 = {}
|
|
L4_1.x = 420.47
|
|
L4_1.y = 0.641
|
|
L4_1.z = 44.716
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 270.0
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 7
|
|
L3_1.disableWander = true
|
|
L4_1 = {}
|
|
L4_1.config_id = 177
|
|
L4_1.monster_id = 21010301
|
|
L5_1 = {}
|
|
L5_1.x = 416.956
|
|
L5_1.y = 0.641
|
|
L5_1.z = 52.582
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 270.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 7
|
|
L4_1.disableWander = true
|
|
L5_1 = {}
|
|
L5_1.config_id = 178
|
|
L5_1.monster_id = 21010201
|
|
L6_1 = {}
|
|
L6_1.x = 416.638
|
|
L6_1.y = 0.641
|
|
L6_1.z = 48.552
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 270.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 7
|
|
L5_1.disableWander = true
|
|
L6_1 = {}
|
|
L6_1.config_id = 179
|
|
L6_1.monster_id = 21010501
|
|
L7_1 = {}
|
|
L7_1.x = 421.387
|
|
L7_1.y = 0.641
|
|
L7_1.z = 55.76
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 270.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 7
|
|
L6_1.disableWander = true
|
|
L7_1 = {}
|
|
L7_1.config_id = 180
|
|
L7_1.monster_id = 21030101
|
|
L8_1 = {}
|
|
L8_1.x = 470.979
|
|
L8_1.y = 0.641
|
|
L8_1.z = 51.83
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 270.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 7
|
|
L7_1.disableWander = true
|
|
L8_1 = {}
|
|
L8_1.config_id = 181
|
|
L8_1.monster_id = 21010701
|
|
L9_1 = {}
|
|
L9_1.x = 465.947
|
|
L9_1.y = 0.641
|
|
L9_1.z = 45.393
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 270.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 7
|
|
L8_1.disableWander = true
|
|
L9_1 = {}
|
|
L9_1.config_id = 182
|
|
L9_1.monster_id = 21010701
|
|
L10_1 = {}
|
|
L10_1.x = 465.68
|
|
L10_1.y = 0.641
|
|
L10_1.z = 49.069
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 270.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 7
|
|
L9_1.disableWander = true
|
|
L10_1 = {}
|
|
L10_1.config_id = 183
|
|
L10_1.monster_id = 21010901
|
|
L11_1 = {}
|
|
L11_1.x = 470.146
|
|
L11_1.y = 0.641
|
|
L11_1.z = 41.456
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 270.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 7
|
|
L10_1.disableWander = true
|
|
L11_1 = {}
|
|
L11_1.config_id = 184
|
|
L11_1.monster_id = 21030201
|
|
L12_1 = {}
|
|
L12_1.x = 519.138
|
|
L12_1.y = 0.641
|
|
L12_1.z = 41.77
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 270.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 7
|
|
L11_1.disableWander = true
|
|
L12_1 = {}
|
|
L12_1.config_id = 185
|
|
L12_1.monster_id = 21010701
|
|
L13_1 = {}
|
|
L13_1.x = 515.042
|
|
L13_1.y = 0.641
|
|
L13_1.z = 45.304
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 270.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 7
|
|
L12_1.disableWander = true
|
|
L13_1 = {}
|
|
L13_1.config_id = 186
|
|
L13_1.monster_id = 21010701
|
|
L14_1 = {}
|
|
L14_1.x = 515.306
|
|
L14_1.y = 0.641
|
|
L14_1.z = 49.206
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 270.0
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 7
|
|
L13_1.disableWander = true
|
|
L14_1 = {}
|
|
L14_1.config_id = 187
|
|
L14_1.monster_id = 21010501
|
|
L15_1 = {}
|
|
L15_1.x = 519.12
|
|
L15_1.y = 0.641
|
|
L15_1.z = 52.244
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 270.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 7
|
|
L14_1.disableWander = true
|
|
L15_1 = {}
|
|
L15_1.config_id = 188
|
|
L15_1.monster_id = 21030301
|
|
L16_1 = {}
|
|
L16_1.x = 567.528
|
|
L16_1.y = 0.641
|
|
L16_1.z = 41.346
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 270.0
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 7
|
|
L15_1.disableWander = true
|
|
L16_1 = {}
|
|
L16_1.config_id = 189
|
|
L16_1.monster_id = 21030101
|
|
L17_1 = {}
|
|
L17_1.x = 568.093
|
|
L17_1.y = 0.641
|
|
L17_1.z = 52.768
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 270.0
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 7
|
|
L16_1.disableWander = true
|
|
L17_1 = {}
|
|
L17_1.config_id = 190
|
|
L17_1.monster_id = 21010701
|
|
L18_1 = {}
|
|
L18_1.x = 563.188
|
|
L18_1.y = 0.641
|
|
L18_1.z = 49.296
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 0.0
|
|
L18_1.y = 270.0
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 7
|
|
L17_1.disableWander = true
|
|
L18_1 = {}
|
|
L18_1.config_id = 191
|
|
L18_1.monster_id = 21010701
|
|
L19_1 = {}
|
|
L19_1.x = 563.437
|
|
L19_1.y = 0.641
|
|
L19_1.z = 44.972
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 0.0
|
|
L19_1.y = 270.0
|
|
L19_1.z = 0.0
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 7
|
|
L18_1.disableWander = true
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
L2_1[11] = L13_1
|
|
L2_1[12] = L14_1
|
|
L2_1[13] = L15_1
|
|
L2_1[14] = L16_1
|
|
L2_1[15] = L17_1
|
|
L2_1[16] = L18_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 268
|
|
L3_1.gadget_id = 70360002
|
|
L4_1 = {}
|
|
L4_1.x = 122.802
|
|
L4_1.y = 0.5
|
|
L4_1.z = 68.255
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 165.182
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L2_1[1] = L3_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000125
|
|
L3_1.name = "GADGET_CREATE_125"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_GADGET_CREATE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_GADGET_CREATE_125"
|
|
L3_1.action = "action_EVENT_GADGET_CREATE_125"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1000126
|
|
L4_1.name = "SELECT_OPTION_126"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_SELECT_OPTION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_SELECT_OPTION_126"
|
|
L4_1.action = "action_EVENT_SELECT_OPTION_126"
|
|
L4_1.trigger_count = 0
|
|
L4_1.forbid_guest = false
|
|
L5_1 = {}
|
|
L5_1.config_id = 1000127
|
|
L5_1.name = "SELECT_OPTION_127"
|
|
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_127"
|
|
L5_1.action = "action_EVENT_SELECT_OPTION_127"
|
|
L5_1.trigger_count = 0
|
|
L5_1.forbid_guest = false
|
|
L6_1 = {}
|
|
L6_1.config_id = 1000128
|
|
L6_1.name = "SELECT_OPTION_128"
|
|
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_128"
|
|
L6_1.action = "action_EVENT_SELECT_OPTION_128"
|
|
L6_1.trigger_count = 0
|
|
L6_1.forbid_guest = false
|
|
L7_1 = {}
|
|
L7_1.config_id = 1000129
|
|
L7_1.name = "SELECT_OPTION_129"
|
|
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_129"
|
|
L7_1.action = "action_EVENT_SELECT_OPTION_129"
|
|
L7_1.trigger_count = 0
|
|
L7_1.forbid_guest = false
|
|
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
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 176
|
|
L6_1 = 177
|
|
L7_1 = 178
|
|
L8_1 = 179
|
|
L9_1 = 180
|
|
L10_1 = 181
|
|
L11_1 = 182
|
|
L12_1 = 183
|
|
L13_1 = 184
|
|
L14_1 = 185
|
|
L15_1 = 186
|
|
L16_1 = 187
|
|
L17_1 = 188
|
|
L18_1 = 189
|
|
L19_1 = 190
|
|
L20_1 = 191
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L4_1[14] = L18_1
|
|
L4_1[15] = L19_1
|
|
L4_1[16] = L20_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_CREATE_125"
|
|
L6_1 = "SELECT_OPTION_126"
|
|
L7_1 = "SELECT_OPTION_127"
|
|
L8_1 = "SELECT_OPTION_128"
|
|
L9_1 = "SELECT_OPTION_129"
|
|
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
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 180
|
|
L7_1 = 181
|
|
L8_1 = 182
|
|
L9_1 = 183
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 268
|
|
L5_1[1] = L6_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "GADGET_CREATE_125"
|
|
L7_1 = "SELECT_OPTION_126"
|
|
L8_1 = "SELECT_OPTION_127"
|
|
L9_1 = "SELECT_OPTION_128"
|
|
L10_1 = "SELECT_OPTION_129"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L5_1[5] = L10_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 0
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L7_1 = 184
|
|
L8_1 = 185
|
|
L9_1 = 186
|
|
L10_1 = 187
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L6_1[4] = L10_1
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 268
|
|
L6_1[1] = L7_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "GADGET_CREATE_125"
|
|
L8_1 = "SELECT_OPTION_126"
|
|
L9_1 = "SELECT_OPTION_127"
|
|
L10_1 = "SELECT_OPTION_128"
|
|
L11_1 = "SELECT_OPTION_129"
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L6_1[4] = L10_1
|
|
L6_1[5] = L11_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 0
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L8_1 = 188
|
|
L9_1 = 189
|
|
L10_1 = 190
|
|
L11_1 = 191
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
L7_1[4] = L11_1
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 268
|
|
L7_1[1] = L8_1
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L8_1 = "GADGET_CREATE_125"
|
|
L9_1 = "SELECT_OPTION_126"
|
|
L10_1 = "SELECT_OPTION_127"
|
|
L11_1 = "SELECT_OPTION_128"
|
|
L12_1 = "SELECT_OPTION_129"
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
L7_1[4] = L11_1
|
|
L7_1[5] = L12_1
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 2 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_125 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 135
|
|
L6_2 = 136
|
|
L7_2 = 137
|
|
L8_2 = 138
|
|
L4_2[1] = L5_2
|
|
L4_2[2] = L6_2
|
|
L4_2[3] = L7_2
|
|
L4_2[4] = L8_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_work_options"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_125 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 2 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_126 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_2
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.suite = 1
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.gadget_id_1
|
|
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 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_126 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 2 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_127 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_3
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.suite = 2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.gadget_id_1
|
|
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 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_127 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 2 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_128 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_4
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.suite = 3
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.gadget_id_1
|
|
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 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_128 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 2 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_129 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_5
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.suite = 4
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.gadget_id_1
|
|
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 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_129 = L2_1
|