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

976 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, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1
L0_1 = {}
L0_1.group_id = 133105903
L1_1 = {}
L1_1.duration = 70
L1_1.group_id = 133105903
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 903002
L3_1.gadget_id = 70690001
L4_1 = {}
L4_1.x = 1111.074
L4_1.y = 454.281
L4_1.z = -701.184
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 321.79
L4_1.y = 83.224
L4_1.z = 3.25
L3_1.rot = L4_1
L3_1.level = 35
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 903003
L4_1.gadget_id = 70690001
L5_1 = {}
L5_1.x = 1120.266
L5_1.y = 458.179
L5_1.z = -700.278
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 332.777
L5_1.y = 80.857
L5_1.z = 86.339
L4_1.rot = L5_1
L4_1.level = 35
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 903004
L5_1.gadget_id = 70690001
L6_1 = {}
L6_1.x = 1100.888
L6_1.y = 449.066
L6_1.z = -702.399
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 325.341
L6_1.y = 83.528
L6_1.z = 2.738
L5_1.rot = L6_1
L5_1.level = 35
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 903005
L6_1.gadget_id = 70690001
L7_1 = {}
L7_1.x = 1091.64
L7_1.y = 443.46
L7_1.z = -703.25
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 312.545
L7_1.y = 64.169
L7_1.z = 14.125
L6_1.rot = L7_1
L6_1.level = 35
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 903007
L7_1.gadget_id = 70690001
L8_1 = {}
L8_1.x = 1037.939
L8_1.y = 396.038
L8_1.z = -679.551
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 298.58
L8_1.y = 150.353
L8_1.z = 349.962
L7_1.rot = L8_1
L7_1.level = 35
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 903011
L8_1.gadget_id = 70360095
L9_1 = {}
L9_1.x = 1080.283
L9_1.y = 430.42
L9_1.z = -708.155
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 = 1
L8_1.route_id = 310500100
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 903012
L9_1.gadget_id = 70690001
L10_1 = {}
L10_1.x = 1044.805
L10_1.y = 400.422
L10_1.z = -689.694
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 336.734
L10_1.y = 146.856
L10_1.z = 4.756
L9_1.rot = L10_1
L9_1.level = 35
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 903013
L10_1.gadget_id = 70690001
L11_1 = {}
L11_1.x = 1010.201
L11_1.y = 363.784
L11_1.z = -641.793
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 63.418
L11_1.y = 326.994
L11_1.z = 17.452
L10_1.rot = L11_1
L10_1.level = 35
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 903018
L11_1.gadget_id = 70360024
L12_1 = {}
L12_1.x = 1052.386
L12_1.y = 405.606
L12_1.z = -704.507
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 = 1
L11_1.area_id = 10
L12_1 = {}
L12_1.config_id = 903021
L12_1.gadget_id = 70690001
L13_1 = {}
L13_1.x = 1017.125
L13_1.y = 372.367
L13_1.z = -649.113
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 41.729
L13_1.y = 322.745
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 35
L12_1.area_id = 10
L13_1 = {}
L13_1.config_id = 903022
L13_1.gadget_id = 70360095
L14_1 = {}
L14_1.x = 1086.878
L14_1.y = 435.737
L14_1.z = -704.717
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.route_id = 310500101
L13_1.area_id = 10
L14_1 = {}
L14_1.config_id = 903024
L14_1.gadget_id = 70360024
L15_1 = {}
L15_1.x = 1028.888
L15_1.y = 381.329
L15_1.z = -663.162
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 10
L15_1 = {}
L15_1.config_id = 903026
L15_1.gadget_id = 70360024
L16_1 = {}
L16_1.x = 994.719
L16_1.y = 342.114
L16_1.z = -626.479
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 319.065
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.area_id = 10
L16_1 = {}
L16_1.config_id = 903027
L16_1.gadget_id = 70360025
L17_1 = {}
L17_1.x = 972.962
L17_1.y = 341.088
L17_1.z = -602.846
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 = 10
L17_1 = {}
L17_1.config_id = 903032
L17_1.gadget_id = 70900201
L18_1 = {}
L18_1.x = 1052.386
L18_1.y = 406.353
L18_1.z = -704.507
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 = 10
L18_1 = {}
L18_1.config_id = 903033
L18_1.gadget_id = 70900201
L19_1 = {}
L19_1.x = 1028.888
L19_1.y = 382.079
L19_1.z = -663.162
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 = 10
L19_1 = {}
L19_1.config_id = 903034
L19_1.gadget_id = 70900201
L20_1 = {}
L20_1.x = 994.719
L20_1.y = 342.927
L20_1.z = -626.479
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 = 10
L20_1 = {}
L20_1.config_id = 903035
L20_1.gadget_id = 70900201
L21_1 = {}
L21_1.x = 972.962
L21_1.y = 341.088
L21_1.z = -602.846
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 = 10
L21_1 = {}
L21_1.config_id = 903036
L21_1.gadget_id = 70360095
L22_1 = {}
L22_1.x = 1072.992
L22_1.y = 418.357
L22_1.z = -707.076
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.route_id = 310500102
L21_1.area_id = 10
L22_1 = {}
L22_1.config_id = 903037
L22_1.gadget_id = 70690014
L23_1 = {}
L23_1.x = 1032.532
L23_1.y = 389.6
L23_1.z = -671.441
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 335.269
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L22_1.area_id = 10
L23_1 = {}
L23_1.config_id = 903038
L23_1.gadget_id = 70360093
L24_1 = {}
L24_1.x = 1030.749
L24_1.y = 385.844
L24_1.z = -669.689
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 = 10
L24_1 = {}
L24_1.config_id = 903039
L24_1.gadget_id = 70360093
L25_1 = {}
L25_1.x = 1027.106
L25_1.y = 387.077
L25_1.z = -675.512
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 = 10
L25_1 = {}
L25_1.config_id = 903040
L25_1.gadget_id = 70360093
L26_1 = {}
L26_1.x = 1036.354
L26_1.y = 386.472
L26_1.z = -665.742
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 = 10
L26_1 = {}
L26_1.config_id = 903041
L26_1.gadget_id = 70360093
L27_1 = {}
L27_1.x = 1000.87
L27_1.y = 349.148
L27_1.z = -631.723
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.route_id = 310500105
L26_1.area_id = 10
L27_1 = {}
L27_1.config_id = 903042
L27_1.gadget_id = 70360095
L28_1 = {}
L28_1.x = 996.38
L28_1.y = 347.547
L28_1.z = -636.39
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.route_id = 310500103
L27_1.area_id = 10
L28_1 = {}
L28_1.config_id = 903043
L28_1.gadget_id = 70360095
L29_1 = {}
L29_1.x = 1003.949
L29_1.y = 347.29
L29_1.z = -625.584
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.route_id = 310500104
L28_1.area_id = 10
L29_1 = {}
L29_1.config_id = 903044
L29_1.gadget_id = 70360095
L30_1 = {}
L30_1.x = 1076.99
L30_1.y = 423.508
L30_1.z = -707.468
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.route_id = 310500106
L29_1.area_id = 10
L30_1 = {}
L30_1.config_id = 903045
L30_1.gadget_id = 70690014
L31_1 = {}
L31_1.x = 1004.458
L31_1.y = 352.41
L31_1.z = -636.955
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 307.556
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L30_1.area_id = 10
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
L2_1[17] = L19_1
L2_1[18] = L20_1
L2_1[19] = L21_1
L2_1[20] = L22_1
L2_1[21] = L23_1
L2_1[22] = L24_1
L2_1[23] = L25_1
L2_1[24] = L26_1
L2_1[25] = L27_1
L2_1[26] = L28_1
L2_1[27] = L29_1
L2_1[28] = L30_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 903029
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 1.2
L4_1 = {}
L4_1.x = 973.09
L4_1.y = 341.088
L4_1.z = -602.64
L3_1.pos = L4_1
L3_1.area_id = 10
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1903014
L3_1.name = "QUEST_FINISH_903014"
L4_1 = EventType
L4_1 = L4_1.EVENT_QUEST_FINISH
L3_1.event = L4_1
L3_1.source = "1104305"
L3_1.condition = ""
L3_1.action = "action_EVENT_QUEST_FINISH_903014"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1903023
L4_1.name = "GADGET_STATE_CHANGE_903023"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_903023"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_903023"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1903025
L5_1.name = "GADGET_STATE_CHANGE_903025"
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_903025"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_903025"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1903028
L6_1.name = "GADGET_STATE_CHANGE_903028"
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_903028"
L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_903028"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1903029
L7_1.name = "ENTER_REGION_903029"
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_903029"
L7_1.action = "action_EVENT_ENTER_REGION_903029"
L7_1.trigger_count = 0
L7_1.tag = "1024"
L8_1 = {}
L8_1.config_id = 1903030
L8_1.name = "CHALLENGE_FAIL_903030"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_FAIL
L8_1.event = L9_1
L8_1.source = "666"
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_FAIL_903030"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1903031
L9_1.name = "CHALLENGE_SUCCESS_903031"
L10_1 = EventType
L10_1 = L10_1.EVENT_CHALLENGE_SUCCESS
L9_1.event = L10_1
L9_1.source = "666"
L9_1.condition = ""
L9_1.action = "action_EVENT_CHALLENGE_SUCCESS_903031"
L9_1.trigger_count = 0
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 903002
L6_1 = 903003
L7_1 = 903004
L8_1 = 903005
L9_1 = 903011
L10_1 = 903022
L11_1 = 903036
L12_1 = 903044
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 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "QUEST_FINISH_903014"
L6_1 = "CHALLENGE_FAIL_903030"
L7_1 = "CHALLENGE_SUCCESS_903031"
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 = {}
L6_1 = 903018
L7_1 = 903032
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_STATE_CHANGE_903023"
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 = 903007
L8_1 = 903012
L9_1 = 903024
L10_1 = 903033
L11_1 = 903037
L12_1 = 903038
L13_1 = 903039
L14_1 = 903040
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 = {}
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "GADGET_STATE_CHANGE_903025"
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 = 903013
L9_1 = 903021
L10_1 = 903026
L11_1 = 903034
L12_1 = 903041
L13_1 = 903042
L14_1 = 903043
L15_1 = 903045
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
L7_1[8] = L15_1
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "GADGET_STATE_CHANGE_903028"
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 = {}
L9_1 = 903027
L10_1 = 903035
L8_1[1] = L9_1
L8_1[2] = L10_1
L7_1.gadgets = L8_1
L8_1 = {}
L9_1 = 903029
L8_1[1] = L9_1
L7_1.regions = L8_1
L8_1 = {}
L9_1 = "ENTER_REGION_903029"
L8_1[1] = L9_1
L7_1.triggers = L8_1
L7_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
suites = L2_1
function L2_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.ActiveChallenge
L3_2 = A0_2
L4_2 = 666
L5_2 = 184
L6_2 = L1_1.duration
L7_2 = 4
L8_2 = 1024
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 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_903014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 903018 == 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 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_903023 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 903024
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 : create_gadget"
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 = 133105903
L5_2 = 3
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 = 903032
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_GADGET_STATE_CHANGE_903023 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 903024 == 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 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_903025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133105903
L5_2 = 4
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 = 903033
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_GADGET_STATE_CHANGE_903025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 903026 == 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 = true
return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_903028 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133105903
L5_2 = 5
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 = 903034
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_GADGET_STATE_CHANGE_903028 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 903029 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_903029 = L2_1
function L2_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 = 903027
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 = 903035
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_903029 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1331059032"
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_903030 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "1331059031"
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_903031 = L2_1