Skip to content
Sthaagg Memnochs edited this page Jun 2, 2022 · 5 revisions

Welcome to the Sthaagg Memnochs Framework (Or Simple Mod Framework) wiki!

Introduction

This is the framework I use for my mods, the idea is to build a collection of quality of life functions and save resources by sharing the same scripts, functions or quests used by my different mods.

The best example is the teammate detection function: I use it in both BFL and Keep it clean, by using the same array, I only execute the code once.

I also try to use those of other mods as for the detection of shelters, or I get the result from campfire / frosfall instead of mine to avoid executing the detection twice, as the switch in compatibility mode is automatic, there is only one function to use in my scripts. I don't have to worry about implementing compatibility in all my mods either.

How to use it

Clone this wiki locally