#Conditional Variables in Terminals

1 messages · Page 1 of 1 (latest)

fossil garden
#

Basically, it would be nice to have variables that changes value depending on a choice in the terminal, which can then be referred back to later on. It would make text adventure branching less tedious.

For example, if a player chooses to pick up a sword, we can create a variable "sword = true", and then towards the end, we can check if sword was true and depending on that, the player fights the villain with a sword. Otherwise they fight the villain barehanded.

hushed chasm
#

Yes I would love something like this!! I would’ve asked for it earlier but I wonder how hard a feature like this would be to develop

#

If this were to be added I would love for outside triggers to be able to update the variable too, so the terminal text can change based on if you’ve picked up a certain star or been through a certain player trigger! (But if not just having the variables in the terminals would still be incredibly useful)

spare heron
#

If this could also affect the text on answers, it'd be an amazing way to mimic those *text options for unread texts, which would then be changed back to text. I actually did this, by hand, and it was excruciating

velvet scarab
#

That only would work for terminal text, not answer buttons

spare heron
#

It seems to somewhat work. Not entirely sure how it functions though, and the way it displays is very weird. I'll test it more later

velvet scarab
#

Oh actually it might also be responsible for changing typing speed and for ------------------------------ line, since this is all for Gehenna