Lists to create an inventory with specified slots for different type of equipment.
Forum rules
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.
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.
Lists to create an inventory with specified slots for different type of equipment.
I've spent days on searching for a solution or tutorial, but the only one that'd fit by Elaine turned out to lead to some absurd bugs, like Renpy not reading some attributes. Do you have any idea or maybe already tested script that i could use?
- Kia
- Eileen-Class Veteran
- Posts: 1008
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: Lists to create an inventory with specified slots for different type of equipment.
If you're going for a character equipment page, using a dictionary is your best bet.
Code: Select all
gear = {
"Head": None,
"Chest": None,
}
$ gear["Head"] = helmet
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot]