// Evol scripts. // Author: // Micksha (mifritscher gave him some food ;-) ) // Description: // Neko, the Trader in Legion area in Tulimshar. // THIS IS A PLACEHOLDER! 020-1,278,99,0 script Neko NPC_DESERT_HAT_MAN,{ if (shopcount(Blueberries) <= 0 && shopcount(BottleOfWater) <= 0 && shopcount(Tentacles) <= 0 && shopcount(CommonCarp) <= 0 && shopcount(Aquada) <= 0 && shopcount(Curshroom) <= 0) { speech l("Hi there."), l("Sorry, we are sold out for today."), l("Come back later."); } else { speech l("Hi there."), l("We got new supplies of food and drinks!"); next; closeclientdialog; shop .name$; } close; OnInit: .distance = 4; tradertype(NST_MARKET); // Blueberries are still placeholders // sellitem Blueberries, -1, 2000+rand2(500); sellitem BottleOfWater, -1, 200+rand2(50); sellitem CommonCarp, -1, 400+rand2(50); sellitem Tentacles, -1, 1000+rand2(100); sellitem Aquada, -1, 800+rand2(200); sellitem Curshroom, -1, 1500+rand2(400); end; OnClock0002: // restoreshopitem Blueberries, 2000+rand2(500); restoreshopitem BottleOfWater, 200+rand2(50); restoreshopitem CommonCarp, 400+rand2(50); restoreshopitem Tentacles, 1000+rand2(100); restoreshopitem Aquada, 800+rand2(200); restoreshopitem Curshroom, 1500+rand2(400); end; }