Skip to content

Simplify goto#153

Merged
dstelzer merged 17 commits into
mainfrom
simplify-goto
Feb 13, 2026
Merged

Simplify goto#153
dstelzer merged 17 commits into
mainfrom
simplify-goto

Conversation

@dstelzer

@dstelzer dstelzer commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Currently, the GO TO action (and FIND, which redirects to GO TO) produces a lot of output, very little of it relevant. It narrates each step of the movement with (narrate leaving $ $) and prints the full description of each room with [look]. But a user seeing this much information at once will tend to tune it out—which is a problem if anything dramatic happens during the turn, interrupting the movement!

This PR changes that behavior. Previously:

> GO TO ZETA
(attempting to go northeast)
You walk northeast.

Delta
This is room delta. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

(attempting to go east)
You walk east.

Alpha
This is room alpha. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

(attempting to go north)
You walk north.

Beta
This is room beta. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

(attempting to go north)
You walk north.

Zeta
This is room zeta. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Now:

> GO TO ZETA
(northeast)

Delta

(east)

Alpha

(north)

Beta

(north)

Zeta
This is room zeta. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

And if something interrupts:

> GO TO ZETA
(northeast)

Delta

(east)

Alpha

(north)
An invisible force field blocks your way!

Because something dramatic happened, your movement was cut short.

@dstelzer

dstelzer commented Feb 3, 2026

Copy link
Copy Markdown
Contributor Author

Fixes #129

@dstelzer

dstelzer commented Feb 3, 2026

Copy link
Copy Markdown
Contributor Author

Since I'm working on GO TO, I also included the option of making it a default action. By default this is not enabled; authors need to specify (default actions apply to rooms) if they want this behavior.

@dstelzer dstelzer marked this pull request as ready for review February 3, 2026 02:18
@susan-davis

Copy link
Copy Markdown
Contributor

It feels like this steps on the player’s choice of verbosity level. The old behaviour resembles most games’ VERBOSE level of brevity; the new behaviour seems to enforce BRIEF or SUPERBRIEF. Perhaps tie the behaviour to the selected verbosity level, rather than overriding it?

@dstelzer

dstelzer commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

Per the forum discussion, this is now a configurable setting, via SUPERBRIEF/BRIEF/VERBOSE/SUPERVERBOSE.

@dstelzer

dstelzer commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

As a side effect, this also fixes #150

@dstelzer dstelzer merged commit c03afb4 into main Feb 13, 2026
4 checks passed
@dstelzer dstelzer deleted the simplify-goto branch February 13, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

($ is visited) shouldn't be set until after the initial LOOK Simplify output of GO TO and FIND

2 participants