First commit
This commit is contained in:
		
							
								
								
									
										54
									
								
								app/SabrehavenServer/data/npc/gen-t-magic-s.ndb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								app/SabrehavenServer/data/npc/gen-t-magic-s.ndb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
# GIMUD - Graphical Interface Multi User Dungeon
 | 
			
		||||
# gen-t-gems-s.ndb: Datenbank f<>r generischen Edelsteinverkauf
 | 
			
		||||
 | 
			
		||||
"offer"           -> "I'm selling life and mana fluids, runes, and spellbooks."
 | 
			
		||||
"goods"           -> *
 | 
			
		||||
"do","you","sell" -> *
 | 
			
		||||
"do","you","have" -> *
 | 
			
		||||
 | 
			
		||||
"life","fluid" -> Type=2874, Data=11, Amount=1, Price=60, "Do you want to buy life fluid for %P gold?", Topic=30
 | 
			
		||||
"mana","fluid" -> Type=2874, Data=10, Amount=1, Price=100, "Do you want to buy mana fluid for %P gold?", Topic=30
 | 
			
		||||
"rune"         -> Type=3147, Amount=1, Price=10, "Do you want to buy a blank rune for %P gold?", Topic=31
 | 
			
		||||
"spellbook"    -> Type=3059, Amount=1, Price=150, "Do you want to buy a spellbook for %P gold?", Topic=31
 | 
			
		||||
 | 
			
		||||
%1,0<%1,"life","fluid" -> Type=2874, Data=11, Amount=%1, Price=60*%1, "Do you want to buy %A potions of life fluid for %P gold?", Topic=30
 | 
			
		||||
%1,0<%1,"mana","fluid" -> Type=2874, Data=10, Amount=%1, Price=100*%1, "Do you want to buy %A potions of mana fluid for %P gold?", Topic=30
 | 
			
		||||
%1,0<%1,"runes"        -> Type=3147, Amount=%1, Price=10*%1, "Do you want to buy %A blank runes for %P gold?", Topic=31
 | 
			
		||||
 | 
			
		||||
"backpack","life","fluid" -> Type=2874, Data=11, Amount=1, Price=61*20, "Do you want to buy a backpack of life fluid for %P gold?", Topic=34
 | 
			
		||||
"bp","life","fluid" -> *
 | 
			
		||||
"backpack","mana","fluid" -> Type=2874, Data=10, Amount=1, Price=56*20, "Do you want to buy a backpack of mana fluid for %P gold?", Topic=34
 | 
			
		||||
"bp","mana","fluid" -> *
 | 
			
		||||
"backpack","blank","rune" -> Type=3147, Amount=1, Price=11*20, "Do you want to buy a backpack of blank rune for %P gold?", Topic=33
 | 
			
		||||
"bp","blank","rune" -> *
 | 
			
		||||
 | 
			
		||||
%1,1<%1,"backpack","life","fluid"  -> Type=2874, Data=11, Amount=%1, Price=61*20*%1, "Do you want to buy %A backpacks of potions of life fluid for %P gold?", Topic=34
 | 
			
		||||
%1,1<%1,"bp","life","fluid"  -> *
 | 
			
		||||
%1,1<%1,"backpack","mana","fluid"  -> Type=2874, Data=10, Amount=%1, Price=56*20*%1, "Do you want to buy %A backpacks of potions of mana fluid for %P gold?", Topic=34 
 | 
			
		||||
%1,1<%1,"bp","mana","fluid"  -> *
 | 
			
		||||
%1,1<%1,"backpack","blank","rune"  -> Type=3147, Amount=%1, Price=11*20*%1, "Do you want to buy %A backpacks of blank runes for %P gold?", Topic=33 
 | 
			
		||||
%1,1<%1,"bp","blank","rune"  -> *
 | 
			
		||||
 | 
			
		||||
"deposit"                   -> "I will pay you 5 gold for every empty vial. Ok?", Data=0, Topic=32
 | 
			
		||||
"vial"                      -> *
 | 
			
		||||
"flask"                     -> *
 | 
			
		||||
 | 
			
		||||
Topic=31,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type)
 | 
			
		||||
Topic=31,"yes"                   -> "Come back, when you have enough money."
 | 
			
		||||
Topic=31                         -> "Hmm, but next time."
 | 
			
		||||
 | 
			
		||||
Topic=30,"yes",CountMoney>=Price -> "Here you are. There is a deposit of 5 gold on the vial.", DeleteMoney, Create(Type)
 | 
			
		||||
Topic=30,"yes"                   -> "Come back, when you have enough money."
 | 
			
		||||
Topic=30                         -> "Hmm, but next time."
 | 
			
		||||
 | 
			
		||||
Topic=32,"yes",Count(2874)>0 -> Amount=Count(2874), Price=Amount*5, "Here you are ... %P gold.", Delete(2874), CreateMoney
 | 
			
		||||
Topic=32,"yes"               -> "You don't have any empty vials."
 | 
			
		||||
Topic=32                     -> "Hmm, but please keep Tibia litter free."
 | 
			
		||||
 | 
			
		||||
Topic=33,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, CreateContainer(2854,Type,Data)
 | 
			
		||||
Topic=33,"yes"                   -> "Come back, when you have enough money."
 | 
			
		||||
Topic=33                         -> "Hmm, but next time."
 | 
			
		||||
 | 
			
		||||
Topic=34,"yes",CountMoney>=Price -> "Here you are. There is a deposit of 5 gold on the vial.", DeleteMoney, CreateContainer(2854,Type,Data)
 | 
			
		||||
Topic=34,"yes"                   -> "Come back, when you have enough money."
 | 
			
		||||
Topic=34                         -> "Hmm, but next time."
 | 
			
		||||
		Reference in New Issue
	
	Block a user