From 39e35ee65f2f635b50ff7ef7055cb4cfb98adb86 Mon Sep 17 00:00:00 2001 From: Reid Yaro Date: Sun, 3 Feb 2013 19:22:05 +0000 Subject: Add a missing if on arpan script. --- npc/000-2-1/arpan.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'npc') diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt index c235a139..1d70f71e 100644 --- a/npc/000-2-1/arpan.txt +++ b/npc/000-2-1/arpan.txt @@ -35,9 +35,12 @@ set @q, getq(ShipQuests_Arpan); if (@q > 2) close; if (@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto l_EquipDone; + if (@q == 2) goto l_Equip; if (@q == 1) goto l_GetCloth; doevent "Magic Arpan::OnClothNotTaken"; + +l_Equip: warp "000-2-1.gat", 49, 32; doevent "Magic Arpan::OnEquip"; @@ -60,14 +63,20 @@ l_EquipDone: set @q, getq(ShipQuests_Arpan); if (@q > 2) close; if (@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto l_EquipDone; + if (@q == 2) goto l_Equip; if (@q == 1) goto l_GetCloth; doevent "Magic Arpan::OnClothNotTaken"; + +l_Equip: warp "000-2-1.gat", 55, 32; doevent "Magic Arpan::OnEquip"; close; +l_Testtesttest: + mes "test"; + l_GetCloth: warp "000-2-1.gat", 55, 32; doevent "Magic Arpan::OnClothNotTaken"; -- cgit v1.2.3-70-g09d2