mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
817 lines
15 KiB
Lua
817 lines
15 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133102565
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 565001
|
|
L2_1.monster_id = 20011001
|
|
L3_1 = {}
|
|
L3_1.x = 1572.356
|
|
L3_1.y = 246.743
|
|
L3_1.z = 280.724
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 357.287
|
|
L3_1.y = 271.995
|
|
L3_1.z = 348.139
|
|
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 = 5
|
|
L3_1 = {}
|
|
L3_1.config_id = 565002
|
|
L3_1.monster_id = 20011001
|
|
L4_1 = {}
|
|
L4_1.x = 1574.651
|
|
L4_1.y = 246.845
|
|
L4_1.z = 280.974
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 352.909
|
|
L4_1.y = 247.225
|
|
L4_1.z = 354.092
|
|
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 = 5
|
|
L4_1 = {}
|
|
L4_1.config_id = 565003
|
|
L4_1.monster_id = 20011001
|
|
L5_1 = {}
|
|
L5_1.x = 1573.523
|
|
L5_1.y = 246.96
|
|
L5_1.z = 279.176
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 10.0
|
|
L5_1.y = 234.034
|
|
L5_1.z = 346.477
|
|
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 = 5
|
|
L5_1 = {}
|
|
L5_1.config_id = 565012
|
|
L5_1.monster_id = 20010801
|
|
L6_1 = {}
|
|
L6_1.x = 1598.42
|
|
L6_1.y = 251.183
|
|
L6_1.z = 267.577
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 1.274
|
|
L6_1.y = 296.787
|
|
L6_1.z = 6.801
|
|
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 = 5
|
|
L6_1 = {}
|
|
L6_1.config_id = 565013
|
|
L6_1.monster_id = 20010801
|
|
L7_1 = {}
|
|
L7_1.x = 1599.416
|
|
L7_1.y = 251.121
|
|
L7_1.z = 270.248
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 1.274
|
|
L7_1.y = 296.782
|
|
L7_1.z = 6.801
|
|
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 = 5
|
|
L7_1 = {}
|
|
L7_1.config_id = 565015
|
|
L7_1.monster_id = 20010501
|
|
L8_1 = {}
|
|
L8_1.x = 1621.546
|
|
L8_1.y = 261.002
|
|
L8_1.z = 251.385
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 12.951
|
|
L8_1.y = 315.362
|
|
L8_1.z = 356.147
|
|
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 = 5
|
|
L8_1 = {}
|
|
L8_1.config_id = 565016
|
|
L8_1.monster_id = 20010501
|
|
L9_1 = {}
|
|
L9_1.x = 1619.824
|
|
L9_1.y = 261.12
|
|
L9_1.z = 252.193
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 13.407
|
|
L9_1.y = 325.122
|
|
L9_1.z = 9.553
|
|
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 = 5
|
|
L9_1 = {}
|
|
L9_1.config_id = 565017
|
|
L9_1.monster_id = 20010801
|
|
L10_1 = {}
|
|
L10_1.x = 1597.956
|
|
L10_1.y = 251.099
|
|
L10_1.z = 269.485
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 351.449
|
|
L10_1.y = 32.677
|
|
L10_1.z = 8.182
|
|
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 = 5
|
|
L10_1 = {}
|
|
L10_1.config_id = 565018
|
|
L10_1.monster_id = 20010501
|
|
L11_1 = {}
|
|
L11_1.x = 1619.273
|
|
L11_1.y = 261.044
|
|
L11_1.z = 250.012
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 16.034
|
|
L11_1.y = 331.187
|
|
L11_1.z = 5.237
|
|
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 = 5
|
|
L11_1 = {}
|
|
L11_1.config_id = 565020
|
|
L11_1.monster_id = 20011201
|
|
L12_1 = {}
|
|
L12_1.x = 1609.097
|
|
L12_1.y = 268.465
|
|
L12_1.z = 237.797
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 16.034
|
|
L12_1.y = 34.581
|
|
L12_1.z = 5.237
|
|
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 = 5
|
|
L12_1 = {}
|
|
L12_1.config_id = 565021
|
|
L12_1.monster_id = 20011201
|
|
L13_1 = {}
|
|
L13_1.x = 1606.288
|
|
L13_1.y = 268.453
|
|
L13_1.z = 239.341
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 16.034
|
|
L13_1.y = 34.581
|
|
L13_1.z = 5.237
|
|
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 = 5
|
|
L13_1 = {}
|
|
L13_1.config_id = 565022
|
|
L13_1.monster_id = 20011201
|
|
L14_1 = {}
|
|
L14_1.x = 1608.348
|
|
L14_1.y = 268.465
|
|
L14_1.z = 240.68
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 16.034
|
|
L14_1.y = 34.581
|
|
L14_1.z = 5.237
|
|
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 = 5
|
|
L14_1 = {}
|
|
L14_1.config_id = 565023
|
|
L14_1.monster_id = 20010901
|
|
L15_1 = {}
|
|
L15_1.x = 1600.375
|
|
L15_1.y = 272.566
|
|
L15_1.z = 231.744
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 16.034
|
|
L15_1.y = 34.581
|
|
L15_1.z = 5.237
|
|
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 = 5
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 565004
|
|
L2_1.gadget_id = 70360005
|
|
L3_1 = {}
|
|
L3_1.x = 1554.782
|
|
L3_1.y = 246.946
|
|
L3_1.z = 278.298
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 3.866
|
|
L3_1.y = 358.176
|
|
L3_1.z = 359.285
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 5
|
|
L3_1 = {}
|
|
L3_1.config_id = 565005
|
|
L3_1.gadget_id = 70360025
|
|
L4_1 = {}
|
|
L4_1.x = 1597.775
|
|
L4_1.y = 276.903
|
|
L4_1.z = 220.934
|
|
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 = 1
|
|
L3_1.area_id = 5
|
|
L4_1 = {}
|
|
L4_1.config_id = 565006
|
|
L4_1.gadget_id = 70350085
|
|
L5_1 = {}
|
|
L5_1.x = 1597.775
|
|
L5_1.y = 276.903
|
|
L5_1.z = 220.934
|
|
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 = 1
|
|
L4_1.area_id = 5
|
|
L5_1 = {}
|
|
L5_1.config_id = 565007
|
|
L5_1.gadget_id = 70350085
|
|
L6_1 = {}
|
|
L6_1.x = 1554.803
|
|
L6_1.y = 247.411
|
|
L6_1.z = 278.352
|
|
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 = 1
|
|
L5_1.area_id = 5
|
|
L6_1 = {}
|
|
L6_1.config_id = 565019
|
|
L6_1.gadget_id = 70220005
|
|
L7_1 = {}
|
|
L7_1.x = 1601.134
|
|
L7_1.y = 271.605
|
|
L7_1.z = 229.418
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 358.085
|
|
L7_1.y = 0.821
|
|
L7_1.z = 357.728
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 5
|
|
L7_1 = {}
|
|
L7_1.config_id = 565024
|
|
L7_1.gadget_id = 70220005
|
|
L8_1 = {}
|
|
L8_1.x = 1599.554
|
|
L8_1.y = 272.001
|
|
L8_1.z = 230.355
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 358.445
|
|
L8_1.y = 358.613
|
|
L8_1.z = 62.698
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 5
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 565008
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 3
|
|
L3_1 = {}
|
|
L3_1.x = 1597.775
|
|
L3_1.y = 276.903
|
|
L3_1.z = 220.934
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 5
|
|
L1_1[1] = L2_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1565008
|
|
L2_1.name = "ENTER_REGION_565008"
|
|
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_565008"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_565008"
|
|
L2_1.tag = "666"
|
|
L2_1.forbid_guest = false
|
|
L3_1 = {}
|
|
L3_1.config_id = 1565009
|
|
L3_1.name = "CHALLENGE_SUCCESS_565009"
|
|
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_565009"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1565010
|
|
L4_1.name = "CHALLENGE_FAIL_565010"
|
|
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_565010"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1565011
|
|
L5_1.name = "GADGET_STATE_CHANGE_565011"
|
|
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_565011"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_565011"
|
|
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 = 565004
|
|
L5_1 = 565007
|
|
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_565011"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 565001
|
|
L6_1 = 565002
|
|
L7_1 = 565003
|
|
L8_1 = 565012
|
|
L9_1 = 565013
|
|
L10_1 = 565015
|
|
L11_1 = 565016
|
|
L12_1 = 565017
|
|
L13_1 = 565018
|
|
L14_1 = 565020
|
|
L15_1 = 565021
|
|
L16_1 = 565022
|
|
L17_1 = 565023
|
|
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
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 565005
|
|
L6_1 = 565006
|
|
L7_1 = 565019
|
|
L8_1 = 565024
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 565008
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_565008"
|
|
L6_1 = "CHALLENGE_SUCCESS_565009"
|
|
L7_1 = "CHALLENGE_FAIL_565010"
|
|
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 ~= 565008 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_565008 = 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 = 565005
|
|
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_565008 = 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 = 565007
|
|
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 = 133102565
|
|
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 = 565004
|
|
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 = 133102565
|
|
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_565009 = 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 = 565007
|
|
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 = 133102565
|
|
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 = 565004
|
|
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_565010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param2
|
|
if 565004 == 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_565011 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133102565
|
|
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 = 565007
|
|
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 = 189
|
|
L6_2 = 20
|
|
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 = 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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_565011 = L1_1
|