Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Posts: 33
- Joined: Sat Mar 23, 2013 12:33 am
I'm making a selling menu for a RPG, and I need to iterate through whole inventory and display it as a menu option to let the player pick what does it want to sell.
Do I need to create another screen for that? Can I do something like this?
Code: Select all
for i in inventory:
"Sell [i.name] for [i.cost]":
$ gold += i.cost
Thanks in advance for the answer.
Users browsing this forum: Google [Bot]