Re factoring (Patreon)
Content
Hey everyone,
So don't have anything to show at the moment. I'm just re-writing some of the event code. Currently the game is in a bit of a broken state as I change this around.
This is something I've needed to do for a little while. Some elements of certain events are basically hard coded. Doing a new set of templates would be easier if I could create and test a template anywhere in the game world without having to re-build/reload. The ideal is a basic template that can be loaded at run time and tested in any area, with the ability to edit and re-load.
This is even more important if I want outside editors to be able to make changes/updates to game events. They don't have the engine or code base so typically have to wait for me to make the alterations, build and upload.
Once I get this change finished I need to test and double check I didn't break the way the main game works as this will use the same tech as existing events. In theory it should be mostly fine. But this is a pretty core piece of code so there is always a risk.
It will probably be another week or so before I start working on anything new as I clean up some old code and just fix a few bugs on my end that have been around for ages. With the main quest complete this is the best time to quickly clean house a little. It's all a bit boring from an update perspective but will make the game much easier to work on!
That's all for now, I'm going to get back to re-factoring and just cleaning up all my hacky fixes.