My little project has been flourishing like a little flower garden! But there comes an obstacle. Elimination of choices according to your strength and prowess.
For example, there are 4 choices when your sister asks you about a wounded-detecting-spell which is considered useless.
You think it is useful in some instances like a detecting wounded under fallen rubble.
You think it is useless too.
You disclaim there is no need for healing spells if dark arcane has infested his mind.
You arrogantly talk about the connection to the blood deity will regenerate you completely with the wounded serving as a sacrifice to the Aether, the god of blood, blah blah blah.
What I wish to achieve is, when you are NOT a blood arcane user, the 4th one will be deleted. Whereas if you have a high darkness value, then the first option will be eliminated (it is too rare for a bad person to turn good, doesn’t it? It is a man’s own mind, not his enemy or foes, that lures him into evil ways -Buddha).
I would have flipped up a notebook and start solving it logically, or just try to reverse engineer some of the existing games or search the forums. But now it is almost one o’clock midnight here in Hong Kong plus I am sleepy and tired. So I would like you guys to help me out a bit. Thanks! ^^
I suggest the usage of if-statements
For the first chioce *selectable_if (variable_dark) #....
And similiar for the other
If you intend a certain value you’ll need to add it in the if-statement *selectable_if (variable_dark = 90)
For example
*choice
*if not(darkness is so dank high)
#You think it is useful in some instances like a detecting wounded under fallen rubble. You think it is useless too.
"That skill is dank, yo."
#You think it is useless too.
"Yeh, it's useless."
#You disclaim there is no need for healing spells if dark arcane has infested his mind.
"He still needs a healing."
*if not(dank arcane user)
#You arrogantly talk about the connection to the blood deity will regenerate you completely with the wounded serving as a sacrifice to the Aether, the god of blood, blah blah blah.
"Blahblahblah! Blahblah? BLah!"
OMG, after a hard day in Uni and the Schrodinger equation I see this Choicescript engineering miracle (lol)! This will certainly help me till the end of my story (if a player chooses the blood route, he will only keep the darkness meter where it is or stumble down further, no good actions to repair your darkness muhaha! So I need this kind of design for the whole script lol).