# GIMUD - Graphical Interface Multi User Dungeon # iwan.npc: Datenbank für den Edelsteinhändler Iwan Name = "Iwan" Outfit = (128,0-112-88-113-0) Home = [33217,31833,7] Radius = 1 Behaviour = { ADDRESS,"hello$",! -> "Feel welcome %N." ADDRESS,"hi$",! -> * ADDRESS,! -> Idle BUSY,"hello$",! -> "I am busy here, %N. Wait.", Queue BUSY,"hi$",! -> * BUSY,! -> NOP VANISH,! -> "Bye, bye." "bye" -> "Bye, bye.", Idle "name" -> "I'm Iwan." "job" -> "I sell gems of all kind." "time" -> "It should be %T right now." "king" -> "I am sure even the king would appreciate my wares." "tibianus" -> * "army" -> "I know not much about the local army." "ferumbras" -> "I hope the academy is safe from his assaults." "excalibug" -> "I am sure you'd easily recognize it by the gems attached to it." "thais" -> "We supply Thais with gems found on this isle." "tibia" -> "I know only so little about our world. It's a pity." "carlin" -> "I never visited that city." "edron" -> "Our island is rich in precious stones." "news" -> "I haven't been told anything of interest lately." "rumors" -> * "offer" -> "I can offer you various gems, pearls or some wonderful jewels." "goods" -> * "do","you","sell" -> * "do","you","have" -> * "gem" -> "You can buy and sell small diamonds, small sapphires, small rubies, small emeralds, and small amethysts." "pearl" -> "There are white and black pearls you can buy or sell." "jewel" -> "Currently you can purchase gold converting rings, wedding rings, golden amulets, and ruby necklaces." "sabrehaven","talon" -> "The Edron Academy is very interested in them, however the King doesn't want to invest that many money!" "wedding","ring" -> Type=3004, Amount=1, Price=990, "Do you want to buy a wedding ring for %P gold?", Topic=1 "golden","amulet" -> Type=3013, Amount=1, Price=6600, "Do you want to buy a golden amulet for %P gold?", Topic=1 "ruby","necklace" -> Type=3016, Amount=1, Price=3560, "Do you want to buy a ruby necklace for %P gold?", Topic=1 "white","pearl" -> Type=3026, Amount=1, Price=320, "Do you want to buy a white pearl for %P gold?", Topic=1 "black","pearl" -> Type=3027, Amount=1, Price=560, "Do you want to buy a black pearl for %P gold?", Topic=1 "small","diamond" -> Type=3028, Amount=1, Price=600, "Do you want to buy a small diamond for %P gold?", Topic=1 "small","sapphire" -> Type=3029, Amount=1, Price=500, "Do you want to buy a small sapphire for %P gold?", Topic=1 "small","ruby" -> Type=3030, Amount=1, Price=500, "Do you want to buy a small ruby for %P gold?", Topic=1 "small","emerald" -> Type=3032, Amount=1, Price=500, "Do you want to buy a small emerald for %P gold?", Topic=1 "small","amethyst" -> Type=3033, Amount=1, Price=400, "Do you want to buy a small amethyst for %P gold?", Topic=1 "crystal","ring" -> Type=3007, Amount=1, Price=250, "Do you want to buy a crystal ring to convert gold for %P gold?", Topic=1 "gold","convert" -> * %1,1<%1,"wedding","ring" -> Type=3004, Amount=%1, Price=990*%1, "Do you want to buy %A wedding rings for %P gold?", Topic=1 %1,1<%1,"golden","amulet" -> Type=3013, Amount=%1, Price=6600*%1, "Do you want to buy %A golden amulets for %P gold?", Topic=1 %1,1<%1,"ruby","necklace" -> Type=3016, Amount=%1, Price=3560*%1, "Do you want to buy %A ruby necklaces for %P gold?", Topic=1 %1,1<%1,"white","pearl" -> Type=3026, Amount=%1, Price=320*%1, "Do you want to buy %A white pearls for %P gold?", Topic=1 %1,1<%1,"black","pearl" -> Type=3027, Amount=%1, Price=560*%1, "Do you want to buy %A black pearls for %P gold?", Topic=1 %1,1<%1,"small","diamond" -> Type=3028, Amount=%1, Price=600*%1, "Do you want to buy %A small diamonds for %P gold?", Topic=1 %1,1<%1,"small","sapphire" -> Type=3029, Amount=%1, Price=500*%1, "Do you want to buy %A small sapphires for %P gold?", Topic=1 %1,1<%1,"small","rub" -> Type=3030, Amount=%1, Price=500*%1, "Do you want to buy %A small rubies for %P gold?", Topic=1 %1,1<%1,"small","emerald" -> Type=3032, Amount=%1, Price=500*%1, "Do you want to buy %A small emeralds for %P gold?", Topic=1 %1,1<%1,"small","amethyst" -> Type=3033, Amount=%1, Price=400*%1, "Do you want to buy %A small amethysts for %P gold?", Topic=1 %1,1<%1,"crystal","ring" -> Type=3007, Amount=%1, Price=250*%1, "Do you want to buy %A crystal rings to convert gold for %P gold?", Topic=1 %1,1<%1,"gold","convert" -> * "sell","white","pearl" -> Type=3026, Amount=1, Price=160, "Do you want to sell a white pearl for %P gold?", Topic=2 "sell","black","pearl" -> Type=3027, Amount=1, Price=280, "Do you want to sell a black pearl for %P gold?", Topic=2 "sell","small","diamond" -> Type=3028, Amount=1, Price=300, "Do you want to sell a small diamond for %P gold?", Topic=2 "sell","small","sapphire" -> Type=3029, Amount=1, Price=250, "Do you want to sell a small sapphire for %P gold?", Topic=2 "sell","small","ruby" -> Type=3030, Amount=1, Price=250, "Do you want to sell a small ruby for %P gold?", Topic=2 "sell","small","emerald" -> Type=3032, Amount=1, Price=250, "Do you want to sell a small emerald for %P gold?", Topic=2 "sell","small","amethyst" -> Type=3033, Amount=1, Price=200, "Do you want to sell a small amethyst for %P gold?", Topic=2 "sell",%1,1<%1,"white","pearl" -> Type=3026, Amount=%1, Price=160*%1, "Do you want to sell %A white pearls for %P gold?", Topic=2 "sell",%1,1<%1,"black","pearl" -> Type=3027, Amount=%1, Price=280*%1, "Do you want to sell %A black pearls for %P gold?", Topic=2 "sell",%1,1<%1,"small","diamond" -> Type=3028, Amount=%1, Price=300*%1, "Do you want to sell %A small diamonds for %P gold?", Topic=2 "sell",%1,1<%1,"small","sapphire" -> Type=3029, Amount=%1, Price=250*%1, "Do you want to sell %A small sapphires for %P gold?", Topic=2 "sell",%1,1<%1,"small","rub" -> Type=3030, Amount=%1, Price=250*%1, "Do you want to sell %A small rubies for %P gold?", Topic=2 "sell",%1,1<%1,"small","emerald" -> Type=3032, Amount=%1, Price=250*%1, "Do you want to sell %A small emeralds for %P gold?", Topic=2 "sell",%1,1<%1,"small","amethyst" -> Type=3033, Amount=%1, Price=200*%1, "Do you want to sell %A small amethysts for %P gold?", Topic=2 Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Come back, when you have enough money." Topic=1 -> "Hmm, but next time." Topic=2,"yes",Count(Type)>=Amount -> "Ok. Here is your money.", Delete(Type), CreateMoney Topic=2,"yes" -> "Sorry, you do not have one." Topic=2,"yes",Amount>1 -> "Sorry, you do not have so much." Topic=2 -> "Maybe next time." }