New Twine 2 user here, still in the first couple days of working with the program. I'm using Harlowe 2.1.0.
I'm trying to create a for loop that runs through each name of a datamap and prints the associated value regardless of the name. Is this possible?
Here's the example of how I feel like the code should work:
(set: $inventory to (dm: "clothes", "rags", "weapon", "dagger"))
(for: each _item, $inventory)
[> (print:_item's ?generic name?)]
Is there a solution to this in the current version of Harlowe, or am I out of luck here?
Thanks in advance for any help!