Codebase for a deprecated Valheim mod I created which can be found here - https://www.nexusmods.com/valheim/mods/962/
Feel free to use for anything you wish.
If you publish a mod based on this, let me know and I can add a link to it from the TimedTorches mod page.