mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 06:34:55 +02:00
introduce buying runes/potions via bp in all selling npcs
This commit is contained in:
@@ -41,6 +41,13 @@ VANISH,! -> "See you."
|
||||
|
||||
"blank","rune" -> Type=3147, Amount=1, Price=10, "Do you want to buy a blank rune for %P gold?", Topic=1
|
||||
%1,1<%1,"blank","rune" -> Type=3147, Amount=%1, Price=10*%1, "Do you want to buy %A blank runes for %P gold?", Topic=1
|
||||
|
||||
"backpack","blank","rune" -> Type=3147, Amount=1, Price=11*20, "Do you want to buy a backpack of blank rune for %P gold?", Topic=7
|
||||
"bp","blank","rune" -> *
|
||||
|
||||
%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=7
|
||||
%1,1<%1,"bp","blank","rune" -> *
|
||||
|
||||
"life","ring" -> Type=3052, Amount=1, Price=900, "Do you want to buy a life ring for %P gold?", Topic=1
|
||||
"crystal","ball" -> Type=3076, Amount=1, Price=530, "Do you want to buy a crystal ball for %P gold?", Topic=1
|
||||
|
||||
@@ -64,6 +71,10 @@ Topic=2,"yes" -> "Sorry, you do not have one."
|
||||
Topic=2,"yes",Amount>1 -> "Sorry, you do not have so many."
|
||||
Topic=2 -> "Maybe next time."
|
||||
|
||||
Topic=7,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, CreateContainer(2854,Type,Data)
|
||||
Topic=7,"yes" -> "Come back, when you have enough money."
|
||||
Topic=7 -> "Hmm, but next time."
|
||||
|
||||
@"gen-t-runes-prem-s.ndb"
|
||||
@"gen-t-wands-prem-s.ndb"
|
||||
}
|
||||
|
Reference in New Issue
Block a user