in manual:
(set: $dagger to (datamap: "id", "dagger", "cost", 10, "damage", 1))
(set: $weapon to $dagger)
Your current weapon is a (print: $weapon's id).
in real life works:
(set: $dagger to (dm: "id", ["dagger"], "cost", 10, "damage", 1))
(set: $weapon to $dagger)
Your current weapon is a (print: $weapon's "id").
why?
Use Twine 2.2.1 , Hallowe 2.1.0