Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • harlowe harlowe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Games
  • harloweharlowe
  • Issues
  • #222
Closed
Open
Issue created Apr 14, 2021 by Brook Jensen@brwarner

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking