I've been working on a framework for a modpack that allows for customization during gameplay, rather than having to restart the game and change mod files in a list etc etc. I picked a few tweaks as test for the framework, which is now stable and opens the door for inclusion of new modifications on the fly. Most of the graphics I've used are just rehashes of the default style sheet, since the base game is broken
when reading and resizing custom icon sheets and no one has yet figured out a fix for it.
The mod, when loaded, doesn't do anything to the gameplay by default. However, it adds a tab to the interface which has toggle buttons for options, similar to the default settings page, which options then enact changes and unlock new technologies, traits, modes, etc, within the game.
The first version for public release has just a few mod components, the addition of a log burning mode to firekeepers, and the addition of cremation technology which (coincidentally) also adds a mode to firekeepers for cremating bodies, but with several other requirements and a steeper price tag. The cremation may itself be a little unbalancing, but it's in there as a proof of concept for how the mod settings can be turned on and off within the game.
I also added a toggle for the built-in hidden option of viewing resource tiers, which displays all available technology on the resource tab and the cost and requirements to obtain all of them.
Without further adieu, here's a stable link to the first public version of the mod
Edit: Updated link to the current stable public version of the mod: heritage.js
There are a few things yet to do with the framework itself, most namely:
Work out refund of resources and currency (such as insight) for turning off the mod setting a feature or technology that has already been purchased by the player.
Update the mod setting callback functions to check, add, and remove modes etc on the fly, so that loading a new version of the mod will integrate seamlessly into an ongoing game without having to restart.
I also have plans for a few overloads fixes of default game elements, such as the aforementioned problem with custom icon sheets.
And lastly, of course, the mod needs more content! My hope, especially once the mid-game loading is addressed, is to be able to support content from many different contributors in one place. If you have some ideas for improvements, or have coded a standalone mode that you would like to be included, please join me on the GitHub page