mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-17 07:43:27 +02:00
finish npcs
This commit is contained in:
50
data/npc/tristan.npc
Normal file
50
data/npc/tristan.npc
Normal file
@@ -0,0 +1,50 @@
|
||||
# GIMUD - Graphical Interface Multi User Dungeon
|
||||
|
||||
Name = "Tristan"
|
||||
Outfit = (131,79-11-28-20-1)
|
||||
Home = [32390,32829,2]
|
||||
Radius = 5
|
||||
|
||||
Behaviour = {
|
||||
ADDRESS,"hello$",! -> "Greetings, %N."
|
||||
ADDRESS,"hi$",! -> *
|
||||
ADDRESS,! -> Idle
|
||||
|
||||
BUSY,"hello$",! -> "Wait %N, know that I am busy.", Queue
|
||||
BUSY,"hi$",! -> *
|
||||
BUSY,! -> NOP
|
||||
VANISH,! -> "May enlightenment be your path."
|
||||
|
||||
"bye" -> "May enlightenment be your path.", Idle
|
||||
"farewell" -> *
|
||||
|
||||
Knight,"spell" -> "I can teach you healing spells and support spells. What kind of spell do you wish to learn? You can also tell me for which level you would like to learn a spell, if you prefer that.", Topic=2
|
||||
"spell" -> "Sorry, I only sell spells to knights."
|
||||
|
||||
Knight,"instant","spell" -> "I can teach you healing spells and support spells. What kind of spell do you wish to learn?"
|
||||
Knight,"healing","spell" -> "In this category I have 'Light Healing' and 'Antidote'."
|
||||
Knight,"support","spell" -> "In this category I have 'Light', 'Find Person' and 'Great Light'."
|
||||
|
||||
Topic=2,"healing","spell" -> "In this category I have 'Light Healing' and 'Antidote'."
|
||||
Topic=2,"support","spell" -> "In this category I have 'Light', 'Find Person' and 'Great Light'."
|
||||
Topic=2,"bye" -> "May enlightenment be your path.", Idle
|
||||
|
||||
Topic=2,"8$" -> "For level 8 I have 'Find Person' and 'Light'.", Topic=2
|
||||
Topic=2,"9$" -> "For level 9 I have 'Light Healing'.", Topic=2
|
||||
Topic=2,"10$" -> "For level 10 I have 'Antidote'.", Topic=2
|
||||
Topic=2,"13$" -> "For level 13 I have 'Great Light'.", Topic=2
|
||||
Topic=2 -> "Sorry, I have only spells for level 8, 9, 10 and 13.", Topic=2
|
||||
|
||||
Knight,"find","person" -> String="Find Person", Price=80, "Do you want to buy the spell 'Find Person' for %P gold?", Topic=3
|
||||
Knight,"light" -> String="Light", Price=100, "Do you want to buy the spell 'Light' for %P gold?", Topic=3
|
||||
Knight,"light","healing" -> String="Light Healing", Price=170, "Do you want to buy the spell 'Light Healing' for %P gold?", Topic=3
|
||||
Knight,"antidote" -> String="Antidote", Price=150, "Do you want to buy the spell 'Antidote' for %P gold?", Topic=3
|
||||
Knight,"great","light" -> String="Great Light", Price=500, "Do you want to buy the spell 'Great Light' for %P gold?", Topic=3
|
||||
|
||||
Topic=3,"yes",SpellKnown(String)=1 -> "You already know how to cast this spell."
|
||||
Topic=3,"yes",Level<SpellLevel(String) -> Amount=SpellLevel(String), "You have to be level %A to learn this spell."
|
||||
Topic=3,"yes",CountMoney<Price -> "Return when you have enough gold."
|
||||
Topic=3,"yes" -> "Here you are. Look in your spellbook for the pronunciation of this spell.", DeleteMoney, EffectOpp(13), TeachSpell(String)
|
||||
Topic=3 -> "Maybe next time."
|
||||
|
||||
}
|
Reference in New Issue
Block a user