Hello everyone!
I'm using Twine 2.1.1 and Harlowe 2.1.0.
I used this awesome tutorial to build an inventory system and it works great so far. However, I came to a bit of a halt with what I'm trying to do.
Say, a character walks into a room and they have an option to inspect multiple locations (desk, floor, wardrobe, etc.). They can pick up things from these locations and some things they can ignore. Meaning, there can be different inventory combinations on different game options and outcomes. As in, they can have a pen, a book in their possession in one outcome, or a pen and a pair of boots in the other.
I feel that if I proceed with the story this way, I'd have to copy and build the same set up for later scenes over and over, depending on what is in the inventory. I presume there could be a better way about this? My brain can't quite wrap around it right now :D
Could anyone please advice? I'll provide necessary code, not sure what exactly I can provide right now apart from my inventory example:
(set: $inv to $inv + (ds: "leatherbound book"))