You’re right. I’ve done this and now it’s possible to do something like
GOTO BEDROOM (game presents a choice of 3)
1 (picks red. We go there)
GOTO 2 (Game now goes to whatever the second choice was.)
However, until choices are cleared (player types a sentence without a number), doing other things with numbers can produce weird results. When I say other things, I mean like
GET 2
or TOUCH 1
or even just 1
Now I do understand that we may say ‘The player is potentially being annoying typing commands like this, and so if they get a clunky error message, they deserve it.’ I agree.
Unfortunately, when the player does it, what can happen is the game tries to act on a random-seeming object as a result (sounds related to the thing Draconis was talking about e.g. GET 2 can try to take 2 of something, though in my WIP, the game never acts like that except in these post-disambiguation circumstances. Normally my game would say ‘I can’t see any such thing.’) and it will both name the object and print a silly-sounding clarification message. Here’s an example transcript from my WIP:
goto tracks
[ Which do you mean, (1) the tracks by the wedge, (2) the tracks on the highest ridge or (3) the tracks on the ridge?
1
(the tracks, last seen by the wedge)
By the wedge
1
[ What do you want to do something to the compass? ]
The player has a compass, but as you can see, it wasn’t mentioned by the player or the game prior to this clarification message.
Also unfortunately, I haven’t found an easy way to replicate this phenomenon outside my game. I mean I haven’t been able to work out the minimum circumstances needed in the demo project. I did do
The reset values when out of scope rule does nothing.
to make the demo more mimic my WIP.
I suppose a safe thing to do in my WIP would be to reset the disambiguation choices every single turn. The problem does really only seem to be with ‘1’. Doing a raw 2+ at such moments gives ‘You can’t use multiple objects with that verb’, which at least isn’t naming an object. But I’ll see if you @climbingstars have any other ideas. Thanks.
-Wade