Quote from: Crimson Wizard on Tue 11/06/2024 21:04:59For example, if user requested a teleport to "chapter 10", this system would apply:
- all changes for chapter 1
- all changes for chapter 2
- all changes for chapter 3
- etc
until chapter 10 is reached.
This made it much easier to update even with very high chapter numbers.
That's very similar to what @Wyz described in the thread I linked. In his case he also called these functions during normal gameplay at the start of the corresponding chapter, to ensure consistency. (Of course, on the other hand it is not difficult to imagine that this could easily be a source of gameplay bugs and inconsistencies, especially if there are changes to the game logic but the chapter functions aren't updated accordingly.)