mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
941 lines
18 KiB
Lua
941 lines
18 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 = 133103559
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 559001
|
|
L2_1.gadget_id = 70690001
|
|
L3_1 = {}
|
|
L3_1.x = 917.669
|
|
L3_1.y = 353.768
|
|
L3_1.z = 1541.248
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 308.143
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 24
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 559002
|
|
L3_1.gadget_id = 70690001
|
|
L4_1 = {}
|
|
L4_1.x = 903.779
|
|
L4_1.y = 350.016
|
|
L4_1.z = 1550.004
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 16.983
|
|
L4_1.y = 302.712
|
|
L4_1.z = 4.378
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 24
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 559003
|
|
L4_1.gadget_id = 70690001
|
|
L5_1 = {}
|
|
L5_1.x = 887.488
|
|
L5_1.y = 344.323
|
|
L5_1.z = 1559.547
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 12.977
|
|
L5_1.y = 296.934
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 24
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 559004
|
|
L5_1.gadget_id = 70690001
|
|
L6_1 = {}
|
|
L6_1.x = 868.398
|
|
L6_1.y = 349.94
|
|
L6_1.z = 1648.353
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 349.177
|
|
L6_1.y = 0.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 24
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 559005
|
|
L6_1.gadget_id = 70690001
|
|
L7_1 = {}
|
|
L7_1.x = 875.446
|
|
L7_1.y = 338.289
|
|
L7_1.z = 1575.495
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 358.105
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 24
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 559007
|
|
L7_1.gadget_id = 70350085
|
|
L8_1 = {}
|
|
L8_1.x = 875.875
|
|
L8_1.y = 338.846
|
|
L8_1.z = 1567.462
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 139.846
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 24
|
|
L7_1.area_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 559008
|
|
L8_1.gadget_id = 70690006
|
|
L9_1 = {}
|
|
L9_1.x = 875.566
|
|
L9_1.y = 321.948
|
|
L9_1.z = 1587.886
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 139.846
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 24
|
|
L8_1.area_id = 6
|
|
L9_1 = {}
|
|
L9_1.config_id = 559009
|
|
L9_1.gadget_id = 70690001
|
|
L10_1 = {}
|
|
L10_1.x = 872.32
|
|
L10_1.y = 344.374
|
|
L10_1.z = 1601.922
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 350.063
|
|
L10_1.y = 353.757
|
|
L10_1.z = 93.863
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 24
|
|
L9_1.area_id = 6
|
|
L10_1 = {}
|
|
L10_1.config_id = 559010
|
|
L10_1.gadget_id = 70690001
|
|
L11_1 = {}
|
|
L11_1.x = 870.441
|
|
L11_1.y = 344.798
|
|
L11_1.z = 1613.62
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 349.804
|
|
L11_1.y = 358.088
|
|
L11_1.z = 105.515
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 24
|
|
L10_1.area_id = 6
|
|
L11_1 = {}
|
|
L11_1.config_id = 559011
|
|
L11_1.gadget_id = 70690001
|
|
L12_1 = {}
|
|
L12_1.x = 870.124
|
|
L12_1.y = 345.703
|
|
L12_1.z = 1624.718
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 349.804
|
|
L12_1.y = 358.088
|
|
L12_1.z = 105.515
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 24
|
|
L11_1.area_id = 6
|
|
L12_1 = {}
|
|
L12_1.config_id = 559012
|
|
L12_1.gadget_id = 70690001
|
|
L13_1 = {}
|
|
L13_1.x = 869.907
|
|
L13_1.y = 347.243
|
|
L13_1.z = 1637.649
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 349.804
|
|
L13_1.y = 358.088
|
|
L13_1.z = 105.515
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 24
|
|
L12_1.area_id = 6
|
|
L13_1 = {}
|
|
L13_1.config_id = 559013
|
|
L13_1.gadget_id = 70350085
|
|
L14_1 = {}
|
|
L14_1.x = 868.54
|
|
L14_1.y = 352.212
|
|
L14_1.z = 1666.431
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 139.846
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 24
|
|
L13_1.area_id = 6
|
|
L14_1 = {}
|
|
L14_1.config_id = 559014
|
|
L14_1.gadget_id = 70690001
|
|
L15_1 = {}
|
|
L15_1.x = 863.559
|
|
L15_1.y = 351.489
|
|
L15_1.z = 1663.835
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 4.208
|
|
L15_1.y = 247.404
|
|
L15_1.z = 0.494
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 24
|
|
L14_1.area_id = 6
|
|
L15_1 = {}
|
|
L15_1.config_id = 559015
|
|
L15_1.gadget_id = 70690001
|
|
L16_1 = {}
|
|
L16_1.x = 847.525
|
|
L16_1.y = 347.997
|
|
L16_1.z = 1657.196
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 0.0
|
|
L16_1.y = 247.266
|
|
L16_1.z = 0.0
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 24
|
|
L15_1.area_id = 6
|
|
L16_1 = {}
|
|
L16_1.config_id = 559016
|
|
L16_1.gadget_id = 70690001
|
|
L17_1 = {}
|
|
L17_1.x = 834.565
|
|
L17_1.y = 345.458
|
|
L17_1.z = 1652.147
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 256.795
|
|
L17_1.z = 343.535
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 24
|
|
L16_1.area_id = 6
|
|
L17_1 = {}
|
|
L17_1.config_id = 559017
|
|
L17_1.gadget_id = 70690005
|
|
L18_1 = {}
|
|
L18_1.x = 859.64
|
|
L18_1.y = 348.944
|
|
L18_1.z = 1646.95
|
|
L17_1.pos = L18_1
|
|
L18_1 = {}
|
|
L18_1.x = 270.0
|
|
L18_1.y = 162.809
|
|
L18_1.z = 0.0
|
|
L17_1.rot = L18_1
|
|
L17_1.level = 24
|
|
L17_1.area_id = 6
|
|
L18_1 = {}
|
|
L18_1.config_id = 559021
|
|
L18_1.gadget_id = 70690001
|
|
L19_1 = {}
|
|
L19_1.x = 821.429
|
|
L19_1.y = 343.161
|
|
L19_1.z = 1648.793
|
|
L18_1.pos = L19_1
|
|
L19_1 = {}
|
|
L19_1.x = 0.0
|
|
L19_1.y = 261.866
|
|
L19_1.z = 0.0
|
|
L18_1.rot = L19_1
|
|
L18_1.level = 24
|
|
L18_1.area_id = 6
|
|
L19_1 = {}
|
|
L19_1.config_id = 559029
|
|
L19_1.gadget_id = 70690001
|
|
L20_1 = {}
|
|
L20_1.x = 806.61
|
|
L20_1.y = 340.614
|
|
L20_1.z = 1645.071
|
|
L19_1.pos = L20_1
|
|
L20_1 = {}
|
|
L20_1.x = 4.401
|
|
L20_1.y = 252.678
|
|
L20_1.z = 0.0
|
|
L19_1.rot = L20_1
|
|
L19_1.level = 24
|
|
L19_1.area_id = 6
|
|
L20_1 = {}
|
|
L20_1.config_id = 559030
|
|
L20_1.gadget_id = 70350085
|
|
L21_1 = {}
|
|
L21_1.x = 785.557
|
|
L21_1.y = 333.292
|
|
L21_1.z = 1642.116
|
|
L20_1.pos = L21_1
|
|
L21_1 = {}
|
|
L21_1.x = 0.0
|
|
L21_1.y = 139.846
|
|
L21_1.z = 0.0
|
|
L20_1.rot = L21_1
|
|
L20_1.level = 24
|
|
L20_1.area_id = 6
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 559032
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 5
|
|
L3_1 = {}
|
|
L3_1.x = 785.55
|
|
L3_1.y = 332.8
|
|
L3_1.z = 1642.11
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 559033
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 2
|
|
L4_1 = {}
|
|
L4_1.x = 876.027
|
|
L4_1.y = 338.872
|
|
L4_1.z = 1567.239
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 559034
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 2
|
|
L5_1 = {}
|
|
L5_1.x = 868.364
|
|
L5_1.y = 352.206
|
|
L5_1.z = 1666.526
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 6
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1559031
|
|
L2_1.name = "QUEST_FINISH_559031"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_QUEST_FINISH
|
|
L2_1.event = L3_1
|
|
L2_1.source = "80001"
|
|
L2_1.condition = "condition_EVENT_QUEST_FINISH_559031"
|
|
L2_1.action = "action_EVENT_QUEST_FINISH_559031"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1559032
|
|
L3_1.name = "ENTER_REGION_559032"
|
|
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_559032"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_559032"
|
|
L3_1.tag = "888"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1559033
|
|
L4_1.name = "ENTER_REGION_559033"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ENTER_REGION_559033"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_559033"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1559034
|
|
L5_1.name = "ENTER_REGION_559034"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_ENTER_REGION
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_ENTER_REGION_559034"
|
|
L5_1.action = "action_EVENT_ENTER_REGION_559034"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1559035
|
|
L6_1.name = "CHALLENGE_SUCCESS_559035"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
|
|
L6_1.event = L7_1
|
|
L6_1.source = "666"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_559035"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1559036
|
|
L7_1.name = "CHALLENGE_FAIL_559036"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
|
|
L7_1.event = L8_1
|
|
L7_1.source = "666"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_CHALLENGE_FAIL_559036"
|
|
L7_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
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 0
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L2_1.ban_refresh = true
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "QUEST_FINISH_559031"
|
|
L6_1 = "CHALLENGE_SUCCESS_559035"
|
|
L7_1 = "CHALLENGE_FAIL_559036"
|
|
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
|
|
L3_1.ban_refresh = true
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 559001
|
|
L7_1 = 559002
|
|
L8_1 = 559003
|
|
L9_1 = 559007
|
|
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 = 559033
|
|
L5_1[1] = L6_1
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ENTER_REGION_559033"
|
|
L5_1[1] = L6_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L4_1.ban_refresh = true
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L5_1.monsters = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 559004
|
|
L8_1 = 559005
|
|
L9_1 = 559008
|
|
L10_1 = 559009
|
|
L11_1 = 559010
|
|
L12_1 = 559011
|
|
L13_1 = 559012
|
|
L14_1 = 559013
|
|
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
|
|
L6_1[6] = L12_1
|
|
L6_1[7] = L13_1
|
|
L6_1[8] = L14_1
|
|
L5_1.gadgets = L6_1
|
|
L6_1 = {}
|
|
L7_1 = 559034
|
|
L6_1[1] = L7_1
|
|
L5_1.regions = L6_1
|
|
L6_1 = {}
|
|
L7_1 = "ENTER_REGION_559034"
|
|
L6_1[1] = L7_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L5_1.ban_refresh = true
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 559014
|
|
L9_1 = 559015
|
|
L10_1 = 559016
|
|
L11_1 = 559017
|
|
L12_1 = 559021
|
|
L13_1 = 559029
|
|
L14_1 = 559030
|
|
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
|
|
L7_1[6] = L13_1
|
|
L7_1[7] = L14_1
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L8_1 = 559032
|
|
L7_1[1] = L8_1
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L8_1 = "ENTER_REGION_559032"
|
|
L7_1[1] = L8_1
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 100
|
|
L6_1.ban_refresh = true
|
|
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
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 80001 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 1 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_QUEST_FINISH_559031 = 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 = 133103559
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ActiveChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 666
|
|
L5_2 = 184
|
|
L6_2 = 300
|
|
L7_2 = 4
|
|
L8_2 = 888
|
|
L9_2 = 1
|
|
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_QUEST_FINISH_559031 = 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 ~= 559032 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_559032 = 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 = 559030
|
|
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 = 559013
|
|
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 = 559007
|
|
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.StopChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 666
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_559032 = 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 ~= 559033 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_559033 = 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 = 559007
|
|
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 = 133103559
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_559033 = 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 ~= 559034 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_559034 = 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 = 559013
|
|
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 = 133103559
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_559034 = 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 = 559007
|
|
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 = 559013
|
|
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 = 559030
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103559
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "8000201"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_SUCCESS_559035 = 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 = 559007
|
|
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 = 559013
|
|
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 = 559030
|
|
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.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103559
|
|
L4_2.suite = 2
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "8000202"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_559036 = L1_1
|