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

1220 lines
23 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
L0_1 = {}
L0_1.group_id = 133220192
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 192001
L2_1.gadget_id = 70710126
L3_1 = {}
L3_1.x = -2521.155
L3_1.y = 350.869
L3_1.z = -4388.226
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 192002
L3_1.gadget_id = 70350085
L4_1 = {}
L4_1.x = -2518.185
L4_1.y = 350.869
L4_1.z = -4388.226
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 = 192004
L4_1.gadget_id = 70360005
L5_1 = {}
L5_1.x = -2553.573
L5_1.y = 285.391
L5_1.z = -4337.473
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 274.747
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 19
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 192005
L5_1.gadget_id = 70710126
L6_1 = {}
L6_1.x = -2558.627
L6_1.y = 341.162
L6_1.z = -4401.809
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 = 18
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 192006
L6_1.gadget_id = 70350085
L7_1 = {}
L7_1.x = -2558.627
L7_1.y = 341.592
L7_1.z = -4401.809
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 = 18
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 192007
L7_1.gadget_id = 70350085
L8_1 = {}
L8_1.x = -2553.573
L8_1.y = 286.434
L8_1.z = -4337.473
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 = 19
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 192012
L8_1.gadget_id = 70710126
L9_1 = {}
L9_1.x = -2536.989
L9_1.y = 364.109
L9_1.z = -4431.423
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 = 18
L8_1.area_id = 11
L9_1 = {}
L9_1.config_id = 192013
L9_1.gadget_id = 70350085
L10_1 = {}
L10_1.x = -2536.989
L10_1.y = 364.109
L10_1.z = -4431.423
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 18
L9_1.area_id = 11
L10_1 = {}
L10_1.config_id = 192015
L10_1.gadget_id = 70360025
L11_1 = {}
L11_1.x = -2487.749
L11_1.y = 392.759
L11_1.z = -4438.162
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 = 18
L10_1.area_id = 11
L11_1 = {}
L11_1.config_id = 192016
L11_1.gadget_id = 70350085
L12_1 = {}
L12_1.x = -2487.749
L12_1.y = 393.471
L12_1.z = -4438.162
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 18
L11_1.area_id = 11
L12_1 = {}
L12_1.config_id = 192018
L12_1.gadget_id = 70330064
L13_1 = {}
L13_1.x = -2547.892
L13_1.y = 285.339
L13_1.z = -4337.616
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 341.346
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 19
L12_1.interact_id = 35
L12_1.area_id = 11
L13_1 = {}
L13_1.config_id = 192019
L13_1.gadget_id = 70330064
L14_1 = {}
L14_1.x = -2559.746
L14_1.y = 340.856
L14_1.z = -4403.128
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 323.584
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 19
L13_1.interact_id = 35
L13_1.area_id = 11
L14_1 = {}
L14_1.config_id = 192020
L14_1.gadget_id = 70330064
L15_1 = {}
L15_1.x = -2518.281
L15_1.y = 350.594
L15_1.z = -4394.226
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 297.437
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 19
L14_1.interact_id = 35
L14_1.area_id = 11
L15_1 = {}
L15_1.config_id = 192021
L15_1.gadget_id = 70330064
L16_1 = {}
L16_1.x = -2537.385
L16_1.y = 364.015
L16_1.z = -4434.419
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 288.848
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 19
L15_1.interact_id = 35
L15_1.area_id = 11
L16_1 = {}
L16_1.config_id = 192022
L16_1.gadget_id = 70900380
L17_1 = {}
L17_1.x = -2559.983
L17_1.y = 294.233
L17_1.z = -4345.482
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.area_id = 11
L17_1 = {}
L17_1.config_id = 192027
L17_1.gadget_id = 70900380
L18_1 = {}
L18_1.x = -2570.25
L18_1.y = 341.547
L18_1.z = -4402.648
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.area_id = 11
L18_1 = {}
L18_1.config_id = 192029
L18_1.gadget_id = 70900380
L19_1 = {}
L19_1.x = -2571.735
L19_1.y = 305.429
L19_1.z = -4360.311
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.area_id = 11
L19_1 = {}
L19_1.config_id = 192030
L19_1.gadget_id = 70900380
L20_1 = {}
L20_1.x = -2580.327
L20_1.y = 316.027
L20_1.z = -4371.091
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.area_id = 11
L20_1 = {}
L20_1.config_id = 192031
L20_1.gadget_id = 70900380
L21_1 = {}
L21_1.x = -2583.234
L21_1.y = 326.25
L21_1.z = -4380.227
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L20_1.area_id = 11
L21_1 = {}
L21_1.config_id = 192032
L21_1.gadget_id = 70900380
L22_1 = {}
L22_1.x = -2579.987
L22_1.y = 336.007
L22_1.z = -4394.457
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L21_1.area_id = 11
L22_1 = {}
L22_1.config_id = 192033
L22_1.gadget_id = 70900380
L23_1 = {}
L23_1.x = -2552.379
L23_1.y = 346.726
L23_1.z = -4396.18
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L22_1.area_id = 11
L23_1 = {}
L23_1.config_id = 192034
L23_1.gadget_id = 70900380
L24_1 = {}
L24_1.x = -2537.848
L24_1.y = 358.432
L24_1.z = -4387.921
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L23_1.area_id = 11
L24_1 = {}
L24_1.config_id = 192036
L24_1.gadget_id = 70900380
L25_1 = {}
L25_1.x = -2529.97
L25_1.y = 352.553
L25_1.z = -4401.197
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L24_1.area_id = 11
L25_1 = {}
L25_1.config_id = 192038
L25_1.gadget_id = 70900380
L26_1 = {}
L26_1.x = -2541.605
L26_1.y = 358.552
L26_1.z = -4414.551
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 0.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L25_1.area_id = 11
L26_1 = {}
L26_1.config_id = 192039
L26_1.gadget_id = 70900380
L27_1 = {}
L27_1.x = -2545.916
L27_1.y = 364.373
L27_1.z = -4429.624
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 = 1
L26_1.area_id = 11
L27_1 = {}
L27_1.config_id = 192045
L27_1.gadget_id = 70900380
L28_1 = {}
L28_1.x = -2529.692
L28_1.y = 369.568
L28_1.z = -4435.075
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L27_1.area_id = 11
L28_1 = {}
L28_1.config_id = 192046
L28_1.gadget_id = 70900380
L29_1 = {}
L29_1.x = -2518.233
L29_1.y = 379.246
L29_1.z = -4432.877
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 = 1
L28_1.area_id = 11
L29_1 = {}
L29_1.config_id = 192047
L29_1.gadget_id = 70900380
L30_1 = {}
L30_1.x = -2508.732
L30_1.y = 389.746
L30_1.z = -4431.575
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 = 1
L29_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
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 192003
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 4
L3_1 = {}
L3_1.x = -2521.181
L3_1.y = 350.866
L3_1.z = -4388.125
L2_1.pos = L3_1
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 192008
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 4
L4_1 = {}
L4_1.x = -2558.359
L4_1.y = 341.167
L4_1.z = -4401.828
L3_1.pos = L4_1
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 192014
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 4
L5_1 = {}
L5_1.x = -2536.975
L5_1.y = 364.111
L5_1.z = -4431.47
L4_1.pos = L5_1
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 192017
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 3
L6_1 = {}
L6_1.x = -2487.735
L6_1.y = 392.515
L6_1.z = -4438.208
L5_1.pos = L6_1
L5_1.area_id = 11
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1192003
L2_1.name = "ENTER_REGION_192003"
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_192003"
L2_1.action = "action_EVENT_ENTER_REGION_192003"
L2_1.tag = "666"
L3_1 = {}
L3_1.config_id = 1192008
L3_1.name = "ENTER_REGION_192008"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_192008"
L3_1.action = "action_EVENT_ENTER_REGION_192008"
L3_1.tag = "666"
L4_1 = {}
L4_1.config_id = 1192009
L4_1.name = "CHALLENGE_SUCCESS_192009"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS
L4_1.event = L5_1
L4_1.source = "888"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_192009"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1192010
L5_1.name = "CHALLENGE_FAIL_192010"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_FAIL
L5_1.event = L6_1
L5_1.source = "888"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_FAIL_192010"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1192011
L6_1.name = "GADGET_STATE_CHANGE_192011"
L7_1 = EventType
L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_192011"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_192011"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1192014
L7_1.name = "ENTER_REGION_192014"
L8_1 = EventType
L8_1 = L8_1.EVENT_ENTER_REGION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ENTER_REGION_192014"
L7_1.action = "action_EVENT_ENTER_REGION_192014"
L7_1.tag = "666"
L8_1 = {}
L8_1.config_id = 1192017
L8_1.name = "ENTER_REGION_192017"
L9_1 = EventType
L9_1 = L9_1.EVENT_ENTER_REGION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ENTER_REGION_192017"
L8_1.action = "action_EVENT_ENTER_REGION_192017"
L8_1.tag = "666"
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
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 = 6
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 192004
L5_1 = 192007
L6_1 = 192018
L7_1 = 192019
L8_1 = 192020
L9_1 = 192021
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "CHALLENGE_SUCCESS_192009"
L5_1 = "CHALLENGE_FAIL_192010"
L6_1 = "GADGET_STATE_CHANGE_192011"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 192005
L6_1 = 192006
L7_1 = 192022
L8_1 = 192027
L9_1 = 192029
L10_1 = 192030
L11_1 = 192031
L12_1 = 192032
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
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 192008
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_192008"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 192001
L7_1 = 192002
L8_1 = 192033
L9_1 = 192034
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 192003
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_192003"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 192012
L8_1 = 192013
L9_1 = 192036
L10_1 = 192038
L11_1 = 192039
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 192014
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ENTER_REGION_192014"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 192015
L9_1 = 192016
L10_1 = 192045
L11_1 = 192046
L12_1 = 192047
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L6_1.gadgets = L7_1
L7_1 = {}
L8_1 = 192017
L7_1[1] = L8_1
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "ENTER_REGION_192017"
L7_1[1] = L8_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L7_1.monsters = L8_1
L8_1 = {}
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L7_1.triggers = L8_1
L7_1.rand_weight = 100
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
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 ~= 192003 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_192003 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192001
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192002
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220192
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220192
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_192003 = 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 ~= 192008 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_192008 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192005
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192006
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220192
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220192
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_192008 = 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 = 192007
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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 192004
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 = 133220192
L5_2 = 6
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_192009 = L1_1
function L1_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 = 133220192
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
action_EVENT_CHALLENGE_FAIL_192010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 192004 == 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_192011 = 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 = 133220192
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192007
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.ActiveChallenge
L3_2 = A0_2
L4_2 = 888
L5_2 = 241
L6_2 = 60
L7_2 = 4
L8_2 = 666
L9_2 = 4
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_192011 = 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 ~= 192014 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_192014 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192012
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192013
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220192
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220192
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_192014 = 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 ~= 192017 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_192017 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192015
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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 192016
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.KillExtraGroupSuite
L3_2 = A0_2
L4_2 = 133220192
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_192017 = L1_1
L1_1 = require
L2_1 = "V2_0/ElectricCore"
L1_1(L2_1)