Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133002901.lua
hartie95 0195075dab Added the context to all GetEntityType calls
* used this shell command `grep -rl "L2_2 = L2_2.GetEntityType" . | xargs sed -i '/L2_2 = L2_2.GetEntityType/, /L3_2 = EntityType/ s/L2_2 = L2_2(L3_2)/L2_2 = L2_2(A0_2, L3_2)/'`
2022-09-03 18:02:23 +02:00

1392 lines
29 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 = 133002901
L1_1 = {}
L1_1.gadget_id_1 = 66
L1_1.gadget_id_2 = 67
L1_1.gadget_id_3 = 68
L1_1.gadget_id_4 = 69
L1_1.gadget_id_5 = 107
L1_1.gadget_id_6 = 185
L1_1.gadget_id_7 = 225
L1_1.gadget_id_8 = 226
L1_1.gadget_id_9 = 227
L1_1.gadget_id_10 = 316
L1_1.gadget_id_11 = 317
L1_1.gadget_id_12 = 318
L1_1.gadget_id_13 = 321
L1_1.gadget_id_14 = 331
L1_1.gadget_id_15 = 366
L1_1.gadget_id_16 = 373
L1_1.gadget_id_17 = 901001
L1_1.gadget_id_18 = 901002
L1_1.gadget_id_19 = 901003
L1_1.gadget_id_20 = 901004
L1_1.gadget_id_21 = 901005
L1_1.gadget_id_22 = 901006
L1_1.gadget_id_23 = 901007
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 66
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 60
L4_1 = {}
L4_1.x = 1765.625
L4_1.y = 221.863
L4_1.z = -405.583
L3_1.pos = L4_1
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 67
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 60
L5_1 = {}
L5_1.x = 2137.0
L5_1.y = 207.0
L5_1.z = -1174.0
L4_1.pos = L5_1
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 68
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 60
L6_1 = {}
L6_1.x = 2157.039
L6_1.y = 235.408
L6_1.z = -1644.083
L5_1.pos = L6_1
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 69
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 45
L7_1 = {}
L7_1.x = 1644.786
L7_1.y = 255.438
L7_1.z = -1414.12
L6_1.pos = L7_1
L6_1.area_id = 2
L7_1 = {}
L7_1.config_id = 107
L8_1 = RegionShape
L8_1 = L8_1.SPHERE
L7_1.shape = L8_1
L7_1.radius = 8
L8_1 = {}
L8_1.x = 2009.054
L8_1.y = 204.243
L8_1.z = -881.293
L7_1.pos = L8_1
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 185
L9_1 = RegionShape
L9_1 = L9_1.SPHERE
L8_1.shape = L9_1
L8_1.radius = 10
L9_1 = {}
L9_1.x = 1773.553
L9_1.y = 221.863
L9_1.z = -390.494
L8_1.pos = L9_1
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 225
L10_1 = RegionShape
L10_1 = L10_1.SPHERE
L9_1.shape = L10_1
L9_1.radius = 60
L10_1 = {}
L10_1.x = 1660.223
L10_1.y = 255.849
L10_1.z = -1426.925
L9_1.pos = L10_1
L9_1.area_id = 2
L10_1 = {}
L10_1.config_id = 226
L11_1 = RegionShape
L11_1 = L11_1.SPHERE
L10_1.shape = L11_1
L10_1.radius = 10
L11_1 = {}
L11_1.x = 1772.133
L11_1.y = 221.863
L11_1.z = -393.091
L10_1.pos = L11_1
L10_1.area_id = 3
L11_1 = {}
L11_1.config_id = 227
L12_1 = RegionShape
L12_1 = L12_1.SPHERE
L11_1.shape = L12_1
L11_1.radius = 20
L12_1 = {}
L12_1.x = 1814.012
L12_1.y = 218.684
L12_1.z = -395.323
L11_1.pos = L12_1
L11_1.area_id = 3
L12_1 = {}
L12_1.config_id = 316
L13_1 = RegionShape
L13_1 = L13_1.SPHERE
L12_1.shape = L13_1
L12_1.radius = 15
L13_1 = {}
L13_1.x = 1999.334
L13_1.y = 250.769
L13_1.z = -277.118
L12_1.pos = L13_1
L12_1.area_id = 3
L13_1 = {}
L13_1.config_id = 317
L14_1 = RegionShape
L14_1 = L14_1.SPHERE
L13_1.shape = L14_1
L13_1.radius = 15
L14_1 = {}
L14_1.x = 2011.395
L14_1.y = 255.841
L14_1.z = -321.266
L13_1.pos = L14_1
L13_1.area_id = 3
L14_1 = {}
L14_1.config_id = 318
L15_1 = RegionShape
L15_1 = L15_1.SPHERE
L14_1.shape = L15_1
L14_1.radius = 15
L15_1 = {}
L15_1.x = 2060.913
L15_1.y = 259.989
L15_1.z = -343.706
L14_1.pos = L15_1
L14_1.area_id = 3
L15_1 = {}
L15_1.config_id = 321
L16_1 = RegionShape
L16_1 = L16_1.SPHERE
L15_1.shape = L16_1
L15_1.radius = 60
L16_1 = {}
L16_1.x = 1772.273
L16_1.y = 221.863
L16_1.z = -391.774
L15_1.pos = L16_1
L15_1.area_id = 3
L16_1 = {}
L16_1.config_id = 331
L17_1 = RegionShape
L17_1 = L17_1.SPHERE
L16_1.shape = L17_1
L16_1.radius = 40
L17_1 = {}
L17_1.x = 1980.343
L17_1.y = 203.421
L17_1.z = -823.95
L16_1.pos = L17_1
L16_1.area_id = 3
L17_1 = {}
L17_1.config_id = 366
L18_1 = RegionShape
L18_1 = L18_1.SPHERE
L17_1.shape = L18_1
L17_1.radius = 40
L18_1 = {}
L18_1.x = 1956.797
L18_1.y = 219.43
L18_1.z = -550.308
L17_1.pos = L18_1
L17_1.area_id = 3
L18_1 = {}
L18_1.config_id = 373
L19_1 = RegionShape
L19_1 = L19_1.SPHERE
L18_1.shape = L19_1
L18_1.radius = 40
L19_1 = {}
L19_1.x = 2016.241
L19_1.y = 205.459
L19_1.z = -926.329
L18_1.pos = L19_1
L18_1.area_id = 3
L19_1 = {}
L19_1.config_id = 901001
L20_1 = RegionShape
L20_1 = L20_1.SPHERE
L19_1.shape = L20_1
L19_1.radius = 10
L20_1 = {}
L20_1.x = 1974.118
L20_1.y = 202.613
L20_1.z = -800.668
L19_1.pos = L20_1
L19_1.area_id = 3
L20_1 = {}
L20_1.config_id = 901002
L21_1 = RegionShape
L21_1 = L21_1.SPHERE
L20_1.shape = L21_1
L20_1.radius = 10
L21_1 = {}
L21_1.x = 1935.107
L21_1.y = 209.083
L21_1.z = -809.563
L20_1.pos = L21_1
L20_1.area_id = 3
L21_1 = {}
L21_1.config_id = 901003
L22_1 = RegionShape
L22_1 = L22_1.SPHERE
L21_1.shape = L22_1
L21_1.radius = 10
L22_1 = {}
L22_1.x = 1971.7
L22_1.y = 207.783
L22_1.z = -756.711
L21_1.pos = L22_1
L21_1.area_id = 3
L22_1 = {}
L22_1.config_id = 901004
L23_1 = RegionShape
L23_1 = L23_1.SPHERE
L22_1.shape = L23_1
L22_1.radius = 10
L23_1 = {}
L23_1.x = 1974.283
L23_1.y = 202.64
L23_1.z = -800.314
L22_1.pos = L23_1
L22_1.area_id = 3
L23_1 = {}
L23_1.config_id = 901005
L24_1 = RegionShape
L24_1 = L24_1.SPHERE
L23_1.shape = L24_1
L23_1.radius = 7
L24_1 = {}
L24_1.x = 1980.802
L24_1.y = 202.654
L24_1.z = -821.029
L23_1.pos = L24_1
L23_1.area_id = 3
L24_1 = {}
L24_1.config_id = 901006
L25_1 = RegionShape
L25_1 = L25_1.SPHERE
L24_1.shape = L25_1
L24_1.radius = 25
L25_1 = {}
L25_1.x = 2009.07
L25_1.y = 225.967
L25_1.z = -696.632
L24_1.pos = L25_1
L24_1.area_id = 3
L25_1 = {}
L25_1.config_id = 901007
L26_1 = RegionShape
L26_1 = L26_1.SPHERE
L25_1.shape = L26_1
L25_1.radius = 25
L26_1 = {}
L26_1.x = 1857.992
L26_1.y = 200.846
L26_1.z = -170.941
L25_1.pos = L26_1
L25_1.area_id = 3
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
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1000066
L3_1.name = "ENTER_REGION_66"
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_66"
L3_1.action = ""
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1000067
L4_1.name = "ENTER_REGION_67"
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_67"
L4_1.action = ""
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1000068
L5_1.name = "ENTER_REGION_68"
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_68"
L5_1.action = ""
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1000069
L6_1.name = "ENTER_REGION_69"
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_69"
L6_1.action = ""
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1000107
L7_1.name = "ENTER_REGION_107"
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_107"
L7_1.action = ""
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1000185
L8_1.name = "ENTER_REGION_185"
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_185"
L8_1.action = ""
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1000225
L9_1.name = "ENTER_REGION_225"
L10_1 = EventType
L10_1 = L10_1.EVENT_ENTER_REGION
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ENTER_REGION_225"
L9_1.action = ""
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1000226
L10_1.name = "ENTER_REGION_226"
L11_1 = EventType
L11_1 = L11_1.EVENT_ENTER_REGION
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ENTER_REGION_226"
L10_1.action = ""
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1000227
L11_1.name = "ENTER_REGION_227"
L12_1 = EventType
L12_1 = L12_1.EVENT_ENTER_REGION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ENTER_REGION_227"
L11_1.action = ""
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1000316
L12_1.name = "ENTER_REGION_316"
L13_1 = EventType
L13_1 = L13_1.EVENT_ENTER_REGION
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_ENTER_REGION_316"
L12_1.action = ""
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1000317
L13_1.name = "ENTER_REGION_317"
L14_1 = EventType
L14_1 = L14_1.EVENT_ENTER_REGION
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_ENTER_REGION_317"
L13_1.action = ""
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1000318
L14_1.name = "ENTER_REGION_318"
L15_1 = EventType
L15_1 = L15_1.EVENT_ENTER_REGION
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_ENTER_REGION_318"
L14_1.action = ""
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1000321
L15_1.name = "ENTER_REGION_321"
L16_1 = EventType
L16_1 = L16_1.EVENT_ENTER_REGION
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_ENTER_REGION_321"
L15_1.action = ""
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1000331
L16_1.name = "ENTER_REGION_331"
L17_1 = EventType
L17_1 = L17_1.EVENT_ENTER_REGION
L16_1.event = L17_1
L16_1.source = ""
L16_1.condition = "condition_EVENT_ENTER_REGION_331"
L16_1.action = ""
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1000366
L17_1.name = "ENTER_REGION_366"
L18_1 = EventType
L18_1 = L18_1.EVENT_ENTER_REGION
L17_1.event = L18_1
L17_1.source = ""
L17_1.condition = "condition_EVENT_ENTER_REGION_366"
L17_1.action = ""
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1000373
L18_1.name = "ENTER_REGION_373"
L19_1 = EventType
L19_1 = L19_1.EVENT_ENTER_REGION
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_ENTER_REGION_373"
L18_1.action = ""
L18_1.trigger_count = 0
L19_1 = {}
L19_1.config_id = 1901001
L19_1.name = "ENTER_REGION_901001"
L20_1 = EventType
L20_1 = L20_1.EVENT_ENTER_REGION
L19_1.event = L20_1
L19_1.source = ""
L19_1.condition = "condition_EVENT_ENTER_REGION_901001"
L19_1.action = ""
L19_1.trigger_count = 0
L20_1 = {}
L20_1.config_id = 1901002
L20_1.name = "ENTER_REGION_901002"
L21_1 = EventType
L21_1 = L21_1.EVENT_ENTER_REGION
L20_1.event = L21_1
L20_1.source = ""
L20_1.condition = "condition_EVENT_ENTER_REGION_901002"
L20_1.action = ""
L20_1.trigger_count = 0
L21_1 = {}
L21_1.config_id = 1901003
L21_1.name = "ENTER_REGION_901003"
L22_1 = EventType
L22_1 = L22_1.EVENT_ENTER_REGION
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = "condition_EVENT_ENTER_REGION_901003"
L21_1.action = ""
L21_1.trigger_count = 0
L22_1 = {}
L22_1.config_id = 1901004
L22_1.name = "ENTER_REGION_901004"
L23_1 = EventType
L23_1 = L23_1.EVENT_ENTER_REGION
L22_1.event = L23_1
L22_1.source = ""
L22_1.condition = "condition_EVENT_ENTER_REGION_901004"
L22_1.action = ""
L22_1.trigger_count = 0
L23_1 = {}
L23_1.config_id = 1901005
L23_1.name = "ENTER_REGION_901005"
L24_1 = EventType
L24_1 = L24_1.EVENT_ENTER_REGION
L23_1.event = L24_1
L23_1.source = ""
L23_1.condition = "condition_EVENT_ENTER_REGION_901005"
L23_1.action = ""
L23_1.trigger_count = 0
L24_1 = {}
L24_1.config_id = 1901006
L24_1.name = "ENTER_REGION_901006"
L25_1 = EventType
L25_1 = L25_1.EVENT_ENTER_REGION
L24_1.event = L25_1
L24_1.source = ""
L24_1.condition = "condition_EVENT_ENTER_REGION_901006"
L24_1.action = ""
L24_1.trigger_count = 0
L25_1 = {}
L25_1.config_id = 1901007
L25_1.name = "ENTER_REGION_901007"
L26_1 = EventType
L26_1 = L26_1.EVENT_ENTER_REGION
L25_1.event = L26_1
L25_1.source = ""
L25_1.condition = "condition_EVENT_ENTER_REGION_901007"
L25_1.action = ""
L25_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
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
triggers = L2_1
L2_1 = {}
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = true
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 66
L6_1 = 67
L7_1 = 68
L8_1 = 69
L9_1 = 107
L10_1 = 185
L11_1 = 225
L12_1 = 226
L13_1 = 227
L14_1 = 316
L15_1 = 317
L16_1 = 318
L17_1 = 321
L18_1 = 331
L19_1 = 366
L20_1 = 373
L21_1 = 901001
L22_1 = 901002
L23_1 = 901003
L24_1 = 901004
L25_1 = 901005
L26_1 = 901006
L27_1 = 901007
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
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L4_1[20] = L24_1
L4_1[21] = L25_1
L4_1[22] = L26_1
L4_1[23] = L27_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_66"
L6_1 = "ENTER_REGION_67"
L7_1 = "ENTER_REGION_68"
L8_1 = "ENTER_REGION_69"
L9_1 = "ENTER_REGION_107"
L10_1 = "ENTER_REGION_185"
L11_1 = "ENTER_REGION_225"
L12_1 = "ENTER_REGION_226"
L13_1 = "ENTER_REGION_227"
L14_1 = "ENTER_REGION_316"
L15_1 = "ENTER_REGION_317"
L16_1 = "ENTER_REGION_318"
L17_1 = "ENTER_REGION_321"
L18_1 = "ENTER_REGION_331"
L19_1 = "ENTER_REGION_366"
L20_1 = "ENTER_REGION_373"
L21_1 = "ENTER_REGION_901001"
L22_1 = "ENTER_REGION_901002"
L23_1 = "ENTER_REGION_901003"
L24_1 = "ENTER_REGION_901004"
L25_1 = "ENTER_REGION_901005"
L26_1 = "ENTER_REGION_901006"
L27_1 = "ENTER_REGION_901007"
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
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L4_1[20] = L24_1
L4_1[21] = L25_1
L4_1[22] = L26_1
L4_1[23] = L27_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L2_1[1] = L3_1
suites = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 38301
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_1
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_66 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 30600
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_2
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_67 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 30700
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_3
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_68 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 30800
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_4
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_69 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 45202
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_5
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_107 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 46504
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_6
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_185 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 46506
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_7
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_225 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 46601
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_8
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_226 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 46603
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_9
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_227 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 45414
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_10
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_316 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 45408
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_11
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_317 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 45409
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_12
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_318 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 39701
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_13
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_321 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2000709
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_14
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_331 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2001709
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_15
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_366 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2001809
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_16
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_373 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2006106
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_17
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901001 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2006107
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_18
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901002 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2006108
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_19
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901003 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2006110
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_20
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901004 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2006102
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_21
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901005 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2006111
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_22
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901006 = 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.GetEntityType
L3_2 = A1_2.target_eid
L2_2 = L2_2(A0_2, L3_2)
L3_2 = EntityType
L3_2 = L3_2.AVATAR
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 2006306
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 == L3_2 then
L2_2 = A1_2.param1
L3_2 = L1_1.gadget_id_23
if L2_2 == L3_2 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901007 = L2_1