mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
793 lines
14 KiB
Lua
793 lines
14 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133108093
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 93001
|
|
L2_1.monster_id = 20010801
|
|
L3_1 = {}
|
|
L3_1.x = -301.491
|
|
L3_1.y = 209.374
|
|
L3_1.z = -905.592
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 206.8
|
|
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 = 7
|
|
L3_1 = {}
|
|
L3_1.config_id = 93002
|
|
L3_1.monster_id = 20011401
|
|
L4_1 = {}
|
|
L4_1.x = -325.677
|
|
L4_1.y = 224.796
|
|
L4_1.z = -935.177
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 347.13
|
|
L4_1.y = 230.609
|
|
L4_1.z = 334.021
|
|
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 = 7
|
|
L4_1 = {}
|
|
L4_1.config_id = 93003
|
|
L4_1.monster_id = 20011401
|
|
L5_1 = {}
|
|
L5_1.x = -328.027
|
|
L5_1.y = 225.255
|
|
L5_1.z = -936.272
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 336.483
|
|
L5_1.y = 202.817
|
|
L5_1.z = 342.893
|
|
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 = 7
|
|
L5_1 = {}
|
|
L5_1.config_id = 93012
|
|
L5_1.monster_id = 20010801
|
|
L6_1 = {}
|
|
L6_1.x = -301.111
|
|
L6_1.y = 208.947
|
|
L6_1.z = -902.99
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 206.8
|
|
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 = 7
|
|
L6_1 = {}
|
|
L6_1.config_id = 93013
|
|
L6_1.monster_id = 20011201
|
|
L7_1 = {}
|
|
L7_1.x = -276.011
|
|
L7_1.y = 201.044
|
|
L7_1.z = -873.71
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 195.453
|
|
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 = 7
|
|
L7_1 = {}
|
|
L7_1.config_id = 93014
|
|
L7_1.monster_id = 20011201
|
|
L8_1 = {}
|
|
L8_1.x = -273.677
|
|
L8_1.y = 200.764
|
|
L8_1.z = -872.177
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 216.193
|
|
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 = 7
|
|
L8_1 = {}
|
|
L8_1.config_id = 93015
|
|
L8_1.monster_id = 20011401
|
|
L9_1 = {}
|
|
L9_1.x = -327.837
|
|
L9_1.y = 224.193
|
|
L9_1.z = -933.736
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 334.03
|
|
L9_1.y = 192.765
|
|
L9_1.z = 347.11
|
|
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 = 7
|
|
L9_1 = {}
|
|
L9_1.config_id = 93018
|
|
L9_1.monster_id = 20010801
|
|
L10_1 = {}
|
|
L10_1.x = -298.872
|
|
L10_1.y = 208.971
|
|
L10_1.z = -905.656
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 341.286
|
|
L10_1.y = 206.429
|
|
L10_1.z = 2.253
|
|
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 = 7
|
|
L10_1 = {}
|
|
L10_1.config_id = 93019
|
|
L10_1.monster_id = 20011201
|
|
L11_1 = {}
|
|
L11_1.x = -276.425
|
|
L11_1.y = 200.81
|
|
L11_1.z = -871.364
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 349.988
|
|
L11_1.y = 215.775
|
|
L11_1.z = 4.765
|
|
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 = 7
|
|
L11_1 = {}
|
|
L11_1.config_id = 93023
|
|
L11_1.monster_id = 20010901
|
|
L12_1 = {}
|
|
L12_1.x = -287.364
|
|
L12_1.y = 200.383
|
|
L12_1.z = -825.559
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.867
|
|
L12_1.y = 216.276
|
|
L12_1.z = 357.307
|
|
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 = 7
|
|
L12_1 = {}
|
|
L12_1.config_id = 93024
|
|
L12_1.monster_id = 20010301
|
|
L13_1 = {}
|
|
L13_1.x = -314.893
|
|
L13_1.y = 215.007
|
|
L13_1.z = -917.281
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 328.746
|
|
L13_1.y = 183.225
|
|
L13_1.z = 10.472
|
|
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 = 7
|
|
L13_1 = {}
|
|
L13_1.config_id = 93025
|
|
L13_1.monster_id = 20010301
|
|
L14_1 = {}
|
|
L14_1.x = -285.39
|
|
L14_1.y = 204.209
|
|
L14_1.z = -890.546
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 346.809
|
|
L14_1.y = 217.463
|
|
L14_1.z = 359.865
|
|
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 = 7
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 93004
|
|
L2_1.gadget_id = 70360005
|
|
L3_1 = {}
|
|
L3_1.x = -331.935
|
|
L3_1.y = 228.946
|
|
L3_1.z = -946.688
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 7.758
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.172
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 7
|
|
L3_1 = {}
|
|
L3_1.config_id = 93005
|
|
L3_1.gadget_id = 70360025
|
|
L4_1 = {}
|
|
L4_1.x = -290.697
|
|
L4_1.y = 200.3
|
|
L4_1.z = -819.713
|
|
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 = 7
|
|
L4_1 = {}
|
|
L4_1.config_id = 93006
|
|
L4_1.gadget_id = 70350085
|
|
L5_1 = {}
|
|
L5_1.x = -290.697
|
|
L5_1.y = 200.3
|
|
L5_1.z = -819.713
|
|
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 = 7
|
|
L5_1 = {}
|
|
L5_1.config_id = 93007
|
|
L5_1.gadget_id = 70350085
|
|
L6_1 = {}
|
|
L6_1.x = -331.935
|
|
L6_1.y = 230.356
|
|
L6_1.z = -946.688
|
|
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 = 7
|
|
L6_1 = {}
|
|
L6_1.config_id = 93016
|
|
L6_1.gadget_id = 70220005
|
|
L7_1 = {}
|
|
L7_1.x = -323.987
|
|
L7_1.y = 224.112
|
|
L7_1.z = -932.867
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 4.888
|
|
L7_1.y = 0.128
|
|
L7_1.z = 2.99
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 7
|
|
L7_1 = {}
|
|
L7_1.config_id = 93017
|
|
L7_1.gadget_id = 70220005
|
|
L8_1 = {}
|
|
L8_1.x = -328.974
|
|
L8_1.y = 224.311
|
|
L8_1.z = -933.446
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 16.88
|
|
L8_1.y = 353.598
|
|
L8_1.z = 347.146
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 7
|
|
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 = 93008
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 3
|
|
L3_1 = {}
|
|
L3_1.x = -290.659
|
|
L3_1.y = 200.305
|
|
L3_1.z = -819.751
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 7
|
|
L1_1[1] = L2_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1093008
|
|
L2_1.name = "ENTER_REGION_93008"
|
|
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_93008"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_93008"
|
|
L2_1.tag = "666"
|
|
L2_1.forbid_guest = false
|
|
L3_1 = {}
|
|
L3_1.config_id = 1093009
|
|
L3_1.name = "CHALLENGE_SUCCESS_93009"
|
|
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_93009"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1093010
|
|
L4_1.name = "CHALLENGE_FAIL_93010"
|
|
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_93010"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1093011
|
|
L5_1.name = "GADGET_STATE_CHANGE_93011"
|
|
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_93011"
|
|
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_93011"
|
|
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 = 93004
|
|
L5_1 = 93007
|
|
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_93011"
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 93001
|
|
L6_1 = 93002
|
|
L7_1 = 93003
|
|
L8_1 = 93012
|
|
L9_1 = 93013
|
|
L10_1 = 93014
|
|
L11_1 = 93015
|
|
L12_1 = 93018
|
|
L13_1 = 93019
|
|
L14_1 = 93023
|
|
L15_1 = 93024
|
|
L16_1 = 93025
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 93005
|
|
L6_1 = 93006
|
|
L7_1 = 93016
|
|
L8_1 = 93017
|
|
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 = 93008
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_93008"
|
|
L6_1 = "CHALLENGE_SUCCESS_93009"
|
|
L7_1 = "CHALLENGE_FAIL_93010"
|
|
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 ~= 93008 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_93008 = 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 = 93005
|
|
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_93008 = 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 = 93007
|
|
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 = 133108093
|
|
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 = 93004
|
|
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 = 133108093
|
|
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_93009 = 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 = 93007
|
|
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 = 133108093
|
|
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 = 93004
|
|
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_93010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param2
|
|
if 93004 == 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_93011 = 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 = 133108093
|
|
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 = 93007
|
|
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_93011 = L1_1
|