summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/petsales.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/petsales.txt b/npc/functions/petsales.txt
index 68dc46d24..e1bf41d08 100644
--- a/npc/functions/petsales.txt
+++ b/npc/functions/petsales.txt
@@ -13,7 +13,7 @@ function script PDQ_InnerSwitch {
.@price=.@val**(PETMEMO[GHQ_GetQuestIDByMonsterID(.@mid)]+1);
mesn;
- mesq l("That'll cost you @@ @@.", .@price, getitemlink(.@iid));
+ mesq l("That'll cost you @@/@@ @@.", countitem(.@iid), .@price, getitemlink(.@iid));
next;
if (askyesno() == ASK_YES) {
if (countitem(.@iid) >= .@price) {
@@ -24,6 +24,9 @@ function script PDQ_InnerSwitch {
mesn;
mesq l("There you go!");
return 1;
+ } else {
+ mesn;
+ mesq l("You don't have that, lying is bad for health...");
}
}
return 0;