summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/017-1/pet_detective.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt
index 155dc33f9..ba0b12693 100644
--- a/npc/017-1/pet_detective.txt
+++ b/npc/017-1/pet_detective.txt
@@ -6,8 +6,19 @@
// Sell pets (LoFQuest_Pets) (mesn Ace Ventura)
017-1,192,23,0 script Pet Detective NPC_PET_TAMER,{
+ // Not registered
.@q=getq(LoFQuest_Pets);
- if (.@q) goto L_Menu;
+ if (!.@q)
+ goto L_Register;
+
+ // Out Of Stock
+ if (!.stock)
+ goto L_OutOfStock;
+
+ // Normal
+ goto L_Menu;
+
+L_Register:
mesn l("Ace Ventura");
mesq l("I investigate missing pets. Many flee from their owners because they die pathetically or forgot to feed them.");
next;
@@ -43,8 +54,6 @@
close;
L_Menu:
- if (!.stock)
- goto L_OutOfStock;
mesn l("Ace Ventura");
mesq l("I currently have some pets with me. For most, you need to finish their Grand Hunter Quest, of course.");
mes "";