I was getting ornery about working on the quest code. I was spending way more time thinking about how to wrangle it within the confines of that system, and it became a slog. So I decided to light it on fire and start afresh.
The first 'quest' was the King of the Hill combat. 'Quest' became a word that meant 'code that is run in arbitrary places', and starting the quest would bump you into the combat and run the code at the end of combat, as at that point the combat code said 'hey, run all the code belonging to the quests that this person is on'. So now that is just special code that is stored in the combat table, and has nothing to do with quests other than that sometimes a quest will inject some fancy code to be run in fights. |