In a Glulx game, when a player types a command whose response involves some RNG, and then types UNDO followed by the same command, I’m wondering how that’s handled, and if it is interpreter-dependent.
Something like this, where the color is chosen randomly:
>SHAKE BOTTLE The fluid turns green. >UNDO [Previous turn undone.] >SHAKE BOTTLE The fluid turns pink.
The Windows Inform 7 interpreter seems to allow different RNG after undoing. Is that the case for all interpreters?