# GIMUD - Graphical Interface Multi User Dungeon
# quentin.npc: Datenbank für den Mönch Quentin

Name = "Quentin"
Outfit = (57,0-0-0-0-0)
Home = [32369,32239,7]
Radius = 4

Behaviour = {
ADDRESS,"hello$",!      -> "Welcome, adventurer %N! If you are new in Tibia, ask me for help."
ADDRESS,"hi$",!         -> *
ADDRESS,!               -> Idle
BUSY,"hello$",!         -> "Please wait a minute, %N.", Queue
BUSY,"hi$",!            -> *
BUSY,"heal$",Burning>0 -> "You are burning, %N. I will help you.", Burning(0,0), EffectOpp(15)
BUSY,"heal$",Poison>0  -> "You are poisoned, %N. I will help you.", Poison(0,0), EffectOpp(14)
BUSY,"heal$",HP<40     -> "You are looking really bad, %N. Let me heal your wounds.", HP=40, EffectOpp(13)
BUSY,"heal$"           -> "You aren't looking that bad, %N. Sorry, I can't help you."
BUSY,!                  -> NOP
VANISH,!                -> "Remember: If you are heavily wounded or poisoned, I will heal you."

"bye"            -> "Good bye, %N!", Idle
"farewell"       -> *
"job"            -> "Job? I have no job. I just live for the gods of Tibia."
"name"           -> "My name is Quentin."
"tibia"          -> "That is where we are. The world of Tibia. Admire it's beauty."
"god"            -> "They created Tibia and all life on it."
"life"           -> "On Tibia there are many forms of life. There are plants and people and monsters."
"plant"          -> "Just walk around, you will see grass, trees, and bushes."
"people"        -> "I am a simple monk. I just know Sam, Frodo, and Gorn. They all live in the main street to the north."
"sam"            -> "He is our blacksmith. He sells weapons and armour."
"frodo"          -> "He is the owner of Frodo's Hut, the tavern north of this temple."
"gorn"           -> "He is selling equipment. If you still have no backpack you should go and ask him for one."
"elane"          -> "She is the leader of the local Paladins' guild."
"muriel"         -> "Muriel is a famous sorcerer. She is the keeper of arcane secrets that are known only to few mortals."
"gregor"         -> "The leader of the Knights' guild is a man of few words."
"marvik"         -> "I admire the healing skills of Marvik."
"king"           -> "Our king resides in the castle to the west."
"tibianus"       -> *
"lynda"          -> "She is a highly competent priest."
"harkath"        -> "A hard man but his heart is in the right right place." 
"army"           -> "I don't know much about the Tibian army. Ask general Harkath Bloodblade about that."
"ferumbras"      -> "Hush! Do not mention the Evil One in these walls."
"general"        -> "Harkath Bloodblade is his name." 
"bozo"           -> "He is the king's jester, but he believes himself to be the king of fools."
"baxter"         -> "He is the guard of the royal castle." 
"oswald"         -> "This man is spreading horrible rumours all the time."
"sherry"         -> "The McRonalds run the local farm." 
"mcronald"       -> * 
"donald"         -> *
"lugri"          -> "Please do not mention the fallen one."
"excalibug"      -> "Legends tell us that that Excalibug is a gift of the gods. Banor used in his battles.  They say it was passed on to one of his followers."
"news"           -> "Sorry, I know nothing new. Please ask Frodo about that topic."
"monster"        -> "There are really too many of them in Tibia. But who am I to challenge the wisdom of the gods?"
"help"           -> "First you should try to get some gold to buy better equipment."
"quest"          -> *
"task"           -> *
"what","do"      -> *
"gold"           -> "If you need money you should slay monsters and take their gold. Look for spiders and rats."
"money"          -> *
"spider"         -> "There are spiders' nests beyond our city near Gorn's shop and at the McRonalds' farm in the east."
"rat"            -> "There are sewers underneath the city. They say these sewers are brimming with rats."
"sewer"          -> "You can enter the sewers thorugh a sewer grate. But watch out. There are many rats. And don't forget to bring a torch."
"equipment"      -> "First you should buy a bag or backpack. That way your hands will be free to hold a weapon and a shield."
"fight"          -> "Take a weapon into your hand and select a target. If you are wounded you should eat some food to heal your wounds."
"slay"           -> "Take a weapon into your hand and select a target. If you are wounded you should eat some food to heal your wounds."
"eat"            -> "If you would like to heal your wounds you should eat some food. Frodo sells excellent meals. But if you are very weak you can also come to me. I will heal you."
"food"           -> *
"heal$",Burning>0 -> "You are burning. I will help you.", Burning(0,0), EffectOpp(15)
"heal$",Poison>0  -> "You are poisoned. I will help you.", Poison(0,0), EffectOpp(14)
"heal$",HP<40     -> "You are looking really bad. Let me heal your wounds.", HP=40, EffectOpp(13)

"heal$",PvPEnforced -> "You aren't looking that bad."
"heal$"               -> "You aren't looking that bad. Sorry, I can't help you. But if you are looking for additional protection you should go on the pilgrimage of ashes."

"blessing",PvPEnforced,!  -> "The lifeforce of this world is waning. There are no more blessings avaliable on this world."
"pilgrimage",PvPEnforced,! -> *
"ashes",PvPEnforced,! -> *

"spiritual",PvPEnforced,! -> *
"shielding",PvPEnforced,! -> *
"sacred","places",PvPEnforced,! -> *
"spark",PvPEnforced,! -> *
"phoenix",PvPEnforced,! -> *
"embrace",PvPEnforced,! -> *
"fire",PvPEnforced,! -> *
"suns",PvPEnforced,! -> *
"wisdom",PvPEnforced,! -> *
"solitude",PvPEnforced,! -> *

"pilgrimage"     -> "Whenever you receive a lethal wound your lifeforce is damaged. With every single of the five blessings you have this damage will be reduced."
"ashes"          -> *

"blessing"  -> "There are five different blessings available in five sacred places. These blessings are: the spiritual shielding, the spark of the phoenix, the embrace of tibia, the fire of the suns and the wisdom of solitude." 
"sacred","places"  -> "Just ask in which of the five blessings you are interested in."

"spiritual", QuestValue(104) > 0 -> "I see you received the spiritual shielding in the whiteflower temple south of Thais."
"shielding", QuestValue(104) > 0 -> *
"spiritual" -> "You can receive the spiritual shielding in the whiteflower temple south of Thais."
"shielding" -> *

"spark", QuestValue(102) > 0 -> "I an sense that the spark of the phoenix already was given to you by the dwarven priests of earth and fire in Kazordoon."
"phoenix", QuestValue(102) > 0 -> *
"spark" -> "The spark of the phoenix is given by the dwarven priests of earth and fire in Kazordoon."
"phoenix" -> *

"embrace", QuestValue(105) > 0 -> "I can sense the druids north of Carlin provided you with the embrace of tibia."
"embrace" -> "The druids north of Carlin can provide you with the embrace of tibia."

"fire","suns", QuestValue(103) > 0     -> "I can see you recieved the blessing of the two suns in the suntower near Ab'Dendriel ."
"suns", QuestValue(103) > 0  -> *
"fire","suns"     -> "Ask for the blessing of the two suns in the suntower near Ab'Dendriel ."
"suns"  -> *


"wisdom", QuestValue(101) > 0 -> "I can sense you already talked to the hermit Eremo on the isle of Cormaya and recieved this blessing." 
"solitude", QuestValue(101) > 0 -> *
"wisdom" -> "Talk to the hermit Eremo on the isle of Cormaya about this blessing." 
"solitude" -> *


"time"           -> "Now, it is %T. Ask Gorn for a watch, if you need one."

"stake",QuestValue(17576)=0 -> "A blessed stake to defeat evil spirits? I do know an old prayer which is said to grant sacred power and to be able to bind this power to someone, or something. ...",
							"However, this prayer needs the combined energy of ten priests. Each of them has to say one line of the prayer. ...",
							"I could start with the prayer, but since the next priest has to be in a different location, you probably will have to travel a lot. ...",
							"Is this stake really important enough to you so that you are willing to take this burden?", Topic=1
Topic=1,"yes" -> "Alright, I guess you need a stake first. Maybe Gamon can help you, the leg of a chair or something could just do. Try asking him for a stake, and if you have one, bring it back to me.", SetQuestValue(17576,1)
Topic=1 -> "Fine. You are free to decline my offer."

"stake",QuestValue(17576)=1,Count(5941)<=0 -> "I guess you couldn't convince Gamon to give you a stake, eh?"
"stake",QuestValue(17576)=1 -> Type=5941, Amount=1, "Ah, I see you brought a stake with you. Are you ready to receive my line of the prayer then?", Topic=2
Topic=2,"yes",Count(Type)>=Amount -> "So receive my prayer: 'Light shall be near - and darkness afar'. Now, bring your stake to Tibra in the Carlin church for the next line of the prayer. I will inform her what to do.", SetQuestValue(17576,2)
Topic=2,"yes" -> "Where did you lost that stake?"
Topic=2 -> "I will wait for you."
"stake",QuestValue(17576)=2 -> "You should visit Tibra in the Carlin church now."
"stake",QuestValue(17576)>2 -> "You already received my line of the prayer."

}
