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 main idea is to build a collection of quality of life features and save resources by sharing the features used by my different mods by creating a kind of common base on which. My mods will be added to this base to work, a bit like lego bricks.

The best example is the teammate detection feature: I use it in both BFL and Keep it clean, by sharing the quest that handles this, I only run the code once and use the same resources. It also makes updates easier as I can fix bugs in one place.

I try to make good use of other mods eg:
Shelter detection: I get the result from campfire / frosfall instead of mine to avoid running the detection twice and overloading the papyrus engine unnecessarily. As the switch between standalone and compatible mode is automatic, I can use a single function to manage it. I also don't have to worry about implementing compatibility in all my mods as i do it in one place.

How to use it

Users

Install it like a classic mod, put higher that my other mod in your load order.
The plugin contains only custom stuff, it can't conflict with anything.
It will execute its work once at first start to populate array to serve data to other mod.
Only the teammate detection quest will run in the background as it needs to add data dynamically, but the resource footprint is minimal.
Other stuff will only execute when called by other mod. A MCM menu will permit you to restart the mod or handle common settings (Not yet)

Mod author

To use my functions you only need to import the corresponding script to yours, no need to create hard dependency to my mod plugin. I think it's wiser not to include SMF resources so that your users will always using the latest version of my scripts and can benefit from the latest optimizations or bug fixes I could put in place.

If a function works too differently after an update, I will keep the current function to make sure I don't break the mods that depend on it.

Clone this wiki locally