However, you can't put commands or changers in the passage name. [[Really, now.->(print:$explain)]] will cause an error.


I'm unsure if this is definitive "can't be done" or not? There seems to be some workarounds for other languages on a case-by-case usage. What can be done in Harlowe? This just kinda seems like a big deal to not be able to call vars in ur passage link text.

For example I store the fur colour of clifford the dog as $fur_clifford. This user chose $fur_clifford=red. Another user might have chosen orange or something though. I wanted a choice like

[[Pet Clifford's $fur_clifford fur]] -- i.e. pet clifford's red/orange/whatever fur

Is there some kind of workaround people use to achieve a similar result that I am unaware of? Can I deposit the variable $fur_clifford into a static string or something else and call it in the passage link? There's gotta be something I can call in a passage link, right? tostring()...?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.