mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1438 lines
27 KiB
Lua
1438 lines
27 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 201011001
|
|
L1_1 = {}
|
|
L1_1.gadget_id_1 = 1021
|
|
L1_1.gadget_id_2 = 7122
|
|
L1_1.gadget_id_3 = 7123
|
|
L1_1.gadget_id_4 = 7124
|
|
L1_1.gadget_id_5 = 7125
|
|
L1_1.gadget_id_6 = 7121
|
|
L1_1.gadget_id_7 = 1022
|
|
L1_1.gadget_id_8 = 7142
|
|
L1_1.gadget_id_9 = 7143
|
|
L1_1.gadget_id_10 = 7144
|
|
L1_1.gadget_id_11 = 7145
|
|
L1_1.gadget_id_12 = 7146
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1001
|
|
L3_1.monster_id = 21010201
|
|
L4_1 = {}
|
|
L4_1.x = 58.11
|
|
L4_1.y = 0.5
|
|
L4_1.z = 3.021
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 184.002
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 1002
|
|
L4_1.monster_id = 21010201
|
|
L5_1 = {}
|
|
L5_1.x = 55.682
|
|
L5_1.y = 0.5
|
|
L5_1.z = 3.928
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 179.685
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 1003
|
|
L5_1.monster_id = 21010201
|
|
L6_1 = {}
|
|
L6_1.x = 59.773
|
|
L6_1.y = 0.5
|
|
L6_1.z = 4.443
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 188.117
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 1004
|
|
L6_1.monster_id = 21010401
|
|
L7_1 = {}
|
|
L7_1.x = 58.083
|
|
L7_1.y = 0.5
|
|
L7_1.z = 10.667
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 184.789
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 1005
|
|
L7_1.monster_id = 20011301
|
|
L8_1 = {}
|
|
L8_1.x = 67.071
|
|
L8_1.y = 0.5
|
|
L8_1.z = 7.042
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 0.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 1006
|
|
L8_1.monster_id = 20011201
|
|
L9_1 = {}
|
|
L9_1.x = 66.772
|
|
L9_1.y = 0.5
|
|
L9_1.z = 8.886
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 1007
|
|
L9_1.monster_id = 20011201
|
|
L10_1 = {}
|
|
L10_1.x = 68.32
|
|
L10_1.y = 0.5
|
|
L10_1.z = 8.766
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 0.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L10_1 = {}
|
|
L10_1.config_id = 1008
|
|
L10_1.monster_id = 20011201
|
|
L11_1 = {}
|
|
L11_1.x = 69.114
|
|
L11_1.y = 0.5
|
|
L11_1.z = 7.886
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 0.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L11_1 = {}
|
|
L11_1.config_id = 1009
|
|
L11_1.monster_id = 20011101
|
|
L12_1 = {}
|
|
L12_1.x = 46.863
|
|
L12_1.y = 0.5
|
|
L12_1.z = 8.108
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 0.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L12_1 = {}
|
|
L12_1.config_id = 1010
|
|
L12_1.monster_id = 20011001
|
|
L13_1 = {}
|
|
L13_1.x = 44.661
|
|
L13_1.y = 0.5
|
|
L13_1.z = 9.206
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 0.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L13_1 = {}
|
|
L13_1.config_id = 1011
|
|
L13_1.monster_id = 20011001
|
|
L14_1 = {}
|
|
L14_1.x = 46.265
|
|
L14_1.y = 0.5
|
|
L14_1.z = 9.88
|
|
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 = {}
|
|
L14_1.config_id = 1012
|
|
L14_1.monster_id = 20011001
|
|
L15_1 = {}
|
|
L15_1.x = 47.969
|
|
L15_1.y = 0.5
|
|
L15_1.z = 9.991
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 0.0
|
|
L15_1.y = 0.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L15_1 = {}
|
|
L15_1.config_id = 1013
|
|
L15_1.monster_id = 20010301
|
|
L16_1 = {}
|
|
L16_1.x = 54.92
|
|
L16_1.y = 0.5
|
|
L16_1.z = 11.144
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 0.0
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L16_1 = {}
|
|
L16_1.config_id = 1014
|
|
L16_1.monster_id = 20010301
|
|
L17_1 = {}
|
|
L17_1.x = 56.378
|
|
L17_1.y = 0.5
|
|
L17_1.z = 11.975
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 0.0
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 1
|
|
L17_1 = {}
|
|
L17_1.config_id = 1015
|
|
L17_1.monster_id = 20010301
|
|
L18_1 = {}
|
|
L18_1.x = 62.924
|
|
L18_1.y = 0.5
|
|
L18_1.z = 11.548
|
|
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
|
|
L18_1 = {}
|
|
L18_1.config_id = 1016
|
|
L18_1.monster_id = 20010401
|
|
L19_1 = {}
|
|
L19_1.x = 58.695
|
|
L19_1.y = 0.5
|
|
L19_1.z = 9.271
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 0.0
|
|
L19_1.y = 0.0
|
|
L19_1.z = 0.0
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 1
|
|
L19_1 = {}
|
|
L19_1.config_id = 1017
|
|
L19_1.monster_id = 20010701
|
|
L20_1 = {}
|
|
L20_1.x = 57.831
|
|
L20_1.y = 0.5
|
|
L20_1.z = 7.261
|
|
L19_1.pos = L20_1
|
|
L20_1 = {}
|
|
L20_1.x = 0.0
|
|
L20_1.y = 0.0
|
|
L20_1.z = 0.0
|
|
L19_1.rot = L20_1
|
|
L19_1.level = 1
|
|
L20_1 = {}
|
|
L20_1.config_id = 1018
|
|
L20_1.monster_id = 20010501
|
|
L21_1 = {}
|
|
L21_1.x = 55.681
|
|
L21_1.y = 0.5
|
|
L21_1.z = 8.083
|
|
L20_1.pos = L21_1
|
|
L21_1 = {}
|
|
L21_1.x = 0.0
|
|
L21_1.y = 0.0
|
|
L21_1.z = 0.0
|
|
L20_1.rot = L21_1
|
|
L20_1.level = 1
|
|
L21_1 = {}
|
|
L21_1.config_id = 1019
|
|
L21_1.monster_id = 20010501
|
|
L22_1 = {}
|
|
L22_1.x = 58.334
|
|
L22_1.y = 0.5
|
|
L22_1.z = 8.698
|
|
L21_1.pos = L22_1
|
|
L22_1 = {}
|
|
L22_1.x = 0.0
|
|
L22_1.y = 0.0
|
|
L22_1.z = 0.0
|
|
L21_1.rot = L22_1
|
|
L21_1.level = 1
|
|
L22_1 = {}
|
|
L22_1.config_id = 1020
|
|
L22_1.monster_id = 20010501
|
|
L23_1 = {}
|
|
L23_1.x = 61.13
|
|
L23_1.y = 0.5
|
|
L23_1.z = 8.272
|
|
L22_1.pos = L23_1
|
|
L23_1 = {}
|
|
L23_1.x = 0.0
|
|
L23_1.y = 0.0
|
|
L23_1.z = 0.0
|
|
L22_1.rot = L23_1
|
|
L22_1.level = 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
|
|
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
|
|
L2_1[17] = L19_1
|
|
L2_1[18] = L20_1
|
|
L2_1[19] = L21_1
|
|
L2_1[20] = L22_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1021
|
|
L3_1.gadget_id = 70360002
|
|
L4_1 = {}
|
|
L4_1.x = 62.876
|
|
L4_1.y = 0.5
|
|
L4_1.z = -16.388
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 179.902
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 1022
|
|
L4_1.gadget_id = 70360002
|
|
L5_1 = {}
|
|
L5_1.x = 72.789
|
|
L5_1.y = 0.479
|
|
L5_1.z = -47.014
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 102.298
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000001
|
|
L3_1.name = "GADGET_CREATE_1"
|
|
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_1"
|
|
L3_1.action = "action_EVENT_GADGET_CREATE_1"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1000002
|
|
L4_1.name = "SELECT_OPTION_2"
|
|
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_2"
|
|
L4_1.action = "action_EVENT_SELECT_OPTION_2"
|
|
L4_1.trigger_count = 0
|
|
L4_1.forbid_guest = false
|
|
L5_1 = {}
|
|
L5_1.config_id = 1000003
|
|
L5_1.name = "SELECT_OPTION_3"
|
|
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_3"
|
|
L5_1.action = "action_EVENT_SELECT_OPTION_3"
|
|
L5_1.trigger_count = 0
|
|
L5_1.forbid_guest = false
|
|
L6_1 = {}
|
|
L6_1.config_id = 1000004
|
|
L6_1.name = "SELECT_OPTION_4"
|
|
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_4"
|
|
L6_1.action = "action_EVENT_SELECT_OPTION_4"
|
|
L6_1.trigger_count = 0
|
|
L6_1.forbid_guest = false
|
|
L7_1 = {}
|
|
L7_1.config_id = 1000005
|
|
L7_1.name = "SELECT_OPTION_5"
|
|
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_5"
|
|
L7_1.action = "action_EVENT_SELECT_OPTION_5"
|
|
L7_1.trigger_count = 0
|
|
L7_1.forbid_guest = false
|
|
L8_1 = {}
|
|
L8_1.config_id = 1000006
|
|
L8_1.name = "SELECT_OPTION_6"
|
|
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_6"
|
|
L8_1.action = "action_EVENT_SELECT_OPTION_6"
|
|
L8_1.trigger_count = 0
|
|
L8_1.forbid_guest = false
|
|
L9_1 = {}
|
|
L9_1.config_id = 1000027
|
|
L9_1.name = "GADGET_CREATE_27"
|
|
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_27"
|
|
L9_1.action = "action_EVENT_GADGET_CREATE_27"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1000028
|
|
L10_1.name = "SELECT_OPTION_28"
|
|
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_28"
|
|
L10_1.action = "action_EVENT_SELECT_OPTION_28"
|
|
L10_1.trigger_count = 0
|
|
L10_1.forbid_guest = false
|
|
L11_1 = {}
|
|
L11_1.config_id = 1000029
|
|
L11_1.name = "SELECT_OPTION_29"
|
|
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_29"
|
|
L11_1.action = "action_EVENT_SELECT_OPTION_29"
|
|
L11_1.trigger_count = 0
|
|
L11_1.forbid_guest = false
|
|
L12_1 = {}
|
|
L12_1.config_id = 1000030
|
|
L12_1.name = "SELECT_OPTION_30"
|
|
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_30"
|
|
L12_1.action = "action_EVENT_SELECT_OPTION_30"
|
|
L12_1.trigger_count = 0
|
|
L12_1.forbid_guest = false
|
|
L13_1 = {}
|
|
L13_1.config_id = 1000031
|
|
L13_1.name = "SELECT_OPTION_31"
|
|
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_31"
|
|
L13_1.action = "action_EVENT_SELECT_OPTION_31"
|
|
L13_1.trigger_count = 0
|
|
L13_1.forbid_guest = false
|
|
L14_1 = {}
|
|
L14_1.config_id = 1000032
|
|
L14_1.name = "SELECT_OPTION_32"
|
|
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_32"
|
|
L14_1.action = "action_EVENT_SELECT_OPTION_32"
|
|
L14_1.trigger_count = 0
|
|
L14_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
|
|
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
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = true
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 1001
|
|
L6_1 = 1002
|
|
L7_1 = 1003
|
|
L8_1 = 1004
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 1021
|
|
L6_1 = 1022
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_CREATE_1"
|
|
L6_1 = "SELECT_OPTION_2"
|
|
L7_1 = "SELECT_OPTION_3"
|
|
L8_1 = "SELECT_OPTION_4"
|
|
L9_1 = "SELECT_OPTION_5"
|
|
L10_1 = "SELECT_OPTION_6"
|
|
L11_1 = "GADGET_CREATE_27"
|
|
L12_1 = "SELECT_OPTION_28"
|
|
L13_1 = "SELECT_OPTION_29"
|
|
L14_1 = "SELECT_OPTION_30"
|
|
L15_1 = "SELECT_OPTION_31"
|
|
L16_1 = "SELECT_OPTION_32"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 1005
|
|
L7_1 = 1006
|
|
L8_1 = 1007
|
|
L9_1 = 1008
|
|
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 = 1021
|
|
L7_1 = 1022
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "GADGET_CREATE_1"
|
|
L7_1 = "SELECT_OPTION_2"
|
|
L8_1 = "SELECT_OPTION_3"
|
|
L9_1 = "SELECT_OPTION_4"
|
|
L10_1 = "SELECT_OPTION_5"
|
|
L11_1 = "SELECT_OPTION_6"
|
|
L12_1 = "GADGET_CREATE_27"
|
|
L13_1 = "SELECT_OPTION_28"
|
|
L14_1 = "SELECT_OPTION_29"
|
|
L15_1 = "SELECT_OPTION_30"
|
|
L16_1 = "SELECT_OPTION_31"
|
|
L17_1 = "SELECT_OPTION_32"
|
|
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
|
|
L5_1[6] = L11_1
|
|
L5_1[7] = L12_1
|
|
L5_1[8] = L13_1
|
|
L5_1[9] = L14_1
|
|
L5_1[10] = L15_1
|
|
L5_1[11] = L16_1
|
|
L5_1[12] = L17_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 0
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L7_1 = 1009
|
|
L8_1 = 1010
|
|
L9_1 = 1011
|
|
L10_1 = 1012
|
|
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 = 1021
|
|
L8_1 = 1022
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "GADGET_CREATE_1"
|
|
L8_1 = "SELECT_OPTION_2"
|
|
L9_1 = "SELECT_OPTION_3"
|
|
L10_1 = "SELECT_OPTION_4"
|
|
L11_1 = "SELECT_OPTION_5"
|
|
L12_1 = "SELECT_OPTION_6"
|
|
L13_1 = "GADGET_CREATE_27"
|
|
L14_1 = "SELECT_OPTION_28"
|
|
L15_1 = "SELECT_OPTION_29"
|
|
L16_1 = "SELECT_OPTION_30"
|
|
L17_1 = "SELECT_OPTION_31"
|
|
L18_1 = "SELECT_OPTION_32"
|
|
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
|
|
L6_1[6] = L12_1
|
|
L6_1[7] = L13_1
|
|
L6_1[8] = L14_1
|
|
L6_1[9] = L15_1
|
|
L6_1[10] = L16_1
|
|
L6_1[11] = L17_1
|
|
L6_1[12] = L18_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 0
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L8_1 = 1013
|
|
L9_1 = 1014
|
|
L10_1 = 1015
|
|
L11_1 = 1016
|
|
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 = 1021
|
|
L9_1 = 1022
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L8_1 = "GADGET_CREATE_1"
|
|
L9_1 = "SELECT_OPTION_2"
|
|
L10_1 = "SELECT_OPTION_3"
|
|
L11_1 = "SELECT_OPTION_4"
|
|
L12_1 = "SELECT_OPTION_5"
|
|
L13_1 = "SELECT_OPTION_6"
|
|
L14_1 = "GADGET_CREATE_27"
|
|
L15_1 = "SELECT_OPTION_28"
|
|
L16_1 = "SELECT_OPTION_29"
|
|
L17_1 = "SELECT_OPTION_30"
|
|
L18_1 = "SELECT_OPTION_31"
|
|
L19_1 = "SELECT_OPTION_32"
|
|
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
|
|
L7_1[6] = L13_1
|
|
L7_1[7] = L14_1
|
|
L7_1[8] = L15_1
|
|
L7_1[9] = L16_1
|
|
L7_1[10] = L17_1
|
|
L7_1[11] = L18_1
|
|
L7_1[12] = L19_1
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 0
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L9_1 = 1017
|
|
L10_1 = 1018
|
|
L11_1 = 1019
|
|
L12_1 = 1020
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L8_1[3] = L11_1
|
|
L8_1[4] = L12_1
|
|
L7_1.monsters = L8_1
|
|
L8_1 = {}
|
|
L9_1 = 1021
|
|
L10_1 = 1022
|
|
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_CREATE_1"
|
|
L10_1 = "SELECT_OPTION_2"
|
|
L11_1 = "SELECT_OPTION_3"
|
|
L12_1 = "SELECT_OPTION_4"
|
|
L13_1 = "SELECT_OPTION_5"
|
|
L14_1 = "SELECT_OPTION_6"
|
|
L15_1 = "GADGET_CREATE_27"
|
|
L16_1 = "SELECT_OPTION_28"
|
|
L17_1 = "SELECT_OPTION_29"
|
|
L18_1 = "SELECT_OPTION_30"
|
|
L19_1 = "SELECT_OPTION_31"
|
|
L20_1 = "SELECT_OPTION_32"
|
|
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
|
|
L8_1[9] = L17_1
|
|
L8_1[10] = L18_1
|
|
L8_1[11] = L19_1
|
|
L8_1[12] = L20_1
|
|
L7_1.triggers = L8_1
|
|
L7_1.rand_weight = 0
|
|
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
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1021 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_1 = L2_1
|
|
function L2_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.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 130
|
|
L6_2 = 131
|
|
L7_2 = 132
|
|
L8_2 = 133
|
|
L9_2 = 134
|
|
L4_2[1] = L5_2
|
|
L4_2[2] = L6_2
|
|
L4_2[3] = L7_2
|
|
L4_2[4] = L8_2
|
|
L4_2[5] = L9_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_1 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1021 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_2 = 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 = 201011001
|
|
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_2 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1021 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_3 = 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 = 201011001
|
|
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_3 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1021 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_4 = 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 = 201011001
|
|
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_4 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1021 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_5 = 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 = 201011001
|
|
L4_2.suite = 5
|
|
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_5 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1021 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_6 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_6
|
|
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 = 201011001
|
|
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_6 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1022 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_27 = L2_1
|
|
function L2_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.SetWorktopOptions
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L5_2 = 151
|
|
L6_2 = 152
|
|
L7_2 = 153
|
|
L8_2 = 154
|
|
L9_2 = 155
|
|
L4_2[1] = L5_2
|
|
L4_2[2] = L6_2
|
|
L4_2[3] = L7_2
|
|
L4_2[4] = L8_2
|
|
L4_2[5] = L9_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_27 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1022 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_28 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_8
|
|
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 = 201011001
|
|
L4_2.refresh_level_revise = 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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.refresh_level_revise = 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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011003
|
|
L4_2.refresh_level_revise = 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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011004
|
|
L4_2.refresh_level_revise = 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_7
|
|
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_28 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1022 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_29 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_9
|
|
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 = 201011001
|
|
L4_2.refresh_level_revise = 5
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.refresh_level_revise = 5
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011003
|
|
L4_2.refresh_level_revise = 5
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011004
|
|
L4_2.refresh_level_revise = 5
|
|
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_7
|
|
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_29 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1022 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_30 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_10
|
|
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 = 201011001
|
|
L4_2.refresh_level_revise = 10
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.refresh_level_revise = 10
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011003
|
|
L4_2.refresh_level_revise = 10
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011004
|
|
L4_2.refresh_level_revise = 10
|
|
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_7
|
|
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_30 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1022 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_31 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_11
|
|
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 = 201011001
|
|
L4_2.refresh_level_revise = 15
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.refresh_level_revise = 15
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011003
|
|
L4_2.refresh_level_revise = 15
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011004
|
|
L4_2.refresh_level_revise = 15
|
|
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_7
|
|
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_31 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1022 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_32 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = L1_1.gadget_id_12
|
|
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 = 201011001
|
|
L4_2.refresh_level_revise = 20
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011002
|
|
L4_2.refresh_level_revise = 20
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011003
|
|
L4_2.refresh_level_revise = 20
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 201011004
|
|
L4_2.refresh_level_revise = 20
|
|
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_7
|
|
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_32 = L2_1
|