I’m going to take a wild wager that this is a big no.
Now, I didn’t know how to word the headline, so I’m going to give an example instead.
In this case, there is an event in Once in a Lifetime that makes the mother die at birth. When I’m showing the relationship interface in the below image, you can see each of the names.
What I’m curious about is if I can append that choice’s text based upon an if condition. If the mother died, her name would show, their closeness would show (or be hidden), and then there’d be the text - Deceased.
Full example being:
Penelope Alvarez (Mother - Deceased).
I’m going to wager that if I wanted to show them as deceased, I would need to create duplicates under the if statement, but I’m gonna hope someone knows something I don’t, haha!
I don’t think you can put an *if command in the middle of a choice (because the choice needs to be an unbroken line), but what you can do is use multireplace.
In this case, your code for this choice would look something along the lines of:
I should’ve plugged it in first, I’m getting an error of being unable to extract another token. I’m going to wager this is because Closeness uses ${closeness_mother} to declare the value.
Glad you figured it out! To be clear on the problem for anyone reading this in future: multireplace doesn’t use a colon : after the name of the variable.
Multireplace in options is a total lifesaver. If you’re going to use it a lot, worth getting your head around the wiki.