// TMW2 scripts. // Author: // Saulc 003-1,108,110,0 trader Shop#bazar1 NPC_NO_SPRITE,{ OnInit: tradertype(NST_MARKET); sellitem RoundLeatherShield, -1, 2; sellitem Knife, -1, 5; sellitem TrainingAmmoBox, -1, rand(2,5); sellitem ArrowAmmoBox, -1, rand(2,4); sellitem Arrow, -1, 30000; sellitem TreasureMap, 600, 1; sellitem DesertHat, -1, 8; sellitem SilkRobe, -1, 1; sellitem CottonCloth, -1, 2; sellitem Bread, -1, 15; sellitem CroconutBox, rand(2800,2900), 6; sellitem EmptyBottle, -1, 3; // You can buy some empty bottles here, but they're scarse sellitem EmptyBox, -1, 4; .sex = G_OTHER; .distance = 3; end; OnClock0621: OnClock1210: OnClock1757: OnClock0001: restoreshopitem RoundLeatherShield, 2; restoreshopitem Knife, 5; restoreshopitem TrainingAmmoBox, rand(2,5); restoreshopitem ArrowAmmoBox, rand(2,4); restoreshopitem Arrow, rand(10000,30000); restoreshopitem TreasureMap, 600, 1; restoreshopitem DesertHat, 8; restoreshopitem SilkRobe, 1; restoreshopitem CottonCloth, 2; restoreshopitem Bread, 15; restoreshopitem CroconutBox, rand(2800,3050), 6; restoreshopitem EmptyBottle, 3; restoreshopitem EmptyBox, 4; end; // Pay your taxes! OnBuyItem: debugmes("Purchase confirmed"); PurchaseTaxes(); end; OnSellItem: debugmes("Sale confirmed"); SaleTaxes(); end; }