Combining (hidden:) and (hook:) ignores (hook:)
Harlowe Version: 3.2.1 Twine Version: 2.3.13 (Windows Executable)
I can show a named hidden hook using the (show:) command
|myHook)[Contents]
(show: ?myHook)
However, if I create the same hook using changers:
(hidden:)+(hook: "myHook")[Contents]
(show: ?myHook)
Contents
is not shown. Activating the DOM Debug View reveals that the hook is unnamed. It seems the (hidden:)
changer is somehow cancelling out the (hook:)
one. A third test with just using the (hook:)
changer shows that naming a hook via changers does work, just not when combining it with (hidden:)
.
Use case: I'm creating a macro that hides hooks but gives them a unique name to be referenced in a (show:)
command later.