Discussion:
[hackem] Passtune range changed or not?
(too old to reply)
Janis Papanagnou
2023-05-31 09:55:15 UTC
Permalink
In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
but in the Hack'EM source I still see (for non-Amiga platforms) only
seven notes ("What tune are you playing? [5 notes, A-G]"), any 'H'
converted to 'B', and no checks or conversions for other notes. It
seems the passtune mastermind code difficulty is still 7x5 (not 8x5
nor 7x6) [colors x positions]. - Is the "extended by 1" describing
only the H->B conversion or what am I missing?

Janis
Pat Rankin
2023-05-31 17:39:01 UTC
Permalink
Post by Janis Papanagnou
In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
[...]

I read that as "you can play the tune from one step farther
away" than previously. In nethack you need to be adjacent to
either the span spot (where the bridge will be when lowered)
or the portcullis spot (the "closed door" when raised) or both.
So when outside, you need to be next to--or in--the moat in
order to be close enough to the bridge for the notes to matter.

Extending the range by 1 means you won't have to be adjacent.
I don't know why that would be significant, unless the bridge
produces an area effect (possibly only when destroyed) or some
of the moat monsters have been given a longer attack range.
Janis Papanagnou
2023-05-31 19:41:15 UTC
Permalink
Post by Pat Rankin
Post by Janis Papanagnou
In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
[...]
I read that as "you can play the tune from one step farther
away" than previously. [...]
You are right...

for (y = u.uy - 2; y <= u.uy + 2; y++)
for (x = u.ux - 2; x <= u.ux + 2; x++)

In Nethack[343] these offsets (-2/+2) had been -1/+1.

Janis
Erik L
2023-06-23 14:26:55 UTC
Permalink
Post by Janis Papanagnou
Post by Pat Rankin
Post by Janis Papanagnou
In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
[...]
I read that as "you can play the tune from one step farther
away" than previously. [...]
You are right...
for (y = u.uy - 2; y <= u.uy + 2; y++)
for (x = u.ux - 2; x <= u.ux + 2; x++)
In Nethack[343] these offsets (-2/+2) had been -1/+1.
Janis
I have updated the wiki for clarification.

Loading...