Showing disabled menu item

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Showing disabled menu item

#1 Post by jack_norton »

Is there a way to know the condition of a menu item and manipulate it? I know about the screen choice(items) but as far as I know, the "cond" it's not passed.
What I want to do, is display the menu choice but not clickable, a bit like Fallout series. For example a choice might require 10 Strength, and even if player has 9, the game should still tell him/her that there was that choice.
So I would like to still display the menu item as: "Kill Goblin (Strength: 10)" but disabled/unclickable.
But if I can't access the conditions in the choice menu, I guess it's not possible ? Thanks
follow me on Image Image Image
computer games

User avatar
RicharDann
Veteran
Posts: 286
Joined: Thu Aug 31, 2017 11:47 am
Contact:

Re: Showing disabled menu item

#2 Post by RicharDann »

This post might be of help:
viewtopic.php?f=8&t=46294
The most important step is always the next one.

Post Reply

Who is online

Users browsing this forum: Google [Bot]