First commit
This commit is contained in:
		
							
								
								
									
										38
									
								
								app/SabrehavenServer/data/npc/gen-t-distance-s.ndb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								app/SabrehavenServer/data/npc/gen-t-distance-s.ndb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
# GIMUD - Graphical Interface Multi User Dungeon
 | 
			
		||||
# gen-t-distance-s.ndb: Datenbank f<>r generischen Fernwaffenverkauf
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
"buy"             -> "I am selling bows, crossbows, and ammunition. Do you need anything?"
 | 
			
		||||
"do","you","sell" -> *
 | 
			
		||||
"do","you","have" -> *
 | 
			
		||||
"offer"           -> *
 | 
			
		||||
"goods"           -> *
 | 
			
		||||
"ammo"            -> "Do you need arrows for a bow, or bolts for a crossbow?"
 | 
			
		||||
"ammunition"      -> *
 | 
			
		||||
 | 
			
		||||
"sell","bow"      -> "I don't buy used bows."
 | 
			
		||||
"sell","crossbow" -> "I don't buy used crossbows."
 | 
			
		||||
 | 
			
		||||
"bow"             -> Type=3350, Amount=1,  Price=400,  "Do you want to buy a bow for %P gold?", Topic=34
 | 
			
		||||
"crossbow"        -> Type=3349, Amount=1,  Price=500,  "Do you want to buy a crossbow for %P gold?", Topic=34
 | 
			
		||||
"arrow"           -> Type=3447, Amount=10, Price=20,   "Do you want to buy %A arrows for %P gold?", Topic=34
 | 
			
		||||
"bolt"            -> Type=3446, Amount=10, Price=30,   "Do you want to buy %A bolts for %P gold?", Topic=34
 | 
			
		||||
 | 
			
		||||
%1,0<%1,"arrow"   -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=34
 | 
			
		||||
%1,0<%1,"bolt"    -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=34
 | 
			
		||||
 | 
			
		||||
Topic=34,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type)
 | 
			
		||||
Topic=34,"yes"                   -> "Come back, when you have enough money."
 | 
			
		||||
Topic=34                         -> "Hmm, but next time."
 | 
			
		||||
 | 
			
		||||
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
 | 
			
		||||
									"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120
 | 
			
		||||
									
 | 
			
		||||
"task",QuestValue(17648)=50,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(QuestValue(17649),51), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type)
 | 
			
		||||
								
 | 
			
		||||
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task."
 | 
			
		||||
									
 | 
			
		||||
Topic=120,"yes" -> "Very well young paladin. Come back once you are done.", SetQuestValue(17649,Amount), SetQuestValue(Amount,0), SetQuestValue(17647,1)
 | 
			
		||||
Topic=120 -> "As you wish."
 | 
			
		||||
 | 
			
		||||
"task" -> "I don't have any tasks for you right now."
 | 
			
		||||
		Reference in New Issue
	
	Block a user