Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133007901.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

1052 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
L0_1 = {}
L0_1.group_id = 133007901
L1_1 = {}
L1_1.gadget_id_1 = 19
L1_1.gadget_id_2 = 20
L1_1.gadget_id_3 = 21
L1_1.gadget_id_4 = 33
L1_1.gadget_id_5 = 97
L1_1.gadget_id_6 = 98
L1_1.gadget_id_7 = 99
L1_1.gadget_id_8 = 118
L1_1.gadget_id_9 = 119
L1_1.gadget_id_10 = 120
L1_1.gadget_id_11 = 178
L1_1.gadget_id_12 = 257
L1_1.gadget_id_13 = 258
L1_1.gadget_id_14 = 259
L1_1.gadget_id_15 = 333
L1_1.gadget_id_16 = 334
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 19
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 8
L4_1 = {}
L4_1.x = 2560.467
L4_1.y = 225.819
L4_1.z = 99.988
L3_1.pos = L4_1
L3_1.area_id = 4
L4_1 = {}
L4_1.config_id = 20
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 6
L5_1 = {}
L5_1.x = 2649.09
L5_1.y = 262.063
L5_1.z = 175.898
L4_1.pos = L5_1
L4_1.area_id = 4
L5_1 = {}
L5_1.config_id = 21
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 7
L6_1 = {}
L6_1.x = 2410.899
L6_1.y = 225.443
L6_1.z = 47.653
L5_1.pos = L6_1
L5_1.area_id = 4
L6_1 = {}
L6_1.config_id = 33
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 20
L7_1 = {}
L7_1.x = 2366.511
L7_1.y = 221.341
L7_1.z = -60.302
L6_1.pos = L7_1
L6_1.area_id = 4
L7_1 = {}
L7_1.config_id = 97
L8_1 = RegionShape
L8_1 = L8_1.SPHERE
L7_1.shape = L8_1
L7_1.radius = 60
L8_1 = {}
L8_1.x = 2742.287
L8_1.y = 212.253
L8_1.z = -95.627
L7_1.pos = L8_1
L7_1.area_id = 4
L8_1 = {}
L8_1.config_id = 98
L9_1 = RegionShape
L9_1 = L9_1.SPHERE
L8_1.shape = L9_1
L8_1.radius = 60
L9_1 = {}
L9_1.x = 2860.601
L9_1.y = 213.624
L9_1.z = 290.523
L8_1.pos = L9_1
L8_1.area_id = 4
L9_1 = {}
L9_1.config_id = 99
L10_1 = RegionShape
L10_1 = L10_1.SPHERE
L9_1.shape = L10_1
L9_1.radius = 60
L10_1 = {}
L10_1.x = 2566.583
L10_1.y = 208.183
L10_1.z = 313.151
L9_1.pos = L10_1
L9_1.area_id = 4
L10_1 = {}
L10_1.config_id = 118
L11_1 = RegionShape
L11_1 = L11_1.SPHERE
L10_1.shape = L11_1
L10_1.radius = 8
L11_1 = {}
L11_1.x = 2741.9
L11_1.y = 212.5
L11_1.z = -94.8
L10_1.pos = L11_1
L10_1.area_id = 4
L11_1 = {}
L11_1.config_id = 119
L12_1 = RegionShape
L12_1 = L12_1.SPHERE
L11_1.shape = L12_1
L11_1.radius = 6
L12_1 = {}
L12_1.x = 2857.8
L12_1.y = 213.6
L12_1.z = 291.0
L11_1.pos = L12_1
L11_1.area_id = 4
L12_1 = {}
L12_1.config_id = 120
L13_1 = RegionShape
L13_1 = L13_1.SPHERE
L12_1.shape = L13_1
L12_1.radius = 6
L13_1 = {}
L13_1.x = 2566.5
L13_1.y = 208.4
L13_1.z = 311.2
L12_1.pos = L13_1
L12_1.area_id = 4
L13_1 = {}
L13_1.config_id = 178
L14_1 = RegionShape
L14_1 = L14_1.SPHERE
L13_1.shape = L14_1
L13_1.radius = 18
L14_1 = {}
L14_1.x = 2652.098
L14_1.y = 303.501
L14_1.z = 132.649
L13_1.pos = L14_1
L13_1.area_id = 4
L14_1 = {}
L14_1.config_id = 257
L15_1 = RegionShape
L15_1 = L15_1.SPHERE
L14_1.shape = L15_1
L14_1.radius = 5
L15_1 = {}
L15_1.x = 2727.026
L15_1.y = 252.48
L15_1.z = 179.224
L14_1.pos = L15_1
L14_1.area_id = 4
L15_1 = {}
L15_1.config_id = 258
L16_1 = RegionShape
L16_1 = L16_1.SPHERE
L15_1.shape = L16_1
L15_1.radius = 5
L16_1 = {}
L16_1.x = 2661.63
L16_1.y = 282.543
L16_1.z = 111.673
L15_1.pos = L16_1
L15_1.area_id = 4
L16_1 = {}
L16_1.config_id = 259
L17_1 = RegionShape
L17_1 = L17_1.SPHERE
L16_1.shape = L17_1
L16_1.radius = 10
L17_1 = {}
L17_1.x = 2698.066
L17_1.y = 240.693
L17_1.z = 43.881
L16_1.pos = L17_1
L16_1.area_id = 4
L17_1 = {}
L17_1.config_id = 333
L18_1 = RegionShape
L18_1 = L18_1.SPHERE
L17_1.shape = L18_1
L17_1.radius = 40
L18_1 = {}
L18_1.x = 2805.422
L18_1.y = 207.198
L18_1.z = -8.436
L17_1.pos = L18_1
L17_1.area_id = 4
L18_1 = {}
L18_1.config_id = 334
L19_1 = RegionShape
L19_1 = L19_1.SPHERE
L18_1.shape = L19_1
L18_1.radius = 3
L19_1 = {}
L19_1.x = 2767.495
L19_1.y = 207.062
L19_1.z = 73.822
L18_1.pos = L19_1
L18_1.area_id = 4
L19_1 = {}
L19_1.config_id = 901001
L20_1 = RegionShape
L20_1 = L20_1.SPHERE
L19_1.shape = L20_1
L19_1.radius = 6
L20_1 = {}
L20_1.x = 2659.509
L20_1.y = 266.157
L20_1.z = 121.285
L19_1.pos = L20_1
L19_1.area_id = 4
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
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1000019
L3_1.name = "ENTER_REGION_19"
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_19"
L3_1.action = ""
L3_1.trigger_count = 0
L3_1.tlog_tag = "\233\163\142\233\190\153_901_\228\184\187\231\186\191_\229\159\142\233\151\168"
L4_1 = {}
L4_1.config_id = 1000020
L4_1.name = "ENTER_REGION_20"
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_20"
L4_1.action = ""
L4_1.trigger_count = 0
L4_1.tlog_tag = "\233\163\142\233\190\153_901_\228\184\187\231\186\191_\229\161\148\229\137\141"
L5_1 = {}
L5_1.config_id = 1000021
L5_1.name = "ENTER_REGION_21"
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_21"
L5_1.action = ""
L5_1.trigger_count = 0
L5_1.tlog_tag = "\233\163\142\233\190\153_901_\228\184\187\231\186\191_\230\161\165\229\164\180"
L6_1 = {}
L6_1.config_id = 1000033
L6_1.name = "ENTER_REGION_33"
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_33"
L6_1.action = ""
L6_1.trigger_count = 0
L6_1.tlog_tag = "\233\163\142\233\190\153_901_\228\184\187\231\186\191_\229\183\162\231\169\180\229\133\165\229\143\163"
L7_1 = {}
L7_1.config_id = 1000097
L7_1.name = "ENTER_REGION_97"
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_97"
L7_1.action = ""
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1000098
L8_1.name = "ENTER_REGION_98"
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_98"
L8_1.action = ""
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1000099
L9_1.name = "ENTER_REGION_99"
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_99"
L9_1.action = ""
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1000118
L10_1.name = "ENTER_REGION_118"
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_118"
L10_1.action = ""
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1000119
L11_1.name = "ENTER_REGION_119"
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_119"
L11_1.action = ""
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1000120
L12_1.name = "ENTER_REGION_120"
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_120"
L12_1.action = ""
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1000178
L13_1.name = "ENTER_REGION_178"
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_178"
L13_1.action = ""
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1000257
L14_1.name = "ENTER_REGION_257"
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_257"
L14_1.action = ""
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1000258
L15_1.name = "ENTER_REGION_258"
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_258"
L15_1.action = ""
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1000259
L16_1.name = "ENTER_REGION_259"
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_259"
L16_1.action = ""
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1000333
L17_1.name = "ENTER_REGION_333"
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_333"
L17_1.action = ""
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1000334
L18_1.name = "ENTER_REGION_334"
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_334"
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
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
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 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 19
L6_1 = 20
L7_1 = 21
L8_1 = 33
L9_1 = 97
L10_1 = 98
L11_1 = 99
L12_1 = 118
L13_1 = 119
L14_1 = 120
L15_1 = 178
L16_1 = 257
L17_1 = 258
L18_1 = 259
L19_1 = 333
L20_1 = 334
L21_1 = 901001
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
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_19"
L6_1 = "ENTER_REGION_20"
L7_1 = "ENTER_REGION_21"
L8_1 = "ENTER_REGION_33"
L9_1 = "ENTER_REGION_97"
L10_1 = "ENTER_REGION_98"
L11_1 = "ENTER_REGION_99"
L12_1 = "ENTER_REGION_118"
L13_1 = "ENTER_REGION_119"
L14_1 = "ENTER_REGION_120"
L15_1 = "ENTER_REGION_178"
L16_1 = "ENTER_REGION_257"
L17_1 = "ENTER_REGION_258"
L18_1 = "ENTER_REGION_259"
L19_1 = "ENTER_REGION_333"
L20_1 = "ENTER_REGION_334"
L21_1 = "ENTER_REGION_901001"
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
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 = 38902
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_19 = 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 = 38904
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_20 = 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 = 38901
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_21 = 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 = 38806
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_33 = 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 = 39001
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_97 = 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 = 39101
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_98 = 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 = 39201
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_99 = 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 = 39002
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_118 = 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 = 39102
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_119 = 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 = 39202
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_120 = 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 = 38905
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 = ScriptLib
L2_2 = L2_2.GetQuestState
L3_2 = A0_2
L4_2 = A1_2.target_eid
L5_2 = 39302
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = QuestState
L3_2 = L3_2.UNFINISHED
if L2_2 ~= L3_2 then
goto lbl_35
end
end
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
::lbl_35::
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_178 = 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 = 38907
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_257 = 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 = 38908
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_258 = 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 = 38909
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_259 = 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 = 2001509
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_333 = 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 = 2001508
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_334 = 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 = 38910
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
if L2_2 == 901001 then
L2_2 = true
return L2_2
end
end
end
L2_2 = false
return L2_2
end
condition_EVENT_ENTER_REGION_901001 = L2_1