power bolts buyable through npcs

This commit is contained in:
ErikasKontenis
2020-07-05 17:01:16 +03:00
parent b61b2ad096
commit b65a56bc97
12 changed files with 43 additions and 25 deletions

View File

@@ -17,8 +17,10 @@
"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
"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt 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
%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power 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."