diff options
Diffstat (limited to 'npc/008-2-2/shop.txt')
-rw-r--r-- | npc/008-2-2/shop.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/npc/008-2-2/shop.txt b/npc/008-2-2/shop.txt new file mode 100644 index 00000000..b3e9b798 --- /dev/null +++ b/npc/008-2-2/shop.txt @@ -0,0 +1,39 @@ +// Evol scripts. +// Authors: +// 4144 +// jesusalva +// Reid +// toams +// Description: +// Inn hidden shop. + +008-2-2,40,30,0 trader #Invisible008-2-2 NPC_HIDDEN,{ + +OnInit: + tradertype(NST_MARKET); + + sellitem Beer, -1, 50; + sellitem Bread, -1, 50; + sellitem RedPlushWine, -1, 50; + sellitem Cheese, -1, 50; + sellitem CherryCake, -1, 50; + sellitem SmallHealing, -1, 50; + sellitem MaggotSlimePotion, -1, 50; + + .distance = 10; + end; + +// FIXME Note: "20" doesn't means "restock 20 units". +// It means "restock if less than 20 units are being sold". +// Is this behavior intended? Seems like a bug. +OnClock0000: +OnClock0800: +OnClock1600: + restoreshopitem Beer, 20; + restoreshopitem Bread, 20; + restoreshopitem RedPlushWine, 20; + restoreshopitem Cheese, 20; + restoreshopitem CherryCake, 20; + restoreshopitem SmallHealing, 20; + restoreshopitem MaggotSlimePotion, 50; +} |