Improve package sending help text in the IPO

Submitted by:   DraugTheWhopper (patch #391)

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@22048 282e977c-c81d-0410-88c4-b93c2d0d6712
master
partmedia 2021-03-30 05:50:25 +00:00
parent 7c91e0c617
commit faf3b3b81e
1 changed files with 2 additions and 1 deletions

View File

@ -74,12 +74,13 @@ elif Crossfire.MatchString("letter", text[0]):
whoami.Say("For %i platinum you can send a letter to your friend. Just say 'mailscroll <friend name>'." % priceMailScroll)
elif Crossfire.MatchString("mail", text[0]):
reply = "To send items, buy one of our following containers:\n"
reply = "To send items, select one of our following containers:\n"
for pack in packages.keys():
# weight is in grams, so need to convert.
reply += " - %s (limit %d kg, %d platinum)\n" % (pack, packages[pack][1] / 1000, packages[pack][0])
reply += "To buy it, say <container type> <friend name>'.\n"
reply += "When you're ready to send it, say 'send <friend name>'."
whoami.Say(reply)