summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/itka.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/003-1/itka.txt b/npc/003-1/itka.txt
index 2a87bae45..e6ac006f9 100644
--- a/npc/003-1/itka.txt
+++ b/npc/003-1/itka.txt
@@ -27,12 +27,17 @@ OnInit:
setunitdata(.@npcId, UDT_HAIRCOLOR, 19);
// NOTE: To limit selling items must change trader type to NST_MARKET
- sellitem CherryCake, 200; // Unlimited cakes for 200 GP each
+ tradertype(NST_MARKET);
+ sellitem CherryCake, 200, 50; // 50 cakes for 200 GP each
.sex = G_FEMALE;
.distance = 5;
end;
+OnMinute16:
+ restoreshopitem CherryCake, 200, 50;
+ end;
+
// Pay your taxes!
OnBuyItem:
debugmes("Purchase confirmed");