If you are requesting technical assistance with Twine, please specify:
Twine Version: 2.3.14
Story Format: Sugarcube
I would like to make a re-usable pronoun widget, where i can give it the name of a character and it returns a pronoun for that character.
Example of my code:
The party healer is a <<listbox "$healer-gender>><<optionsfrom ["Male, "Female", "Non-Binary"]>><</listbox>>
<<widget "she">><<if $args + "-gender" is "Male">>he<<elseif $args + "-gender" is "Female">>she<<else>>they<</if>><</widget>>
The healer casts Heal All. <<she healer>> fails!
This code just gives an error for the if statement.