Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133222157.lua
2022-04-29 16:40:51 +02:00

6673 lines
150 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1
L0_1 = {}
L0_1.group_id = 133222157
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 157001
L2_1.gadget_id = 70310070
L3_1 = {}
L3_1.x = -4657.684
L3_1.y = 119.923
L3_1.z = -4249.325
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 169.687
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 30
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 157002
L3_1.gadget_id = 70360286
L4_1 = {}
L4_1.x = -4657.709
L4_1.y = 121.565
L4_1.z = -4249.354
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 180.7
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 157005
L4_1.gadget_id = 70310070
L5_1 = {}
L5_1.x = -4685.687
L5_1.y = 120.498
L5_1.z = -4244.522
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 358.916
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 157006
L5_1.gadget_id = 70360286
L6_1 = {}
L6_1.x = -4685.643
L6_1.y = 122.111
L6_1.z = -4244.561
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 26.336
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 157009
L6_1.gadget_id = 70310070
L7_1 = {}
L7_1.x = -4635.62
L7_1.y = 130.516
L7_1.z = -4271.446
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 184.03
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.persistent = true
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 157010
L7_1.gadget_id = 70360286
L8_1 = {}
L8_1.x = -4635.68
L8_1.y = 132.133
L8_1.z = -4271.472
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 199.148
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 157013
L8_1.gadget_id = 70310070
L9_1 = {}
L9_1.x = -4663.757
L9_1.y = 164.777
L9_1.z = -4226.52
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 47.125
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 30
L9_1 = GadgetState
L9_1 = L9_1.GearStart
L8_1.state = L9_1
L8_1.persistent = true
L8_1.area_id = 14
L9_1 = {}
L9_1.config_id = 157014
L9_1.gadget_id = 70360286
L10_1 = {}
L10_1.x = -4663.663
L10_1.y = 166.324
L10_1.z = -4226.546
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 84.237
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 30
L9_1.area_id = 14
L10_1 = {}
L10_1.config_id = 157017
L10_1.gadget_id = 70310071
L11_1 = {}
L11_1.x = -4673.831
L11_1.y = 120.085
L11_1.z = -4237.566
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 104.642
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 30
L11_1 = GadgetState
L11_1 = L11_1.GearStart
L10_1.state = L11_1
L10_1.persistent = true
L10_1.area_id = 14
L11_1 = {}
L11_1.config_id = 157018
L11_1.gadget_id = 70360286
L12_1 = {}
L12_1.x = -4673.897
L12_1.y = 121.719
L12_1.z = -4237.672
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 141.754
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 30
L11_1.area_id = 14
L12_1 = {}
L12_1.config_id = 157021
L12_1.gadget_id = 70310071
L13_1 = {}
L13_1.x = -4677.643
L13_1.y = 120.158
L13_1.z = -4280.433
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 139.859
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 30
L13_1 = GadgetState
L13_1 = L13_1.GearStart
L12_1.state = L13_1
L12_1.persistent = true
L12_1.area_id = 14
L13_1 = {}
L13_1.config_id = 157022
L13_1.gadget_id = 70360286
L14_1 = {}
L14_1.x = -4677.777
L14_1.y = 121.795
L14_1.z = -4280.411
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 226.704
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 30
L13_1.area_id = 14
L14_1 = {}
L14_1.config_id = 157025
L14_1.gadget_id = 70310071
L15_1 = {}
L15_1.x = -4642.943
L15_1.y = 161.116
L15_1.z = -4266.465
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 317.168
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 30
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.persistent = true
L14_1.area_id = 14
L15_1 = {}
L15_1.config_id = 157026
L15_1.gadget_id = 70360286
L16_1 = {}
L16_1.x = -4642.88
L16_1.y = 162.695
L16_1.z = -4266.39
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 13.424
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 30
L15_1.area_id = 14
L16_1 = {}
L16_1.config_id = 157029
L16_1.gadget_id = 70310072
L17_1 = {}
L17_1.x = -4653.918
L17_1.y = 150.981
L17_1.z = -4294.85
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 314.665
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 30
L17_1 = GadgetState
L17_1 = L17_1.GearStart
L16_1.state = L17_1
L16_1.persistent = true
L16_1.area_id = 14
L17_1 = {}
L17_1.config_id = 157030
L17_1.gadget_id = 70360286
L18_1 = {}
L18_1.x = -4653.846
L18_1.y = 152.541
L18_1.z = -4294.779
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 10.921
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 30
L17_1.area_id = 14
L18_1 = {}
L18_1.config_id = 157033
L18_1.gadget_id = 70310073
L19_1 = {}
L19_1.x = -4664.023
L19_1.y = 119.873
L19_1.z = -4246.026
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 5.096
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 30
L18_1.persistent = true
L18_1.area_id = 14
L19_1 = {}
L19_1.config_id = 157034
L19_1.gadget_id = 70310073
L20_1 = {}
L20_1.x = -4690.295
L20_1.y = 130.904
L20_1.z = -4255.658
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 1.377
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 30
L20_1 = GadgetState
L20_1 = L20_1.GearStart
L19_1.state = L20_1
L19_1.persistent = true
L19_1.area_id = 14
L20_1 = {}
L20_1.config_id = 157035
L20_1.gadget_id = 70310073
L21_1 = {}
L21_1.x = -4654.057
L21_1.y = 120.244
L21_1.z = -4278.393
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 270.847
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 30
L20_1.persistent = true
L20_1.area_id = 14
L21_1 = {}
L21_1.config_id = 157036
L21_1.gadget_id = 70310073
L22_1 = {}
L22_1.x = -4653.25
L22_1.y = 130.153
L22_1.z = -4288.482
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 90.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 30
L22_1 = GadgetState
L22_1 = L22_1.GearStart
L21_1.state = L22_1
L21_1.persistent = true
L21_1.area_id = 14
L22_1 = {}
L22_1.config_id = 157037
L22_1.gadget_id = 70310073
L23_1 = {}
L23_1.x = -4639.344
L23_1.y = 129.979
L23_1.z = -4259.389
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 = 30
L22_1.persistent = true
L22_1.area_id = 14
L23_1 = {}
L23_1.config_id = 157038
L23_1.gadget_id = 70310073
L24_1 = {}
L24_1.x = -4669.433
L24_1.y = 150.697
L24_1.z = -4279.551
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 88.239
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 30
L24_1 = GadgetState
L24_1 = L24_1.GearStart
L23_1.state = L24_1
L23_1.persistent = true
L23_1.area_id = 14
L24_1 = {}
L24_1.config_id = 157039
L24_1.gadget_id = 70310073
L25_1 = {}
L25_1.x = -4649.479
L25_1.y = 150.902
L25_1.z = -4286.697
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 1.868
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 30
L24_1.persistent = true
L24_1.area_id = 14
L25_1 = {}
L25_1.config_id = 157040
L25_1.gadget_id = 70310074
L26_1 = {}
L26_1.x = -4677.371
L26_1.y = 119.958
L26_1.z = -4239.891
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 88.035
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 30
L25_1.persistent = true
L25_1.area_id = 14
L26_1 = {}
L26_1.config_id = 157041
L26_1.gadget_id = 70310074
L27_1 = {}
L27_1.x = -4688.375
L27_1.y = 130.421
L27_1.z = -4237.443
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 30
L27_1 = GadgetState
L27_1 = L27_1.GearStart
L26_1.state = L27_1
L26_1.persistent = true
L26_1.area_id = 14
L27_1 = {}
L27_1.config_id = 157042
L27_1.gadget_id = 70310074
L28_1 = {}
L28_1.x = -4646.342
L28_1.y = 130.102
L28_1.z = -4288.776
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 90.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 30
L28_1 = GadgetState
L28_1 = L28_1.GearStart
L27_1.state = L28_1
L27_1.persistent = true
L27_1.area_id = 14
L28_1 = {}
L28_1.config_id = 157043
L28_1.gadget_id = 70310074
L29_1 = {}
L29_1.x = -4639.857
L29_1.y = 130.206
L29_1.z = -4264.841
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 30
L28_1.persistent = true
L28_1.area_id = 14
L29_1 = {}
L29_1.config_id = 157044
L29_1.gadget_id = 70310074
L30_1 = {}
L30_1.x = -4677.246
L30_1.y = 150.812
L30_1.z = -4286.585
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 0.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 30
L29_1.persistent = true
L29_1.area_id = 14
L30_1 = {}
L30_1.config_id = 157045
L30_1.gadget_id = 70310074
L31_1 = {}
L31_1.x = -4656.246
L31_1.y = 162.128
L31_1.z = -4226.412
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 90.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 30
L31_1 = GadgetState
L31_1 = L31_1.GearStart
L30_1.state = L31_1
L30_1.persistent = true
L30_1.area_id = 14
L31_1 = {}
L31_1.config_id = 157046
L31_1.gadget_id = 70310075
L32_1 = {}
L32_1.x = -4681.313
L32_1.y = 153.862
L32_1.z = -4268.467
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 30
L31_1.persistent = true
L31_1.area_id = 14
L32_1 = {}
L32_1.config_id = 157047
L32_1.gadget_id = 70310075
L33_1 = {}
L33_1.x = -4660.625
L33_1.y = 150.85
L33_1.z = -4279.436
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 90.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 30
L33_1 = GadgetState
L33_1 = L33_1.GearStart
L32_1.state = L33_1
L32_1.persistent = true
L32_1.area_id = 14
L33_1 = {}
L33_1.config_id = 157048
L33_1.gadget_id = 70310075
L34_1 = {}
L34_1.x = -4641.524
L34_1.y = 161.58
L34_1.z = -4256.35
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 0.0
L34_1.y = 0.0
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 30
L33_1.persistent = true
L33_1.area_id = 14
L34_1 = {}
L34_1.config_id = 157056
L34_1.gadget_id = 70211132
L35_1 = {}
L35_1.x = -4683.542
L35_1.y = 154.035
L35_1.z = -4256.697
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 2.69
L35_1.y = 162.316
L35_1.z = 3.439
L34_1.rot = L35_1
L34_1.level = 26
L34_1.drop_tag = "\232\167\163\232\176\156\232\182\133\231\186\167\231\168\187\229\166\187"
L35_1 = GadgetState
L35_1 = L35_1.ChestTrap
L34_1.state = L35_1
L34_1.isOneoff = true
L34_1.persistent = true
L35_1 = {}
L35_1.name = "chest"
L35_1.exp = 1
L34_1.explore = L35_1
L34_1.area_id = 14
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 157049
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 10.0
L3_1.y = 12.0
L3_1.z = 10.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = -4690.48
L3_1.y = 133.404
L3_1.z = -4278.866
L2_1.pos = L3_1
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 157050
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 11.0
L4_1.y = 13.0
L4_1.z = 20.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = -4693.245
L4_1.y = 156.518
L4_1.z = -4263.881
L3_1.pos = L4_1
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 157055
L5_1 = RegionShape
L5_1 = L5_1.CUBIC
L4_1.shape = L5_1
L5_1 = {}
L5_1.x = 10.0
L5_1.y = 10.0
L5_1.z = 10.0
L4_1.size = L5_1
L5_1 = {}
L5_1.x = -4681.257
L5_1.y = 158.012
L5_1.z = -4260.777
L4_1.pos = L5_1
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 157057
L6_1 = RegionShape
L6_1 = L6_1.CUBIC
L5_1.shape = L6_1
L6_1 = {}
L6_1.x = 10.0
L6_1.y = 10.0
L6_1.z = 8.0
L5_1.size = L6_1
L6_1 = {}
L6_1.x = -4690.338
L6_1.y = 135.549
L6_1.z = -4264.023
L5_1.pos = L6_1
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 157058
L7_1 = RegionShape
L7_1 = L7_1.CUBIC
L6_1.shape = L7_1
L7_1 = {}
L7_1.x = 10.0
L7_1.y = 10.0
L7_1.z = 8.0
L6_1.size = L7_1
L7_1 = {}
L7_1.x = -4640.01
L7_1.y = 134.53
L7_1.z = -4253.884
L6_1.pos = L7_1
L6_1.area_id = 14
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
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1157003
L2_1.name = "GADGET_CREATE_157003"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_157003"
L2_1.action = "action_EVENT_GADGET_CREATE_157003"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1157004
L3_1.name = "SELECT_OPTION_157004"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_157004"
L3_1.action = "action_EVENT_SELECT_OPTION_157004"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1157007
L4_1.name = "GADGET_CREATE_157007"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_CREATE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_CREATE_157007"
L4_1.action = "action_EVENT_GADGET_CREATE_157007"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1157008
L5_1.name = "SELECT_OPTION_157008"
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_157008"
L5_1.action = "action_EVENT_SELECT_OPTION_157008"
L5_1.trigger_count = 0
L6_1 = {}
L7_1 = 1157011
L6_1.config_id = L7_1
L7_1 = "GADGET_CREATE_157011"
L6_1.name = L7_1
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_CREATE
L6_1.event = L7_1
L6_1.source = ""
L7_1 = "condition_EVENT_GADGET_CREATE_157011"
L6_1.condition = L7_1
L7_1 = "action_EVENT_GADGET_CREATE_157011"
L6_1.action = L7_1
L6_1.trigger_count = 0
L7_1 = {}
L8_1 = 1157012
L7_1.config_id = L8_1
L8_1 = "SELECT_OPTION_157012"
L7_1.name = L8_1
L8_1 = EventType
L8_1 = L8_1.EVENT_SELECT_OPTION
L7_1.event = L8_1
L7_1.source = ""
L8_1 = "condition_EVENT_SELECT_OPTION_157012"
L7_1.condition = L8_1
L8_1 = "action_EVENT_SELECT_OPTION_157012"
L7_1.action = L8_1
L7_1.trigger_count = 0
L8_1 = {}
L9_1 = 1157015
L8_1.config_id = L9_1
L9_1 = "GADGET_CREATE_157015"
L8_1.name = L9_1
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_CREATE
L8_1.event = L9_1
L8_1.source = ""
L9_1 = "condition_EVENT_GADGET_CREATE_157015"
L8_1.condition = L9_1
L9_1 = "action_EVENT_GADGET_CREATE_157015"
L8_1.action = L9_1
L8_1.trigger_count = 0
L9_1 = {}
L10_1 = 1157016
L9_1.config_id = L10_1
L10_1 = "SELECT_OPTION_157016"
L9_1.name = L10_1
L10_1 = EventType
L10_1 = L10_1.EVENT_SELECT_OPTION
L9_1.event = L10_1
L9_1.source = ""
L10_1 = "condition_EVENT_SELECT_OPTION_157016"
L9_1.condition = L10_1
L10_1 = "action_EVENT_SELECT_OPTION_157016"
L9_1.action = L10_1
L9_1.trigger_count = 0
L10_1 = {}
L11_1 = 1157019
L10_1.config_id = L11_1
L11_1 = "GADGET_CREATE_157019"
L10_1.name = L11_1
L11_1 = EventType
L11_1 = L11_1.EVENT_GADGET_CREATE
L10_1.event = L11_1
L10_1.source = ""
L11_1 = "condition_EVENT_GADGET_CREATE_157019"
L10_1.condition = L11_1
L11_1 = "action_EVENT_GADGET_CREATE_157019"
L10_1.action = L11_1
L10_1.trigger_count = 0
L11_1 = {}
L12_1 = 1157020
L11_1.config_id = L12_1
L12_1 = "SELECT_OPTION_157020"
L11_1.name = L12_1
L12_1 = EventType
L12_1 = L12_1.EVENT_SELECT_OPTION
L11_1.event = L12_1
L11_1.source = ""
L12_1 = "condition_EVENT_SELECT_OPTION_157020"
L11_1.condition = L12_1
L12_1 = "action_EVENT_SELECT_OPTION_157020"
L11_1.action = L12_1
L11_1.trigger_count = 0
L12_1 = {}
L13_1 = 1157023
L12_1.config_id = L13_1
L13_1 = "GADGET_CREATE_157023"
L12_1.name = L13_1
L13_1 = EventType
L13_1 = L13_1.EVENT_GADGET_CREATE
L12_1.event = L13_1
L12_1.source = ""
L13_1 = "condition_EVENT_GADGET_CREATE_157023"
L12_1.condition = L13_1
L13_1 = "action_EVENT_GADGET_CREATE_157023"
L12_1.action = L13_1
L12_1.trigger_count = 0
L13_1 = {}
L14_1 = 1157024
L13_1.config_id = L14_1
L14_1 = "SELECT_OPTION_157024"
L13_1.name = L14_1
L14_1 = EventType
L14_1 = L14_1.EVENT_SELECT_OPTION
L13_1.event = L14_1
L13_1.source = ""
L14_1 = "condition_EVENT_SELECT_OPTION_157024"
L13_1.condition = L14_1
L14_1 = "action_EVENT_SELECT_OPTION_157024"
L13_1.action = L14_1
L13_1.trigger_count = 0
L14_1 = {}
L15_1 = 1157027
L14_1.config_id = L15_1
L15_1 = "GADGET_CREATE_157027"
L14_1.name = L15_1
L15_1 = EventType
L15_1 = L15_1.EVENT_GADGET_CREATE
L14_1.event = L15_1
L14_1.source = ""
L15_1 = "condition_EVENT_GADGET_CREATE_157027"
L14_1.condition = L15_1
L15_1 = "action_EVENT_GADGET_CREATE_157027"
L14_1.action = L15_1
L14_1.trigger_count = 0
L15_1 = {}
L16_1 = 1157028
L15_1.config_id = L16_1
L16_1 = "SELECT_OPTION_157028"
L15_1.name = L16_1
L16_1 = EventType
L16_1 = L16_1.EVENT_SELECT_OPTION
L15_1.event = L16_1
L15_1.source = ""
L16_1 = "condition_EVENT_SELECT_OPTION_157028"
L15_1.condition = L16_1
L16_1 = "action_EVENT_SELECT_OPTION_157028"
L15_1.action = L16_1
L15_1.trigger_count = 0
L16_1 = {}
L17_1 = 1157031
L16_1.config_id = L17_1
L17_1 = "GADGET_CREATE_157031"
L16_1.name = L17_1
L17_1 = EventType
L17_1 = L17_1.EVENT_GADGET_CREATE
L16_1.event = L17_1
L16_1.source = ""
L17_1 = "condition_EVENT_GADGET_CREATE_157031"
L16_1.condition = L17_1
L17_1 = "action_EVENT_GADGET_CREATE_157031"
L16_1.action = L17_1
L16_1.trigger_count = 0
L17_1 = {}
L18_1 = 1157032
L17_1.config_id = L18_1
L18_1 = "SELECT_OPTION_157032"
L17_1.name = L18_1
L18_1 = EventType
L18_1 = L18_1.EVENT_SELECT_OPTION
L17_1.event = L18_1
L17_1.source = ""
L18_1 = "condition_EVENT_SELECT_OPTION_157032"
L17_1.condition = L18_1
L18_1 = "action_EVENT_SELECT_OPTION_157032"
L17_1.action = L18_1
L17_1.trigger_count = 0
L18_1 = {}
L19_1 = 1157049
L18_1.config_id = L19_1
L19_1 = "ENTER_REGION_157049"
L18_1.name = L19_1
L19_1 = EventType
L20_1 = "EVENT_ENTER_REGION"
L19_1 = L19_1[L20_1]
L18_1.event = L19_1
L18_1.source = ""
L19_1 = "condition_EVENT_ENTER_REGION_157049"
L18_1.condition = L19_1
L19_1 = "action_EVENT_ENTER_REGION_157049"
L18_1.action = L19_1
L19_1 = {}
L20_1 = 1157050
L19_1.config_id = L20_1
L20_1 = "ENTER_REGION_157050"
L19_1.name = L20_1
L20_1 = EventType
L21_1 = "EVENT_ENTER_REGION"
L20_1 = L20_1[L21_1]
L19_1.event = L20_1
L19_1.source = ""
L20_1 = "condition_EVENT_ENTER_REGION_157050"
L19_1.condition = L20_1
L20_1 = "action_EVENT_ENTER_REGION_157050"
L19_1.action = L20_1
L20_1 = {}
L21_1 = 1157055
L20_1.config_id = L21_1
L21_1 = "ENTER_REGION_157055"
L20_1.name = L21_1
L21_1 = EventType
L22_1 = "EVENT_ENTER_REGION"
L21_1 = L21_1[L22_1]
L20_1.event = L21_1
L20_1.source = ""
L21_1 = "condition_EVENT_ENTER_REGION_157055"
L20_1.condition = L21_1
L21_1 = "action_EVENT_ENTER_REGION_157055"
L20_1.action = L21_1
L20_1.trigger_count = 0
L21_1 = {}
L22_1 = 1157057
L21_1.config_id = L22_1
L22_1 = "ENTER_REGION_157057"
L21_1.name = L22_1
L22_1 = EventType
L23_1 = "EVENT_ENTER_REGION"
L22_1 = L22_1[L23_1]
L21_1.event = L22_1
L21_1.source = ""
L22_1 = "condition_EVENT_ENTER_REGION_157057"
L21_1.condition = L22_1
L22_1 = "action_EVENT_ENTER_REGION_157057"
L21_1.action = L22_1
L21_1.trigger_count = 0
L22_1 = {}
L23_1 = 1157058
L22_1.config_id = L23_1
L23_1 = "ENTER_REGION_157058"
L22_1.name = L23_1
L23_1 = EventType
L24_1 = "EVENT_ENTER_REGION"
L23_1 = L23_1[L24_1]
L22_1.event = L23_1
L22_1.source = ""
L23_1 = "condition_EVENT_ENTER_REGION_157058"
L22_1.condition = L23_1
L23_1 = "action_EVENT_ENTER_REGION_157058"
L22_1.action = L23_1
L22_1.trigger_count = 0
L23_1 = {}
L24_1 = 1157061
L23_1.config_id = L24_1
L24_1 = "GROUP_LOAD_157061"
L23_1.name = L24_1
L24_1 = EventType
L25_1 = "EVENT_GROUP_LOAD"
L24_1 = L24_1[L25_1]
L23_1.event = L24_1
L23_1.source = ""
L24_1 = "condition_EVENT_GROUP_LOAD_157061"
L23_1.condition = L24_1
L24_1 = "action_EVENT_GROUP_LOAD_157061"
L23_1.action = L24_1
L23_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
triggers = L1_1
L1_1 = "variables"
L2_1 = {}
L3_1 = {}
L4_1 = "configId"
L3_1[L4_1] = 1
L4_1 = "Last"
L3_1.name = L4_1
L4_1 = "value"
L3_1[L4_1] = 0
L4_1 = "no_refresh"
L3_1[L4_1] = true
L2_1[1] = L3_1
_ENV[L1_1] = L2_1
L1_1 = "garbages"
L2_1 = {}
L3_1 = {}
L4_1 = {}
L5_1 = 157052
L4_1.config_id = L5_1
L5_1 = 70211112
L4_1.gadget_id = L5_1
L5_1 = {}
L6_1 = -4690.416
L5_1.x = L6_1
L6_1 = 130.726
L5_1.y = L6_1
L6_1 = -4263.593
L5_1.z = L6_1
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 26
L5_1 = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187"
L4_1.drop_tag = L5_1
L5_1 = GadgetState
L6_1 = "ChestLocked"
L5_1 = L5_1[L6_1]
L4_1.state = L5_1
L4_1.isOneoff = true
L4_1.persistent = true
L5_1 = {}
L5_1.name = "chest"
L5_1.exp = 1
L4_1.explore = L5_1
L4_1.area_id = 14
L5_1 = {}
L6_1 = 157054
L5_1.config_id = L6_1
L6_1 = 70211122
L5_1.gadget_id = L6_1
L6_1 = {}
L7_1 = -4639.761
L6_1.x = L7_1
L7_1 = 129.848
L6_1.y = L7_1
L7_1 = -4254.938
L6_1.z = L7_1
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L7_1 = 178.936
L6_1.y = L7_1
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 26
L6_1 = "\232\167\163\232\176\156\233\171\152\231\186\167\231\168\187\229\166\187"
L5_1.drop_tag = L6_1
L6_1 = GadgetState
L7_1 = "ChestLocked"
L6_1 = L6_1[L7_1]
L5_1.state = L6_1
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.name = "chest"
L6_1.exp = 1
L5_1.explore = L6_1
L5_1.area_id = 14
L6_1 = {}
L7_1 = 157059
L6_1.config_id = L7_1
L7_1 = 70950047
L6_1.gadget_id = L7_1
L7_1 = {}
L8_1 = -4661.628
L7_1.x = L8_1
L8_1 = 130.965
L7_1.y = L8_1
L8_1 = -4246.06
L7_1.z = L8_1
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 90.0
L7_1.z = 90.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.area_id = 14
L7_1 = {}
L8_1 = 157060
L7_1.config_id = L8_1
L8_1 = 70950047
L7_1.gadget_id = L8_1
L8_1 = {}
L9_1 = -4665.878
L8_1.x = L9_1
L9_1 = 130.965
L8_1.y = L9_1
L9_1 = -4246.06
L8_1.z = L9_1
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 90.0
L8_1.z = 90.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.area_id = 14
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = {}
L5_1 = 157051
L4_1.config_id = L5_1
L5_1 = RegionShape
L5_1 = L5_1.CUBIC
L4_1.shape = L5_1
L5_1 = {}
L5_1.x = 10.0
L5_1.y = 10.0
L5_1.z = 8.0
L4_1.size = L5_1
L5_1 = {}
L5_1.x = -4690.338
L5_1.y = 135.549
L6_1 = -4261.74
L5_1.z = L6_1
L4_1.pos = L5_1
L4_1.area_id = 14
L5_1 = {}
L6_1 = 157053
L5_1.config_id = L6_1
L6_1 = RegionShape
L6_1 = L6_1.CUBIC
L5_1.shape = L6_1
L6_1 = {}
L6_1.x = 10.0
L6_1.y = 10.0
L6_1.z = 8.0
L5_1.size = L6_1
L6_1 = {}
L6_1.x = -4640.01
L6_1.y = 134.53
L6_1.z = -4253.884
L5_1.pos = L6_1
L5_1.area_id = 14
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = {}
L5_1 = 1157051
L4_1.config_id = L5_1
L5_1 = "ENTER_REGION_157051"
L4_1.name = L5_1
L5_1 = EventType
L6_1 = "EVENT_ENTER_REGION"
L5_1 = L5_1[L6_1]
L4_1.event = L5_1
L4_1.source = ""
L5_1 = "condition_EVENT_ENTER_REGION_157051"
L4_1.condition = L5_1
L5_1 = "action_EVENT_ENTER_REGION_157051"
L4_1.action = L5_1
L4_1.trigger_count = 0
L5_1 = {}
L6_1 = 1157053
L5_1.config_id = L6_1
L6_1 = "ENTER_REGION_157053"
L5_1.name = L6_1
L6_1 = EventType
L7_1 = "EVENT_ENTER_REGION"
L6_1 = L6_1[L7_1]
L5_1.event = L6_1
L5_1.source = ""
L6_1 = "condition_EVENT_ENTER_REGION_157053"
L5_1.condition = L6_1
L6_1 = "action_EVENT_ENTER_REGION_157053"
L5_1.action = L6_1
L5_1.trigger_count = 0
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
_ENV[L1_1] = L2_1
L1_1 = "init_config"
L2_1 = {}
L3_1 = "suite"
L2_1[L3_1] = 1
L3_1 = "end_suite"
L2_1[L3_1] = 0
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 = 157001
L6_1 = 157002
L7_1 = 157005
L8_1 = 157006
L9_1 = 157009
L10_1 = 157010
L11_1 = 157013
L12_1 = 157014
L13_1 = 157017
L14_1 = 157018
L15_1 = 157021
L16_1 = 157022
L17_1 = 157025
L18_1 = 157026
L19_1 = 157029
L20_1 = 157030
L21_1 = 157033
L22_1 = 157034
L23_1 = 157035
L24_1 = 157036
L25_1 = 157037
L26_1 = 157038
L27_1 = 157039
L28_1 = 157040
L29_1 = 157041
L30_1 = 157042
L31_1 = 157043
L32_1 = 157044
L33_1 = 157045
L34_1 = 157046
L35_1 = 157047
L36_1 = 157048
L37_1 = 157056
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
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L4_1[20] = L24_1
L4_1[21] = L25_1
L4_1[22] = L26_1
L4_1[23] = L27_1
L4_1[24] = L28_1
L4_1[25] = L29_1
L4_1[26] = L30_1
L4_1[27] = L31_1
L4_1[28] = L32_1
L4_1[29] = L33_1
L4_1[30] = L34_1
L4_1[31] = L35_1
L4_1[32] = L36_1
L4_1[33] = L37_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 157049
L6_1 = 157050
L7_1 = 157055
L8_1 = 157057
L9_1 = 157058
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.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_157003"
L6_1 = "SELECT_OPTION_157004"
L7_1 = "GADGET_CREATE_157007"
L8_1 = "SELECT_OPTION_157008"
L9_1 = "GADGET_CREATE_157011"
L10_1 = "SELECT_OPTION_157012"
L11_1 = "GADGET_CREATE_157015"
L12_1 = "SELECT_OPTION_157016"
L13_1 = "GADGET_CREATE_157019"
L14_1 = "SELECT_OPTION_157020"
L15_1 = "GADGET_CREATE_157023"
L16_1 = "SELECT_OPTION_157024"
L17_1 = "GADGET_CREATE_157027"
L18_1 = "SELECT_OPTION_157028"
L19_1 = "GADGET_CREATE_157031"
L20_1 = "SELECT_OPTION_157032"
L21_1 = "ENTER_REGION_157049"
L22_1 = "ENTER_REGION_157050"
L23_1 = "ENTER_REGION_157055"
L24_1 = "ENTER_REGION_157057"
L25_1 = "ENTER_REGION_157058"
L26_1 = "GROUP_LOAD_157061"
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
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L4_1[20] = L24_1
L4_1[21] = L25_1
L4_1[22] = L26_1
L3_1.triggers = L4_1
L4_1 = "rand_weight"
L5_1 = 100
L3_1[L4_1] = L5_1
L2_1[1] = L3_1
_ENV[L1_1] = L2_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_157003 = 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 = 133222157
L5_2 = 157002
L6_2 = {}
L7_2 = 7
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_157003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_157004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2, L25_2, L26_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157001
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157001
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157001
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157001
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157001
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157033
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157034
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157035
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = {}
L11_2 = 0
L12_2 = 201
L10_2[1] = L11_2
L10_2[2] = L12_2
L11_2 = 0
L12_2 = #L10_2
if 0 == L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = pairs
L13_2 = L10_2
L12_2, L13_2, L14_2 = L12_2(L13_2)
for L15_2, L16_2 in L12_2, L13_2, L14_2 do
L17_2 = ScriptLib
L17_2 = L17_2.GetGadgetStateByConfigId
L18_2 = A0_2
L19_2 = 133222157
L20_2 = 157036
L17_2 = L17_2(L18_2, L19_2, L20_2)
if L16_2 == L17_2 then
L11_2 = L15_2
break
end
end
if 0 == L11_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[1]
L12_2(L13_2, L14_2, L15_2, L16_2)
L12_2 = 0
return L12_2
end
L11_2 = L11_2 + 1
L12_2 = #L10_2
L11_2 = L11_2 % L12_2
if 0 == L11_2 then
L11_2 = #L10_2
end
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[L11_2]
L12_2 = L12_2(L13_2, L14_2, L15_2, L16_2)
if 0 ~= L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = {}
L13_2 = 0
L14_2 = 201
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = 0
L14_2 = #L12_2
if 0 == L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = pairs
L15_2 = L12_2
L14_2, L15_2, L16_2 = L14_2(L15_2)
for L17_2, L18_2 in L14_2, L15_2, L16_2 do
L19_2 = ScriptLib
L19_2 = L19_2.GetGadgetStateByConfigId
L20_2 = A0_2
L21_2 = 133222157
L22_2 = 157037
L19_2 = L19_2(L20_2, L21_2, L22_2)
if L18_2 == L19_2 then
L13_2 = L17_2
break
end
end
if 0 == L13_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[1]
L14_2(L15_2, L16_2, L17_2, L18_2)
L14_2 = 0
return L14_2
end
L13_2 = L13_2 + 1
L14_2 = #L12_2
L13_2 = L13_2 % L14_2
if 0 == L13_2 then
L13_2 = #L12_2
end
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[L13_2]
L14_2 = L14_2(L15_2, L16_2, L17_2, L18_2)
if 0 ~= L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = {}
L15_2 = 0
L16_2 = 201
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = 0
L16_2 = #L14_2
if 0 == L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = pairs
L17_2 = L14_2
L16_2, L17_2, L18_2 = L16_2(L17_2)
for L19_2, L20_2 in L16_2, L17_2, L18_2 do
L21_2 = ScriptLib
L21_2 = L21_2.GetGadgetStateByConfigId
L22_2 = A0_2
L23_2 = 133222157
L24_2 = 157038
L21_2 = L21_2(L22_2, L23_2, L24_2)
if L20_2 == L21_2 then
L15_2 = L19_2
break
end
end
if 0 == L15_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[1]
L16_2(L17_2, L18_2, L19_2, L20_2)
L16_2 = 0
return L16_2
end
L15_2 = L15_2 + 1
L16_2 = #L14_2
L15_2 = L15_2 % L16_2
if 0 == L15_2 then
L15_2 = #L14_2
end
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[L15_2]
L16_2 = L16_2(L17_2, L18_2, L19_2, L20_2)
if 0 ~= L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = {}
L17_2 = 0
L18_2 = 201
L16_2[1] = L17_2
L16_2[2] = L18_2
L17_2 = 0
L18_2 = #L16_2
if 0 == L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = pairs
L19_2 = L16_2
L18_2, L19_2, L20_2 = L18_2(L19_2)
for L21_2, L22_2 in L18_2, L19_2, L20_2 do
L23_2 = ScriptLib
L23_2 = L23_2.GetGadgetStateByConfigId
L24_2 = A0_2
L25_2 = 133222157
L26_2 = 157039
L23_2 = L23_2(L24_2, L25_2, L26_2)
if L22_2 == L23_2 then
L17_2 = L21_2
break
end
end
if 0 == L17_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[1]
L18_2(L19_2, L20_2, L21_2, L22_2)
L18_2 = 0
return L18_2
end
L17_2 = L17_2 + 1
L18_2 = #L16_2
L17_2 = L17_2 % L18_2
if 0 == L17_2 then
L17_2 = #L16_2
end
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[L17_2]
L18_2 = L18_2(L19_2, L20_2, L21_2, L22_2)
if 0 ~= L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = 0
return L18_2
end
action_EVENT_SELECT_OPTION_157004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_157007 = 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 = 133222157
L5_2 = 157006
L6_2 = {}
L7_2 = 7
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_157007 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_157008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2, L25_2, L26_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157005
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157005
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157005
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157005
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157005
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157033
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157034
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157035
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = {}
L11_2 = 0
L12_2 = 201
L10_2[1] = L11_2
L10_2[2] = L12_2
L11_2 = 0
L12_2 = #L10_2
if 0 == L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = pairs
L13_2 = L10_2
L12_2, L13_2, L14_2 = L12_2(L13_2)
for L15_2, L16_2 in L12_2, L13_2, L14_2 do
L17_2 = ScriptLib
L17_2 = L17_2.GetGadgetStateByConfigId
L18_2 = A0_2
L19_2 = 133222157
L20_2 = 157036
L17_2 = L17_2(L18_2, L19_2, L20_2)
if L16_2 == L17_2 then
L11_2 = L15_2
break
end
end
if 0 == L11_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[1]
L12_2(L13_2, L14_2, L15_2, L16_2)
L12_2 = 0
return L12_2
end
L11_2 = L11_2 + 1
L12_2 = #L10_2
L11_2 = L11_2 % L12_2
if 0 == L11_2 then
L11_2 = #L10_2
end
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[L11_2]
L12_2 = L12_2(L13_2, L14_2, L15_2, L16_2)
if 0 ~= L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = {}
L13_2 = 0
L14_2 = 201
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = 0
L14_2 = #L12_2
if 0 == L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = pairs
L15_2 = L12_2
L14_2, L15_2, L16_2 = L14_2(L15_2)
for L17_2, L18_2 in L14_2, L15_2, L16_2 do
L19_2 = ScriptLib
L19_2 = L19_2.GetGadgetStateByConfigId
L20_2 = A0_2
L21_2 = 133222157
L22_2 = 157037
L19_2 = L19_2(L20_2, L21_2, L22_2)
if L18_2 == L19_2 then
L13_2 = L17_2
break
end
end
if 0 == L13_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[1]
L14_2(L15_2, L16_2, L17_2, L18_2)
L14_2 = 0
return L14_2
end
L13_2 = L13_2 + 1
L14_2 = #L12_2
L13_2 = L13_2 % L14_2
if 0 == L13_2 then
L13_2 = #L12_2
end
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[L13_2]
L14_2 = L14_2(L15_2, L16_2, L17_2, L18_2)
if 0 ~= L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = {}
L15_2 = 0
L16_2 = 201
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = 0
L16_2 = #L14_2
if 0 == L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = pairs
L17_2 = L14_2
L16_2, L17_2, L18_2 = L16_2(L17_2)
for L19_2, L20_2 in L16_2, L17_2, L18_2 do
L21_2 = ScriptLib
L21_2 = L21_2.GetGadgetStateByConfigId
L22_2 = A0_2
L23_2 = 133222157
L24_2 = 157038
L21_2 = L21_2(L22_2, L23_2, L24_2)
if L20_2 == L21_2 then
L15_2 = L19_2
break
end
end
if 0 == L15_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[1]
L16_2(L17_2, L18_2, L19_2, L20_2)
L16_2 = 0
return L16_2
end
L15_2 = L15_2 + 1
L16_2 = #L14_2
L15_2 = L15_2 % L16_2
if 0 == L15_2 then
L15_2 = #L14_2
end
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[L15_2]
L16_2 = L16_2(L17_2, L18_2, L19_2, L20_2)
if 0 ~= L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = {}
L17_2 = 0
L18_2 = 201
L16_2[1] = L17_2
L16_2[2] = L18_2
L17_2 = 0
L18_2 = #L16_2
if 0 == L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = pairs
L19_2 = L16_2
L18_2, L19_2, L20_2 = L18_2(L19_2)
for L21_2, L22_2 in L18_2, L19_2, L20_2 do
L23_2 = ScriptLib
L23_2 = L23_2.GetGadgetStateByConfigId
L24_2 = A0_2
L25_2 = 133222157
L26_2 = 157039
L23_2 = L23_2(L24_2, L25_2, L26_2)
if L22_2 == L23_2 then
L17_2 = L21_2
break
end
end
if 0 == L17_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[1]
L18_2(L19_2, L20_2, L21_2, L22_2)
L18_2 = 0
return L18_2
end
L17_2 = L17_2 + 1
L18_2 = #L16_2
L17_2 = L17_2 % L18_2
if 0 == L17_2 then
L17_2 = #L16_2
end
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[L17_2]
L18_2 = L18_2(L19_2, L20_2, L21_2, L22_2)
if 0 ~= L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = 0
return L18_2
end
action_EVENT_SELECT_OPTION_157008 = L1_1
L1_1 = "condition_EVENT_GADGET_CREATE_157011"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157010 ~= 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_157011"
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 = 133222157
L5_2 = 157010
L6_2 = {}
L7_2 = 7
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_SELECT_OPTION_157012"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157010 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= 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_157012"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2, L25_2, L26_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157009
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157009
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157009
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157009
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157009
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157033
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157034
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157035
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = {}
L11_2 = 0
L12_2 = 201
L10_2[1] = L11_2
L10_2[2] = L12_2
L11_2 = 0
L12_2 = #L10_2
if 0 == L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = pairs
L13_2 = L10_2
L12_2, L13_2, L14_2 = L12_2(L13_2)
for L15_2, L16_2 in L12_2, L13_2, L14_2 do
L17_2 = ScriptLib
L17_2 = L17_2.GetGadgetStateByConfigId
L18_2 = A0_2
L19_2 = 133222157
L20_2 = 157036
L17_2 = L17_2(L18_2, L19_2, L20_2)
if L16_2 == L17_2 then
L11_2 = L15_2
break
end
end
if 0 == L11_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[1]
L12_2(L13_2, L14_2, L15_2, L16_2)
L12_2 = 0
return L12_2
end
L11_2 = L11_2 + 1
L12_2 = #L10_2
L11_2 = L11_2 % L12_2
if 0 == L11_2 then
L11_2 = #L10_2
end
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[L11_2]
L12_2 = L12_2(L13_2, L14_2, L15_2, L16_2)
if 0 ~= L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = {}
L13_2 = 0
L14_2 = 201
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = 0
L14_2 = #L12_2
if 0 == L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = pairs
L15_2 = L12_2
L14_2, L15_2, L16_2 = L14_2(L15_2)
for L17_2, L18_2 in L14_2, L15_2, L16_2 do
L19_2 = ScriptLib
L19_2 = L19_2.GetGadgetStateByConfigId
L20_2 = A0_2
L21_2 = 133222157
L22_2 = 157037
L19_2 = L19_2(L20_2, L21_2, L22_2)
if L18_2 == L19_2 then
L13_2 = L17_2
break
end
end
if 0 == L13_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[1]
L14_2(L15_2, L16_2, L17_2, L18_2)
L14_2 = 0
return L14_2
end
L13_2 = L13_2 + 1
L14_2 = #L12_2
L13_2 = L13_2 % L14_2
if 0 == L13_2 then
L13_2 = #L12_2
end
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[L13_2]
L14_2 = L14_2(L15_2, L16_2, L17_2, L18_2)
if 0 ~= L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = {}
L15_2 = 0
L16_2 = 201
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = 0
L16_2 = #L14_2
if 0 == L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = pairs
L17_2 = L14_2
L16_2, L17_2, L18_2 = L16_2(L17_2)
for L19_2, L20_2 in L16_2, L17_2, L18_2 do
L21_2 = ScriptLib
L21_2 = L21_2.GetGadgetStateByConfigId
L22_2 = A0_2
L23_2 = 133222157
L24_2 = 157038
L21_2 = L21_2(L22_2, L23_2, L24_2)
if L20_2 == L21_2 then
L15_2 = L19_2
break
end
end
if 0 == L15_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[1]
L16_2(L17_2, L18_2, L19_2, L20_2)
L16_2 = 0
return L16_2
end
L15_2 = L15_2 + 1
L16_2 = #L14_2
L15_2 = L15_2 % L16_2
if 0 == L15_2 then
L15_2 = #L14_2
end
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[L15_2]
L16_2 = L16_2(L17_2, L18_2, L19_2, L20_2)
if 0 ~= L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = {}
L17_2 = 0
L18_2 = 201
L16_2[1] = L17_2
L16_2[2] = L18_2
L17_2 = 0
L18_2 = #L16_2
if 0 == L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = pairs
L19_2 = L16_2
L18_2, L19_2, L20_2 = L18_2(L19_2)
for L21_2, L22_2 in L18_2, L19_2, L20_2 do
L23_2 = ScriptLib
L23_2 = L23_2.GetGadgetStateByConfigId
L24_2 = A0_2
L25_2 = 133222157
L26_2 = 157039
L23_2 = L23_2(L24_2, L25_2, L26_2)
if L22_2 == L23_2 then
L17_2 = L21_2
break
end
end
if 0 == L17_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[1]
L18_2(L19_2, L20_2, L21_2, L22_2)
L18_2 = 0
return L18_2
end
L17_2 = L17_2 + 1
L18_2 = #L16_2
L17_2 = L17_2 % L18_2
if 0 == L17_2 then
L17_2 = #L16_2
end
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[L17_2]
L18_2 = L18_2(L19_2, L20_2, L21_2, L22_2)
if 0 ~= L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = 0
return L18_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_CREATE_157015"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157014 ~= 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_157015"
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 = 133222157
L5_2 = 157014
L6_2 = {}
L7_2 = 7
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_SELECT_OPTION_157016"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157014 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= 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_157016"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2, L25_2, L26_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157013
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157013
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157013
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157013
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157013
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157033
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157033
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157033
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157034
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157034
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157034
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157035
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157035
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157035
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = {}
L11_2 = 0
L12_2 = 201
L10_2[1] = L11_2
L10_2[2] = L12_2
L11_2 = 0
L12_2 = #L10_2
if 0 == L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = pairs
L13_2 = L10_2
L12_2, L13_2, L14_2 = L12_2(L13_2)
for L15_2, L16_2 in L12_2, L13_2, L14_2 do
L17_2 = ScriptLib
L17_2 = L17_2.GetGadgetStateByConfigId
L18_2 = A0_2
L19_2 = 133222157
L20_2 = 157036
L17_2 = L17_2(L18_2, L19_2, L20_2)
if L16_2 == L17_2 then
L11_2 = L15_2
break
end
end
if 0 == L11_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[1]
L12_2(L13_2, L14_2, L15_2, L16_2)
L12_2 = 0
return L12_2
end
L11_2 = L11_2 + 1
L12_2 = #L10_2
L11_2 = L11_2 % L12_2
if 0 == L11_2 then
L11_2 = #L10_2
end
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157036
L16_2 = L10_2[L11_2]
L12_2 = L12_2(L13_2, L14_2, L15_2, L16_2)
if 0 ~= L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L15_2 = 157036
L16_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = {}
L13_2 = 0
L14_2 = 201
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = 0
L14_2 = #L12_2
if 0 == L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = pairs
L15_2 = L12_2
L14_2, L15_2, L16_2 = L14_2(L15_2)
for L17_2, L18_2 in L14_2, L15_2, L16_2 do
L19_2 = ScriptLib
L19_2 = L19_2.GetGadgetStateByConfigId
L20_2 = A0_2
L21_2 = 133222157
L22_2 = 157037
L19_2 = L19_2(L20_2, L21_2, L22_2)
if L18_2 == L19_2 then
L13_2 = L17_2
break
end
end
if 0 == L13_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[1]
L14_2(L15_2, L16_2, L17_2, L18_2)
L14_2 = 0
return L14_2
end
L13_2 = L13_2 + 1
L14_2 = #L12_2
L13_2 = L13_2 % L14_2
if 0 == L13_2 then
L13_2 = #L12_2
end
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157037
L18_2 = L12_2[L13_2]
L14_2 = L14_2(L15_2, L16_2, L17_2, L18_2)
if 0 ~= L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L17_2 = 157037
L18_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = {}
L15_2 = 0
L16_2 = 201
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = 0
L16_2 = #L14_2
if 0 == L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = pairs
L17_2 = L14_2
L16_2, L17_2, L18_2 = L16_2(L17_2)
for L19_2, L20_2 in L16_2, L17_2, L18_2 do
L21_2 = ScriptLib
L21_2 = L21_2.GetGadgetStateByConfigId
L22_2 = A0_2
L23_2 = 133222157
L24_2 = 157038
L21_2 = L21_2(L22_2, L23_2, L24_2)
if L20_2 == L21_2 then
L15_2 = L19_2
break
end
end
if 0 == L15_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[1]
L16_2(L17_2, L18_2, L19_2, L20_2)
L16_2 = 0
return L16_2
end
L15_2 = L15_2 + 1
L16_2 = #L14_2
L15_2 = L15_2 % L16_2
if 0 == L15_2 then
L15_2 = #L14_2
end
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157038
L20_2 = L14_2[L15_2]
L16_2 = L16_2(L17_2, L18_2, L19_2, L20_2)
if 0 ~= L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L19_2 = 157038
L20_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = {}
L17_2 = 0
L18_2 = 201
L16_2[1] = L17_2
L16_2[2] = L18_2
L17_2 = 0
L18_2 = #L16_2
if 0 == L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = pairs
L19_2 = L16_2
L18_2, L19_2, L20_2 = L18_2(L19_2)
for L21_2, L22_2 in L18_2, L19_2, L20_2 do
L23_2 = ScriptLib
L23_2 = L23_2.GetGadgetStateByConfigId
L24_2 = A0_2
L25_2 = 133222157
L26_2 = 157039
L23_2 = L23_2(L24_2, L25_2, L26_2)
if L22_2 == L23_2 then
L17_2 = L21_2
break
end
end
if 0 == L17_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[1]
L18_2(L19_2, L20_2, L21_2, L22_2)
L18_2 = 0
return L18_2
end
L17_2 = L17_2 + 1
L18_2 = #L16_2
L17_2 = L17_2 % L18_2
if 0 == L17_2 then
L17_2 = #L16_2
end
L18_2 = ScriptLib
L18_2 = L18_2.SetGroupGadgetStateByConfigId
L19_2 = A0_2
L20_2 = 133222157
L21_2 = 157039
L22_2 = L16_2[L17_2]
L18_2 = L18_2(L19_2, L20_2, L21_2, L22_2)
if 0 ~= L18_2 then
L18_2 = ScriptLib
L18_2 = L18_2.PrintContextLog
L19_2 = A0_2
L20_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L21_2 = 157039
L22_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L20_2 = L20_2 .. L21_2 .. L22_2
L18_2(L19_2, L20_2)
L18_2 = -1
return L18_2
end
L18_2 = 0
return L18_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_CREATE_157019"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157018 ~= 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_157019"
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 = 133222157
L5_2 = 157018
L6_2 = {}
L7_2 = 7
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_SELECT_OPTION_157020"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157018 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= 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_157020"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157017
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157017
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157017
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157017
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157017
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157040
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157040
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157040
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157040
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157040
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157041
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157041
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157041
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157041
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157041
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157042
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157042
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157042
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157042
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157042
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = {}
L11_2 = 0
L12_2 = 201
L10_2[1] = L11_2
L10_2[2] = L12_2
L11_2 = 0
L12_2 = #L10_2
if 0 == L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = pairs
L13_2 = L10_2
L12_2, L13_2, L14_2 = L12_2(L13_2)
for L15_2, L16_2 in L12_2, L13_2, L14_2 do
L17_2 = ScriptLib
L17_2 = L17_2.GetGadgetStateByConfigId
L18_2 = A0_2
L19_2 = 133222157
L20_2 = 157043
L17_2 = L17_2(L18_2, L19_2, L20_2)
if L16_2 == L17_2 then
L11_2 = L15_2
break
end
end
if 0 == L11_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L15_2 = 157043
L16_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157043
L16_2 = L10_2[1]
L12_2(L13_2, L14_2, L15_2, L16_2)
L12_2 = 0
return L12_2
end
L11_2 = L11_2 + 1
L12_2 = #L10_2
L11_2 = L11_2 % L12_2
if 0 == L11_2 then
L11_2 = #L10_2
end
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157043
L16_2 = L10_2[L11_2]
L12_2 = L12_2(L13_2, L14_2, L15_2, L16_2)
if 0 ~= L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L15_2 = 157043
L16_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = {}
L13_2 = 0
L14_2 = 201
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = 0
L14_2 = #L12_2
if 0 == L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = pairs
L15_2 = L12_2
L14_2, L15_2, L16_2 = L14_2(L15_2)
for L17_2, L18_2 in L14_2, L15_2, L16_2 do
L19_2 = ScriptLib
L19_2 = L19_2.GetGadgetStateByConfigId
L20_2 = A0_2
L21_2 = 133222157
L22_2 = 157044
L19_2 = L19_2(L20_2, L21_2, L22_2)
if L18_2 == L19_2 then
L13_2 = L17_2
break
end
end
if 0 == L13_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L17_2 = 157044
L18_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157044
L18_2 = L12_2[1]
L14_2(L15_2, L16_2, L17_2, L18_2)
L14_2 = 0
return L14_2
end
L13_2 = L13_2 + 1
L14_2 = #L12_2
L13_2 = L13_2 % L14_2
if 0 == L13_2 then
L13_2 = #L12_2
end
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157044
L18_2 = L12_2[L13_2]
L14_2 = L14_2(L15_2, L16_2, L17_2, L18_2)
if 0 ~= L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L17_2 = 157044
L18_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = {}
L15_2 = 0
L16_2 = 201
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = 0
L16_2 = #L14_2
if 0 == L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = pairs
L17_2 = L14_2
L16_2, L17_2, L18_2 = L16_2(L17_2)
for L19_2, L20_2 in L16_2, L17_2, L18_2 do
L21_2 = ScriptLib
L21_2 = L21_2.GetGadgetStateByConfigId
L22_2 = A0_2
L23_2 = 133222157
L24_2 = 157045
L21_2 = L21_2(L22_2, L23_2, L24_2)
if L20_2 == L21_2 then
L15_2 = L19_2
break
end
end
if 0 == L15_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L19_2 = 157045
L20_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157045
L20_2 = L14_2[1]
L16_2(L17_2, L18_2, L19_2, L20_2)
L16_2 = 0
return L16_2
end
L15_2 = L15_2 + 1
L16_2 = #L14_2
L15_2 = L15_2 % L16_2
if 0 == L15_2 then
L15_2 = #L14_2
end
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157045
L20_2 = L14_2[L15_2]
L16_2 = L16_2(L17_2, L18_2, L19_2, L20_2)
if 0 ~= L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L19_2 = 157045
L20_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = 0
return L16_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_CREATE_157023"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157022 ~= 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_157023"
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 = 133222157
L5_2 = 157022
L6_2 = {}
L7_2 = 7
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_SELECT_OPTION_157024"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157022 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= 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_157024"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157021
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157021
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157021
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157021
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157021
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157040
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157040
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157040
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157040
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157040
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157041
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157041
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157041
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157041
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157041
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157042
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157042
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157042
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157042
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157042
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = {}
L11_2 = 0
L12_2 = 201
L10_2[1] = L11_2
L10_2[2] = L12_2
L11_2 = 0
L12_2 = #L10_2
if 0 == L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = pairs
L13_2 = L10_2
L12_2, L13_2, L14_2 = L12_2(L13_2)
for L15_2, L16_2 in L12_2, L13_2, L14_2 do
L17_2 = ScriptLib
L17_2 = L17_2.GetGadgetStateByConfigId
L18_2 = A0_2
L19_2 = 133222157
L20_2 = 157043
L17_2 = L17_2(L18_2, L19_2, L20_2)
if L16_2 == L17_2 then
L11_2 = L15_2
break
end
end
if 0 == L11_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L15_2 = 157043
L16_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157043
L16_2 = L10_2[1]
L12_2(L13_2, L14_2, L15_2, L16_2)
L12_2 = 0
return L12_2
end
L11_2 = L11_2 + 1
L12_2 = #L10_2
L11_2 = L11_2 % L12_2
if 0 == L11_2 then
L11_2 = #L10_2
end
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157043
L16_2 = L10_2[L11_2]
L12_2 = L12_2(L13_2, L14_2, L15_2, L16_2)
if 0 ~= L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L15_2 = 157043
L16_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = {}
L13_2 = 0
L14_2 = 201
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = 0
L14_2 = #L12_2
if 0 == L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = pairs
L15_2 = L12_2
L14_2, L15_2, L16_2 = L14_2(L15_2)
for L17_2, L18_2 in L14_2, L15_2, L16_2 do
L19_2 = ScriptLib
L19_2 = L19_2.GetGadgetStateByConfigId
L20_2 = A0_2
L21_2 = 133222157
L22_2 = 157044
L19_2 = L19_2(L20_2, L21_2, L22_2)
if L18_2 == L19_2 then
L13_2 = L17_2
break
end
end
if 0 == L13_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L17_2 = 157044
L18_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157044
L18_2 = L12_2[1]
L14_2(L15_2, L16_2, L17_2, L18_2)
L14_2 = 0
return L14_2
end
L13_2 = L13_2 + 1
L14_2 = #L12_2
L13_2 = L13_2 % L14_2
if 0 == L13_2 then
L13_2 = #L12_2
end
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157044
L18_2 = L12_2[L13_2]
L14_2 = L14_2(L15_2, L16_2, L17_2, L18_2)
if 0 ~= L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L17_2 = 157044
L18_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = {}
L15_2 = 0
L16_2 = 201
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = 0
L16_2 = #L14_2
if 0 == L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = pairs
L17_2 = L14_2
L16_2, L17_2, L18_2 = L16_2(L17_2)
for L19_2, L20_2 in L16_2, L17_2, L18_2 do
L21_2 = ScriptLib
L21_2 = L21_2.GetGadgetStateByConfigId
L22_2 = A0_2
L23_2 = 133222157
L24_2 = 157045
L21_2 = L21_2(L22_2, L23_2, L24_2)
if L20_2 == L21_2 then
L15_2 = L19_2
break
end
end
if 0 == L15_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L19_2 = 157045
L20_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157045
L20_2 = L14_2[1]
L16_2(L17_2, L18_2, L19_2, L20_2)
L16_2 = 0
return L16_2
end
L15_2 = L15_2 + 1
L16_2 = #L14_2
L15_2 = L15_2 % L16_2
if 0 == L15_2 then
L15_2 = #L14_2
end
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157045
L20_2 = L14_2[L15_2]
L16_2 = L16_2(L17_2, L18_2, L19_2, L20_2)
if 0 ~= L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L19_2 = 157045
L20_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = 0
return L16_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_CREATE_157027"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157026 ~= 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_157027"
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 = 133222157
L5_2 = 157026
L6_2 = {}
L7_2 = 7
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_SELECT_OPTION_157028"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157026 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= 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_157028"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157025
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157025
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157025
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157025
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157025
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157040
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157040
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157040
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157040
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157040
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157041
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157041
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157041
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157041
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157041
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157042
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157042
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157042
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157042
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157042
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = {}
L11_2 = 0
L12_2 = 201
L10_2[1] = L11_2
L10_2[2] = L12_2
L11_2 = 0
L12_2 = #L10_2
if 0 == L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = pairs
L13_2 = L10_2
L12_2, L13_2, L14_2 = L12_2(L13_2)
for L15_2, L16_2 in L12_2, L13_2, L14_2 do
L17_2 = ScriptLib
L17_2 = L17_2.GetGadgetStateByConfigId
L18_2 = A0_2
L19_2 = 133222157
L20_2 = 157043
L17_2 = L17_2(L18_2, L19_2, L20_2)
if L16_2 == L17_2 then
L11_2 = L15_2
break
end
end
if 0 == L11_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L15_2 = 157043
L16_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157043
L16_2 = L10_2[1]
L12_2(L13_2, L14_2, L15_2, L16_2)
L12_2 = 0
return L12_2
end
L11_2 = L11_2 + 1
L12_2 = #L10_2
L11_2 = L11_2 % L12_2
if 0 == L11_2 then
L11_2 = #L10_2
end
L12_2 = ScriptLib
L12_2 = L12_2.SetGroupGadgetStateByConfigId
L13_2 = A0_2
L14_2 = 133222157
L15_2 = 157043
L16_2 = L10_2[L11_2]
L12_2 = L12_2(L13_2, L14_2, L15_2, L16_2)
if 0 ~= L12_2 then
L12_2 = ScriptLib
L12_2 = L12_2.PrintContextLog
L13_2 = A0_2
L14_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L15_2 = 157043
L16_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L14_2 = L14_2 .. L15_2 .. L16_2
L12_2(L13_2, L14_2)
L12_2 = -1
return L12_2
end
L12_2 = {}
L13_2 = 0
L14_2 = 201
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = 0
L14_2 = #L12_2
if 0 == L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = pairs
L15_2 = L12_2
L14_2, L15_2, L16_2 = L14_2(L15_2)
for L17_2, L18_2 in L14_2, L15_2, L16_2 do
L19_2 = ScriptLib
L19_2 = L19_2.GetGadgetStateByConfigId
L20_2 = A0_2
L21_2 = 133222157
L22_2 = 157044
L19_2 = L19_2(L20_2, L21_2, L22_2)
if L18_2 == L19_2 then
L13_2 = L17_2
break
end
end
if 0 == L13_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L17_2 = 157044
L18_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157044
L18_2 = L12_2[1]
L14_2(L15_2, L16_2, L17_2, L18_2)
L14_2 = 0
return L14_2
end
L13_2 = L13_2 + 1
L14_2 = #L12_2
L13_2 = L13_2 % L14_2
if 0 == L13_2 then
L13_2 = #L12_2
end
L14_2 = ScriptLib
L14_2 = L14_2.SetGroupGadgetStateByConfigId
L15_2 = A0_2
L16_2 = 133222157
L17_2 = 157044
L18_2 = L12_2[L13_2]
L14_2 = L14_2(L15_2, L16_2, L17_2, L18_2)
if 0 ~= L14_2 then
L14_2 = ScriptLib
L14_2 = L14_2.PrintContextLog
L15_2 = A0_2
L16_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L17_2 = 157044
L18_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L16_2 = L16_2 .. L17_2 .. L18_2
L14_2(L15_2, L16_2)
L14_2 = -1
return L14_2
end
L14_2 = {}
L15_2 = 0
L16_2 = 201
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = 0
L16_2 = #L14_2
if 0 == L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = pairs
L17_2 = L14_2
L16_2, L17_2, L18_2 = L16_2(L17_2)
for L19_2, L20_2 in L16_2, L17_2, L18_2 do
L21_2 = ScriptLib
L21_2 = L21_2.GetGadgetStateByConfigId
L22_2 = A0_2
L23_2 = 133222157
L24_2 = 157045
L21_2 = L21_2(L22_2, L23_2, L24_2)
if L20_2 == L21_2 then
L15_2 = L19_2
break
end
end
if 0 == L15_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L19_2 = 157045
L20_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157045
L20_2 = L14_2[1]
L16_2(L17_2, L18_2, L19_2, L20_2)
L16_2 = 0
return L16_2
end
L15_2 = L15_2 + 1
L16_2 = #L14_2
L15_2 = L15_2 % L16_2
if 0 == L15_2 then
L15_2 = #L14_2
end
L16_2 = ScriptLib
L16_2 = L16_2.SetGroupGadgetStateByConfigId
L17_2 = A0_2
L18_2 = 133222157
L19_2 = 157045
L20_2 = L14_2[L15_2]
L16_2 = L16_2(L17_2, L18_2, L19_2, L20_2)
if 0 ~= L16_2 then
L16_2 = ScriptLib
L16_2 = L16_2.PrintContextLog
L17_2 = A0_2
L18_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L19_2 = 157045
L20_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L18_2 = L18_2 .. L19_2 .. L20_2
L16_2(L17_2, L18_2)
L16_2 = -1
return L16_2
end
L16_2 = 0
return L16_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GADGET_CREATE_157031"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157030 ~= 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_157031"
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 = 133222157
L5_2 = 157030
L6_2 = {}
L7_2 = 7
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_SELECT_OPTION_157032"
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 157030 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 7 ~= 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_157032"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2
L2_2 = {}
L3_2 = 201
L4_2 = 202
L2_2[1] = L3_2
L2_2[2] = L4_2
L3_2 = 0
L4_2 = #L2_2
if 0 == L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = pairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.GetGadgetStateByConfigId
L10_2 = A0_2
L11_2 = 133222157
L12_2 = 157029
L9_2 = L9_2(L10_2, L11_2, L12_2)
if L8_2 == L9_2 then
L3_2 = L7_2
break
end
end
if 0 == L3_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L7_2 = 157029
L8_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157029
L8_2 = L2_2[1]
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = 0
return L4_2
end
L3_2 = L3_2 + 1
L4_2 = #L2_2
L3_2 = L3_2 % L4_2
if 0 == L3_2 then
L3_2 = #L2_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 133222157
L7_2 = 157029
L8_2 = L2_2[L3_2]
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L7_2 = 157029
L8_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L6_2 = L6_2 .. L7_2 .. L8_2
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L5_2 = 0
L6_2 = 201
L4_2[1] = L5_2
L4_2[2] = L6_2
L5_2 = 0
L6_2 = #L4_2
if 0 == L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = pairs
L7_2 = L4_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
for L9_2, L10_2 in L6_2, L7_2, L8_2 do
L11_2 = ScriptLib
L11_2 = L11_2.GetGadgetStateByConfigId
L12_2 = A0_2
L13_2 = 133222157
L14_2 = 157046
L11_2 = L11_2(L12_2, L13_2, L14_2)
if L10_2 == L11_2 then
L5_2 = L9_2
break
end
end
if 0 == L5_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L9_2 = 157046
L10_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157046
L10_2 = L4_2[1]
L6_2(L7_2, L8_2, L9_2, L10_2)
L6_2 = 0
return L6_2
end
L5_2 = L5_2 + 1
L6_2 = #L4_2
L5_2 = L5_2 % L6_2
if 0 == L5_2 then
L5_2 = #L4_2
end
L6_2 = ScriptLib
L6_2 = L6_2.SetGroupGadgetStateByConfigId
L7_2 = A0_2
L8_2 = 133222157
L9_2 = 157046
L10_2 = L4_2[L5_2]
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L9_2 = 157046
L10_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L8_2 = L8_2 .. L9_2 .. L10_2
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = {}
L7_2 = 0
L8_2 = 201
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 0
L8_2 = #L6_2
if 0 == L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = pairs
L9_2 = L6_2
L8_2, L9_2, L10_2 = L8_2(L9_2)
for L11_2, L12_2 in L8_2, L9_2, L10_2 do
L13_2 = ScriptLib
L13_2 = L13_2.GetGadgetStateByConfigId
L14_2 = A0_2
L15_2 = 133222157
L16_2 = 157047
L13_2 = L13_2(L14_2, L15_2, L16_2)
if L12_2 == L13_2 then
L7_2 = L11_2
break
end
end
if 0 == L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L11_2 = 157047
L12_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157047
L12_2 = L6_2[1]
L8_2(L9_2, L10_2, L11_2, L12_2)
L8_2 = 0
return L8_2
end
L7_2 = L7_2 + 1
L8_2 = #L6_2
L7_2 = L7_2 % L8_2
if 0 == L7_2 then
L7_2 = #L6_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 133222157
L11_2 = 157047
L12_2 = L6_2[L7_2]
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L11_2 = 157047
L12_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L10_2 = L10_2 .. L11_2 .. L12_2
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = {}
L9_2 = 0
L10_2 = 201
L8_2[1] = L9_2
L8_2[2] = L10_2
L9_2 = 0
L10_2 = #L8_2
if 0 == L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : gadgetStateList\228\184\186\231\169\186"
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = pairs
L11_2 = L8_2
L10_2, L11_2, L12_2 = L10_2(L11_2)
for L13_2, L14_2 in L10_2, L11_2, L12_2 do
L15_2 = ScriptLib
L15_2 = L15_2.GetGadgetStateByConfigId
L16_2 = A0_2
L17_2 = 133222157
L18_2 = 157048
L15_2 = L15_2(L16_2, L17_2, L18_2)
if L14_2 == L15_2 then
L9_2 = L13_2
break
end
end
if 0 == L9_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \231\137\169\228\187\182"
L13_2 = 157048
L14_2 = "\231\154\132\229\189\147\229\137\141State\228\184\141\229\156\168List\228\184\173"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157048
L14_2 = L8_2[1]
L10_2(L11_2, L12_2, L13_2, L14_2)
L10_2 = 0
return L10_2
end
L9_2 = L9_2 + 1
L10_2 = #L8_2
L9_2 = L9_2 % L10_2
if 0 == L9_2 then
L9_2 = #L8_2
end
L10_2 = ScriptLib
L10_2 = L10_2.SetGroupGadgetStateByConfigId
L11_2 = A0_2
L12_2 = 133222157
L13_2 = 157048
L14_2 = L8_2[L9_2]
L10_2 = L10_2(L11_2, L12_2, L13_2, L14_2)
if 0 ~= L10_2 then
L10_2 = ScriptLib
L10_2 = L10_2.PrintContextLog
L11_2 = A0_2
L12_2 = "@@ LUA_WARNING : \232\174\190\231\189\174\231\137\169\228\187\182"
L13_2 = 157048
L14_2 = "State\230\178\161\230\156\137\230\136\144\229\138\159"
L12_2 = L12_2 .. L13_2 .. L14_2
L10_2(L11_2, L12_2)
L10_2 = -1
return L10_2
end
L10_2 = 0
return L10_2
end
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_ENTER_REGION_157049"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 157049 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_157049"
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 = 157035
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 = 157036
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 = 157042
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 = 157043
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 = 157037
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 = "Last"
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_ENTER_REGION_157050"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 157050 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
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_ENTER_REGION_157050"
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 = 157046
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 = 157044
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 = 157038
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 = 157047
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 = 157039
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 = 157045
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 = 157048
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 = "Last"
L5_2 = 2
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_ENTER_REGION_157055"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 157055 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Last"
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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_ENTER_REGION_157055"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 157056
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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 133222038
L5_2 = 38003
L6_2 = GadgetState
L6_2 = L6_2.Default
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_gadget_state_by_GroupId_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 = "Last"
L5_2 = 3
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.MarkPlayerAction
L3_2 = A0_2
L4_2 = 6061
L5_2 = 3
L6_2 = 1
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 : mark_playerAction"
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_ENTER_REGION_157057"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 157057 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Last"
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_ENTER_REGION_157057"
function L2_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 = "Last"
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_ENTER_REGION_157058"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 157058 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Last"
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
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_ENTER_REGION_157058"
function L2_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 = "Last"
L5_2 = 2
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
_ENV[L1_1] = L2_1
L1_1 = "condition_EVENT_GROUP_LOAD_157061"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "Finish"
L5_2 = 133222244
L2_2 = L2_2(L3_2, L4_2, L5_2)
if L2_2 ~= 1 then
L2_2 = true
return L2_2
end
L2_2 = false
return L2_2
end
_ENV[L1_1] = L2_1
L1_1 = "action_EVENT_GROUP_LOAD_157061"
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133222157
L4_2.suite = 1
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 : refresh_group_to_suite"
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