Hi everyone,
Hope you’re having a lovely week so far! Re-posting this question as haven’t had any luck if anyone has any suggestions - ive spent many hours trying to figure out a possible solution to no avail and feel there should be a simple means to do this in Twine Harlowe (the latest version).
Twine Version:
[Harlowe]
Hi there, hope everyone is keeping well and having a nice weekend!
I have several twine stories which link together at various moments with variables added into the html based on elements picked up. This all works successfully at the receiving end but I am trying to find a more trustworthy and less complicated and lengthy (!) means to change the ends of the html link based on the inventory.
Currently this involves writing code like this:
(if: $inventoryofthinkers contains "Jenny Oddell)")[<a href="theseentangledmappings?i="jo1"" >These Entangled Mappings</a>]]
(if: $inventoryofthinkers contains "Jenny Oddell" and $adrenaline is "3")[<a href="theseentangledmappings?a=3&i="jo1"" >These Entangled Mappings</a>]]
There are a lot of sources in my inventory so I was basically wondering if there is a means to say - add this element onto the html - rather than come up with (possible tens of different options of combinations).
Hope this makes some sense and realise this may not be possible! Thanks so much in advance.