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

1194 lines
22 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
L0_1 = {}
L0_1.group_id = 133003081
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 81001
L2_1.gadget_id = 70360005
L3_1 = {}
L3_1.x = 2321.179
L3_1.y = 270.269
L3_1.z = -1524.796
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 = 24
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 81002
L3_1.gadget_id = 70690027
L4_1 = {}
L4_1.x = 2321.249
L4_1.y = 270.415
L4_1.z = -1524.762
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 = 1
L4_1 = {}
L4_1.config_id = 81003
L4_1.gadget_id = 70690001
L5_1 = {}
L5_1.x = 2318.524
L5_1.y = 278.622
L5_1.z = -1531.043
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 23.506
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 81004
L5_1.gadget_id = 70900203
L6_1 = {}
L6_1.x = 2300.803
L6_1.y = 276.229
L6_1.z = -1565.023
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 = 1
L6_1 = {}
L6_1.config_id = 81005
L6_1.gadget_id = 70690001
L7_1 = {}
L7_1.x = 2345.036
L7_1.y = 309.506
L7_1.z = -1584.886
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 55.161
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 81006
L7_1.gadget_id = 70690001
L8_1 = {}
L8_1.x = 2315.598
L8_1.y = 279.073
L8_1.z = -1537.522
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 23.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 81007
L8_1.gadget_id = 70690001
L9_1 = {}
L9_1.x = 2312.474
L9_1.y = 279.279
L9_1.z = -1543.948
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 23.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 1
L9_1 = {}
L9_1.config_id = 81015
L9_1.gadget_id = 70690001
L10_1 = {}
L10_1.x = 2309.089
L10_1.y = 279.628
L10_1.z = -1550.694
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 23.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 1
L10_1 = {}
L10_1.config_id = 81016
L10_1.gadget_id = 70690008
L11_1 = {}
L11_1.x = 2300.341
L11_1.y = 268.496
L11_1.z = -1564.524
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.area_id = 1
L11_1 = {}
L11_1.config_id = 81017
L11_1.gadget_id = 70690001
L12_1 = {}
L12_1.x = 2304.368
L12_1.y = 291.985
L12_1.z = -1571.259
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 329.895
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 1
L12_1 = {}
L12_1.config_id = 81018
L12_1.gadget_id = 70900203
L13_1 = {}
L13_1.x = 2323.594
L13_1.y = 291.985
L13_1.z = -1598.642
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 = 1
L13_1 = {}
L13_1.config_id = 81020
L13_1.gadget_id = 70690001
L14_1 = {}
L14_1.x = 2308.537
L14_1.y = 291.985
L14_1.z = -1578.495
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 329.895
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 1
L14_1 = {}
L14_1.config_id = 81021
L14_1.gadget_id = 70690001
L15_1 = {}
L15_1.x = 2311.966
L15_1.y = 291.985
L15_1.z = -1584.739
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 329.895
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 1
L15_1 = {}
L15_1.config_id = 81022
L15_1.gadget_id = 70690008
L16_1 = {}
L16_1.x = 2323.773
L16_1.y = 286.795
L16_1.z = -1598.509
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.area_id = 1
L16_1 = {}
L16_1.config_id = 81023
L16_1.gadget_id = 70690001
L17_1 = {}
L17_1.x = 2328.443
L17_1.y = 309.506
L17_1.z = -1595.423
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 55.161
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.area_id = 1
L17_1 = {}
L17_1.config_id = 81024
L17_1.gadget_id = 70900203
L18_1 = {}
L18_1.x = 2360.443
L18_1.y = 309.506
L18_1.z = -1573.783
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 = 1
L18_1 = {}
L18_1.config_id = 81025
L18_1.gadget_id = 70690001
L19_1 = {}
L19_1.x = 2334.029
L19_1.y = 309.506
L19_1.z = -1591.829
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 55.161
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.area_id = 1
L19_1 = {}
L19_1.config_id = 81026
L19_1.gadget_id = 70690001
L20_1 = {}
L20_1.x = 2339.437
L20_1.y = 309.506
L20_1.z = -1588.28
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 55.161
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.area_id = 1
L20_1 = {}
L20_1.config_id = 81027
L20_1.gadget_id = 70690008
L21_1 = {}
L21_1.x = 2360.443
L21_1.y = 284.256
L21_1.z = -1573.783
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 = 1
L21_1 = {}
L21_1.config_id = 81028
L21_1.gadget_id = 70690001
L22_1 = {}
L22_1.x = 2359.258
L22_1.y = 308.205
L22_1.z = -1564.713
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 22.081
L22_1.y = 346.866
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L21_1.area_id = 1
L22_1 = {}
L22_1.config_id = 81029
L22_1.gadget_id = 70690001
L23_1 = {}
L23_1.x = 2357.956
L23_1.y = 304.537
L23_1.z = -1557.182
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 22.696
L23_1.y = 342.696
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L22_1.area_id = 1
L23_1 = {}
L23_1.config_id = 81030
L23_1.gadget_id = 70690001
L24_1 = {}
L24_1.x = 2354.953
L24_1.y = 300.453
L24_1.z = -1549.897
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 23.765
L24_1.y = 326.439
L24_1.z = 1.132
L23_1.rot = L24_1
L23_1.level = 1
L23_1.area_id = 1
L24_1 = {}
L24_1.config_id = 81031
L24_1.gadget_id = 70690001
L25_1 = {}
L25_1.x = 2350.475
L25_1.y = 295.691
L25_1.z = -1542.588
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 22.354
L25_1.y = 327.394
L25_1.z = 359.106
L24_1.rot = L25_1
L24_1.level = 1
L24_1.area_id = 1
L25_1 = {}
L25_1.config_id = 81032
L25_1.gadget_id = 70690001
L26_1 = {}
L26_1.x = 2344.584
L26_1.y = 291.692
L26_1.z = -1536.865
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 24.628
L26_1.y = 298.336
L26_1.z = 10.504
L25_1.rot = L26_1
L25_1.level = 1
L25_1.area_id = 1
L26_1 = {}
L26_1.config_id = 81033
L26_1.gadget_id = 70900203
L27_1 = {}
L27_1.x = 2321.187
L27_1.y = 270.415
L27_1.z = -1524.765
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 = 1
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 81011
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 15
L3_1 = {}
L3_1.x = 2300.561
L3_1.y = 274.552
L3_1.z = -1564.735
L2_1.pos = L3_1
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 81012
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 15
L4_1 = {}
L4_1.x = 2323.592
L4_1.y = 292.78
L4_1.z = -1598.561
L3_1.pos = L4_1
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 81013
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 15
L5_1 = {}
L5_1.x = 2360.443
L5_1.y = 305.181
L5_1.z = -1573.783
L4_1.pos = L5_1
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 81014
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 15
L6_1 = {}
L6_1.x = 2321.064
L6_1.y = 270.243
L6_1.z = -1524.742
L5_1.pos = L6_1
L5_1.area_id = 1
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 = 1081008
L2_1.name = "GADGET_STATE_CHANGE_81008"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_81008"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_81008"
L3_1 = {}
L3_1.config_id = 1081009
L3_1.name = "CHALLENGE_SUCCESS_81009"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_SUCCESS
L3_1.event = L4_1
L3_1.source = "666"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_SUCCESS_81009"
L4_1 = {}
L4_1.config_id = 1081010
L4_1.name = "CHALLENGE_FAIL_81010"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_FAIL
L4_1.event = L5_1
L4_1.source = "666"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_FAIL_81010"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1081011
L5_1.name = "ENTER_REGION_81011"
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_81011"
L5_1.action = "action_EVENT_ENTER_REGION_81011"
L6_1 = {}
L6_1.config_id = 1081012
L6_1.name = "ENTER_REGION_81012"
L7_1 = EventType
L7_1 = L7_1.EVENT_ENTER_REGION
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ENTER_REGION_81012"
L6_1.action = "action_EVENT_ENTER_REGION_81012"
L7_1 = {}
L7_1.config_id = 1081013
L7_1.name = "ENTER_REGION_81013"
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_81013"
L7_1.action = "action_EVENT_ENTER_REGION_81013"
L8_1 = {}
L8_1.config_id = 1081014
L8_1.name = "ENTER_REGION_81014"
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_81014"
L8_1.action = "action_EVENT_ENTER_REGION_81014"
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 = "start"
L2_1.value = 1
L2_1.no_refresh = false
L1_1[1] = L2_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 = {}
L4_1 = 81001
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_81008"
L5_1 = "CHALLENGE_SUCCESS_81009"
L6_1 = "CHALLENGE_FAIL_81010"
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 = 81002
L6_1 = 81003
L7_1 = 81004
L8_1 = 81006
L9_1 = 81007
L10_1 = 81015
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
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 81011
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_81011"
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 = 81016
L7_1 = 81017
L8_1 = 81018
L9_1 = 81020
L10_1 = 81021
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 81012
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_81012"
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 = 81005
L8_1 = 81022
L9_1 = 81023
L10_1 = 81024
L11_1 = 81025
L12_1 = 81026
L13_1 = 81027
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
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 81013
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ENTER_REGION_81013"
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 = 81028
L9_1 = 81029
L10_1 = 81030
L11_1 = 81031
L12_1 = 81032
L13_1 = 81033
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
L6_1.gadgets = L7_1
L7_1 = {}
L8_1 = 81014
L7_1[1] = L8_1
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "ENTER_REGION_81014"
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
L8_1 = {}
L9_1 = {}
L8_1.monsters = L9_1
L9_1 = {}
L8_1.gadgets = L9_1
L9_1 = {}
L8_1.regions = L9_1
L9_1 = {}
L8_1.triggers = L9_1
L8_1.rand_weight = 100
L9_1 = {}
L10_1 = {}
L9_1.monsters = L10_1
L10_1 = {}
L9_1.gadgets = L10_1
L10_1 = {}
L9_1.regions = L10_1
L10_1 = {}
L9_1.triggers = L10_1
L9_1.rand_weight = 100
L10_1 = {}
L11_1 = {}
L10_1.monsters = L11_1
L11_1 = {}
L10_1.gadgets = L11_1
L11_1 = {}
L10_1.regions = L11_1
L11_1 = {}
L10_1.triggers = L11_1
L10_1.rand_weight = 100
L11_1 = {}
L12_1 = {}
L11_1.monsters = L12_1
L12_1 = {}
L11_1.gadgets = L12_1
L12_1 = {}
L11_1.regions = L12_1
L12_1 = {}
L11_1.triggers = L12_1
L11_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
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 81001 == 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 = "start"
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_GADGET_STATE_CHANGE_81008 = 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 = 133003081
L5_2 = 2
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 = 127
L6_2 = 180
L7_2 = 4
L8_2 = 666
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 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "start"
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 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330030811"
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_GADGET_STATE_CHANGE_81008 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "1330030812"
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 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133003081
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133003081
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133003081
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133003081
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_81009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133003081
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.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "start"
L5_2 = 1
L6_2 = 133003081
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_groupVariable_by_group"
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 = "1330030813"
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_81010 = 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 ~= 81011 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_81011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133003081
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = {}
L2_2.x = 2300.56
L2_2.y = 270.3999
L2_2.z = -1564.735
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 1110439
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.RemoveEntityByConfigId
L4_2 = A0_2
L5_2 = 133003081
L6_2 = EntityType
L6_2 = L6_2.GADGET
L7_2 = 81004
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_81011 = 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 ~= 81012 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_81012 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133003081
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 81018
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : remove_gadget_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 = 133003081
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = {}
L2_2.x = 2323.592
L2_2.y = 292.7801
L2_2.z = -1598.561
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 1110440
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_81012 = 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 ~= 81013 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_81013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133003081
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = {}
L2_2.x = 2360.443
L2_2.y = 300.9228
L2_2.z = -1573.783
L3_2 = ScriptLib
L3_2 = L3_2.ShowReminderRadius
L4_2 = A0_2
L5_2 = 1110441
L6_2 = L2_2
L7_2 = 50
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = ScriptLib
L3_2 = L3_2.RemoveEntityByConfigId
L4_2 = A0_2
L5_2 = 133003081
L6_2 = EntityType
L6_2 = L6_2.GADGET
L7_2 = 81024
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = 0
return L3_2
end
action_EVENT_ENTER_REGION_81013 = 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 ~= 81014 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_81014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133003081
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 81033
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : remove_gadget_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_81014 = L1_1