Closed curiousdannii-testing closed 2 years ago
557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:
Comment by zarf :
This is true but it may be just the way the world model works.
In the startup rulebook, the "update chronological records rule" is run before the "position player in model" rule and the "when play begins stage" rule. This means that not all initial-play conditions are set up when history conditions are first checked.
557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:
Comment by zarf :
I don't see the dependency on Moe. Whether Moe is defined or not (or defined in another room), the game ends after the first WAIT command.
As far as I can tell, the inconsistency depends entirely on the "The player is ..." declaration, which causes the player variable to change during the "position player in model" rule.
557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:
Comment by curiousdannii :
The position player in model world rule can be moved earlier without issues - I do this in Alternative Startup Rules because for reasons I don't understand, that rule needs to run before some relations work.
557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:
Comment by FictitiousFrode :
My main problem with this issue is how inconsistent it is. Adding another character to the starting room is not something you would expect to upset the timing of scenes, and can therefore be very hard to debug. There might be other triggers lurking in the woodwork as well.
Comment by Graham Nelson:
It's too complicated to reopen this now; it subtly changes the reading of too many rules.
Reported by : FictitiousFrode
Description :
When using the "scene beings when the player is in location for the Xth turn", the scene sometimes starts a turn early. I've identified one condition under which it happens: When the player is a specific person, and is in the presence of another person. There might be others.
Steps to reproduce :
Additional information :
The scene at [3] triggers after the first turn, but if line [1] or [2] is commented out, it correctly triggers after the second turn.
imported from: [Mantis 1959] Turn counter for scene start sometimes mis-counts