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

1044 lines
19 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
L0_1 = {}
L0_1.group_id = 133220189
L1_1 = {}
L2_1 = {}
L2_1.config_id = 189001
L2_1.monster_id = 20011201
L3_1 = {}
L3_1.x = -2540.288
L3_1.y = 276.348
L3_1.z = -4557.701
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 213.55
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_id = 1000100
L2_1.disableWander = true
L3_1 = {}
L4_1 = 1410
L3_1[1] = L4_1
L2_1.affix = L3_1
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 189002
L3_1.monster_id = 20011201
L4_1 = {}
L4_1.x = -2542.822
L4_1.y = 276.052
L4_1.z = -4558.328
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 203.822
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1410
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 189003
L4_1.monster_id = 20011201
L5_1 = {}
L5_1.x = -2543.03
L5_1.y = 276.241
L5_1.z = -4556.211
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 197.738
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L5_1 = {}
L6_1 = 1410
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 189012
L5_1.monster_id = 20010501
L6_1 = {}
L6_1.x = -2518.556
L6_1.y = 288.379
L6_1.z = -4518.961
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 213.55
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L5_1.disableWander = true
L6_1 = {}
L7_1 = 1410
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 189013
L6_1.monster_id = 20010501
L7_1 = {}
L7_1.x = -2520.934
L7_1.y = 288.473
L7_1.z = -4517.78
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 203.822
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L6_1.disableWander = true
L7_1 = {}
L8_1 = 1410
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 189014
L7_1.monster_id = 20010501
L8_1 = {}
L8_1.x = -2519.377
L8_1.y = 288.825
L8_1.z = -4517.682
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 203.822
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.disableWander = true
L8_1 = {}
L9_1 = 1410
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 189017
L8_1.monster_id = 20011401
L9_1 = {}
L9_1.x = -2495.25
L9_1.y = 324.306
L9_1.z = -4476.748
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 213.55
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.disableWander = true
L9_1 = {}
L10_1 = 1410
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.area_id = 11
L9_1 = {}
L9_1.config_id = 189018
L9_1.monster_id = 20011401
L10_1 = {}
L10_1.x = -2496.617
L10_1.y = 324.328
L10_1.z = -4474.903
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 203.822
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L9_1.disableWander = true
L10_1 = {}
L11_1 = 1410
L10_1[1] = L11_1
L9_1.affix = L10_1
L9_1.area_id = 11
L10_1 = {}
L10_1.config_id = 189019
L10_1.monster_id = 20011401
L11_1 = {}
L11_1.x = -2493.043
L11_1.y = 324.198
L11_1.z = -4476.865
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 222.814
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L10_1.disableWander = true
L11_1 = {}
L12_1 = 1410
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.area_id = 11
L11_1 = {}
L11_1.config_id = 189023
L11_1.monster_id = 20010501
L12_1 = {}
L12_1.x = -2484.947
L12_1.y = 322.069
L12_1.z = -4465.265
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 213.55
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L11_1.disableWander = true
L12_1 = {}
L13_1 = 1410
L12_1[1] = L13_1
L11_1.affix = L12_1
L11_1.area_id = 11
L12_1 = {}
L12_1.config_id = 189024
L12_1.monster_id = 20010501
L13_1 = {}
L13_1.x = -2481.21
L13_1.y = 321.134
L13_1.z = -4462.774
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 237.312
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L12_1.disableWander = true
L13_1 = {}
L14_1 = 1410
L13_1[1] = L14_1
L12_1.affix = L13_1
L12_1.area_id = 11
L13_1 = {}
L13_1.config_id = 189025
L13_1.monster_id = 20010901
L14_1 = {}
L14_1.x = -2458.269
L14_1.y = 322.825
L14_1.z = -4400.139
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 124.849
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_id = 1000100
L13_1.disableWander = true
L14_1 = {}
L15_1 = 1410
L14_1[1] = L15_1
L13_1.affix = L14_1
L13_1.area_id = 11
L14_1 = {}
L14_1.config_id = 189026
L14_1.monster_id = 20011101
L15_1 = {}
L15_1.x = -2460.097
L15_1.y = 323.255
L15_1.z = -4404.431
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 107.977
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.drop_id = 1000100
L14_1.disableWander = true
L15_1 = {}
L16_1 = 1410
L15_1[1] = L16_1
L14_1.affix = L15_1
L14_1.area_id = 11
L15_1 = {}
L15_1.config_id = 189030
L15_1.monster_id = 20010501
L16_1 = {}
L16_1.x = -2445.657
L16_1.y = 315.429
L16_1.z = -4417.077
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 173.281
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.drop_id = 1000100
L15_1.disableWander = true
L16_1 = {}
L17_1 = 1410
L16_1[1] = L17_1
L15_1.affix = L16_1
L15_1.area_id = 11
L16_1 = {}
L16_1.config_id = 189031
L16_1.monster_id = 20011201
L17_1 = {}
L17_1.x = -2444.611
L17_1.y = 315.378
L17_1.z = -4418.617
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 177.53
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.drop_id = 1000100
L16_1.disableWander = true
L17_1 = {}
L18_1 = 1410
L17_1[1] = L18_1
L16_1.affix = L17_1
L16_1.area_id = 11
L17_1 = {}
L17_1.config_id = 189032
L17_1.monster_id = 20010501
L18_1 = {}
L18_1.x = -2443.675
L18_1.y = 315.436
L18_1.z = -4416.93
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 173.281
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.drop_id = 1000100
L17_1.disableWander = true
L18_1 = {}
L19_1 = 1410
L18_1[1] = L19_1
L17_1.affix = L18_1
L17_1.area_id = 11
L18_1 = {}
L18_1.config_id = 189035
L18_1.monster_id = 20010501
L19_1 = {}
L19_1.x = -2477.507
L19_1.y = 319.963
L19_1.z = -4459.841
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 222.814
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.drop_id = 1000100
L18_1.disableWander = true
L19_1 = {}
L20_1 = 1410
L19_1[1] = L20_1
L18_1.affix = L19_1
L18_1.area_id = 11
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 189004
L2_1.gadget_id = 70360005
L3_1 = {}
L3_1.x = -2560.702
L3_1.y = 273.733
L3_1.z = -4574.788
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 155.299
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 19
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 189005
L3_1.gadget_id = 70360025
L4_1 = {}
L4_1.x = -2463.428
L4_1.y = 323.971
L4_1.z = -4401.208
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 189006
L4_1.gadget_id = 70350085
L5_1 = {}
L5_1.x = -2463.428
L5_1.y = 323.971
L5_1.z = -4401.208
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 = 18
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 189007
L5_1.gadget_id = 70350085
L6_1 = {}
L6_1.x = -2560.702
L6_1.y = 274.684
L6_1.z = -4574.788
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 19
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 189015
L6_1.gadget_id = 70900380
L7_1 = {}
L7_1.x = -2514.403
L7_1.y = 303.06
L7_1.z = -4511.171
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 189016
L7_1.gadget_id = 70900380
L8_1 = {}
L8_1.x = -2504.371
L8_1.y = 323.322
L8_1.z = -4494.27
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 189020
L8_1.gadget_id = 70900380
L9_1 = {}
L9_1.x = -2509.428
L9_1.y = 316.721
L9_1.z = -4503.116
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 11
L9_1 = {}
L9_1.config_id = 189022
L9_1.gadget_id = 70330064
L10_1 = {}
L10_1.x = -2461.974
L10_1.y = 313.516
L10_1.z = -4462.171
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 137.469
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.interact_id = 35
L9_1.area_id = 11
L10_1 = {}
L10_1.config_id = 189033
L10_1.gadget_id = 70330064
L11_1 = {}
L11_1.x = -2513.896
L11_1.y = 291.984
L11_1.z = -4512.928
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.interact_id = 35
L10_1.area_id = 11
L11_1 = {}
L11_1.config_id = 189034
L11_1.gadget_id = 70330064
L12_1 = {}
L12_1.x = -2501.762
L12_1.y = 310.268
L12_1.z = -4496.803
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 137.469
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.interact_id = 35
L11_1.area_id = 11
L12_1 = {}
L12_1.config_id = 189036
L12_1.gadget_id = 70900380
L13_1 = {}
L13_1.x = -2471.177
L13_1.y = 324.481
L13_1.z = -4465.131
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.area_id = 11
L13_1 = {}
L13_1.config_id = 189037
L13_1.gadget_id = 70900380
L14_1 = {}
L14_1.x = -2454.39
L14_1.y = 326.225
L14_1.z = -4459.441
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 11
L14_1 = {}
L14_1.config_id = 189038
L14_1.gadget_id = 70900380
L15_1 = {}
L15_1.x = -2442.021
L15_1.y = 323.681
L15_1.z = -4438.308
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 11
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 189008
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 3
L3_1 = {}
L3_1.x = -2463.414
L3_1.y = 323.971
L3_1.z = -4401.255
L2_1.pos = L3_1
L2_1.area_id = 11
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1189008
L2_1.name = "ENTER_REGION_189008"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_189008"
L2_1.action = "action_EVENT_ENTER_REGION_189008"
L2_1.tag = "666"
L3_1 = {}
L3_1.config_id = 1189009
L3_1.name = "CHALLENGE_SUCCESS_189009"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_SUCCESS
L3_1.event = L4_1
L3_1.source = "888"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_SUCCESS_189009"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1189010
L4_1.name = "CHALLENGE_FAIL_189010"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_FAIL
L4_1.event = L5_1
L4_1.source = "888"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_FAIL_189010"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1189011
L5_1.name = "GADGET_STATE_CHANGE_189011"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_189011"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_189011"
L5_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "hasFinished"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 3
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 189004
L5_1 = 189007
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_189011"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 189001
L6_1 = 189002
L7_1 = 189003
L8_1 = 189012
L9_1 = 189013
L10_1 = 189014
L11_1 = 189017
L12_1 = 189018
L13_1 = 189019
L14_1 = 189023
L15_1 = 189024
L16_1 = 189025
L17_1 = 189026
L18_1 = 189030
L19_1 = 189031
L20_1 = 189032
L21_1 = 189035
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
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 189005
L6_1 = 189006
L7_1 = 189015
L8_1 = 189016
L9_1 = 189020
L10_1 = 189022
L11_1 = 189033
L12_1 = 189034
L13_1 = 189036
L14_1 = 189037
L15_1 = 189038
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
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 189008
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_189008"
L6_1 = "CHALLENGE_SUCCESS_189009"
L7_1 = "CHALLENGE_FAIL_189010"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 189008 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 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_189008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 189005
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_189008 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 189007
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220189
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 189004
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.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133220189
L5_2 = 3
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_189009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 189007
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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220189
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 189004
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 = "hasFinished"
L5_2 = 0
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_189010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 189004 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_189011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
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 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220189
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 189007
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.ActiveChallenge
L3_2 = A0_2
L4_2 = 888
L5_2 = 207
L6_2 = 30
L7_2 = 4
L8_2 = 666
L9_2 = 5
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_189011 = L1_1
L1_1 = require
L2_1 = "V2_0/ElectricCore"
L1_1(L2_1)