introduce buying runes/potions via bp in all selling npcs

This commit is contained in:
ErikasKontenis
2020-05-14 23:50:19 +03:00
parent ad9bd037d5
commit fdc71b8b1d
19 changed files with 397 additions and 2 deletions

View File

@@ -39,14 +39,23 @@ VANISH,! -> "Bye."
"blank","rune" -> Type=3147, Amount=1, Price=10, "Do youuuu want to buy a blank ruuuune for %P gold?", Topic=1
"spellbook" -> Type=3059, Amount=1, Price=150, "Do youuuu want to buy a spellboooook for %P gold?", Topic=1
"backpack","blank","rune" -> Type=3147, Amount=1, Price=11*20, "Do youuuu want to buy a backpack of blank ruuuune for %P gold?", Topic=2
"bp","blank","rune" -> *
%1,1<%1,"blank","rune" -> Type=3147, Amount=%1, Price=10*%1, "Do youuuu want to buy %A blank ruuuunes for %P gold?", Topic=1
%1,1<%1,"spellbook" -> Type=3059, Amount=%1, Price=150*%1, "Do youuuu want to buy %A spellboooooks for %P gold?", Topic=1
%1,1<%1,"backpack","blank","rune" -> Type=3147, Amount=%1, Price=11*20*%1, "Do youuuu want to buy %A backpacks of blank ruuuunes for %P gold?", Topic=2
%1,1<%1,"bp","blank","rune" -> *
Topic=1,"yes",CountMoney>=Price -> "And here it isssss! Almost like magiiiic, isn't it?", DeleteMoney, Create(Type)
Topic=1,"yes" -> "Sorry, too many buttonssss and not enough gold in your pursssse."
Topic=1 -> "Better not annoy a FRANS if you don't want to deeeeal with him!"
Topic=2,"yes",CountMoney>=Price -> "And here it isssss! Almost like magiiiic, isn't it?", DeleteMoney, CreateContainer(2854,Type,Data)
Topic=2,"yes" -> "Sorry, too many buttonssss and not enough gold in your pursssse."
Topic=2 -> "Better not annoy a FRANS if you don't want to deeeeal with him!"
@"gen-t-runes-free-s.ndb"
@"gen-t-wands-free-s.ndb"
}