From 49dac61eb3fa2090a9e21c2ed304fffdf6719351 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 4 Sep 2018 11:04:12 -0300 Subject: Sell wands (not really caring for price. Beware, weekly restock!) --- npc/017-1/shops.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'npc/017-1') diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt index acf8ce7e2..8d8e5c017 100644 --- a/npc/017-1/shops.txt +++ b/npc/017-1/shops.txt @@ -32,3 +32,35 @@ OnClock0112: end; } + +// Anagram for 'Demure'. +// Sells wands (therefore, not demure, who plays speed-melee, unless she have a secret shop quest) +017-1,135,185,0 script Drueme NPC_F_SHOPKEEPER,{ + shop .name$; + close; + +OnInit: + .@npcId = getnpcid(0, .name$); + setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); + setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail)); + setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); + setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins); // Boots + setunitdata(.@npcId, UDT_HAIRSTYLE, 10); + setunitdata(.@npcId, UDT_HAIRCOLOR, 9); + + .sex = G_FEMALE; + .distance = 4; + tradertype(NST_MARKET); + + sellitem TrainingWand, -1, 3; + sellitem NoviceWand, -1, 2; + sellitem ApprenticeWand, -1, 1; + end; + +OnSun0346: + restoreshopitem TrainingWand, -1, 3; + restoreshopitem NoviceWand, -1, 2; + restoreshopitem ApprenticeWand, -1, 1; + end; + +} -- cgit v1.2.3-70-g09d2