MADMA - Modular Accessories Distribution Management Assistant

Mod author: Triberzis

Category: Frameworks

Modular Accessories Dynamic Management Assistant is a featherweight tool using minimum Papyrus scripting to distribute/equip/remove items.

Description

TMHTML2:

What is MADMA?

Modular Accessories Dynamic Management Assistant is a featherweight tool using minimum Papyrus scripting to distribute/equip/remove items.

It's essentially the old method of distributing constantly equipped spells to NPCs as items, turned into a framework.

It was created because SPID is only able to distribute and equip a single outfit to an NPC at a time with no option to distribute and equip additional items.

MADMA is able to distribute and equip additional items to an NPC, with their own separate dynamic system, unlocking unlimited customization potential.

How does MADMA work?

MADMA uses the Constantly Equipped Spell method for equipping items, and minimal Papyrus for distributing and equipping.

Each MADMA mod refers to the main framework for a function. This function is fired after SPID distributes the SPELL to NPC on cell load.

MADMA let's SPID do it's thing for the dynamic aspect.

How is MADMA so Lightweight?

MADMA is so lightweight that you could run thousands of MADMA mods and see zero impact on performance

Zero duplicate papyrus lines, each MADMA mod refers to the Main Framework for the inventory operations. Papyrus calls shared functions among all MADMA mods

Each MADMA script is a tiny one-time execution (fires only after SPID applies the spell)

Does a few inventory operations, then terminates. No constant background tasks or updates. No ticking loops. No persisting aliases. No repeating timers. Nothing

MADMA Runs off "Hidden" Base Type, instead of "extends Quest" like most frameworks do. Hidden means the script only exists when it is called for a function, instead of running constantly

Let's SPID do the randomization aspect, no extra scripting needed

What makes MADMA a Framework other modders might love?

Items get created and stored into plugin banks ready to be used for distribution using SPID

Each bank holds all the items created into spells

Each spell can be distributed via SPID using any of SPID's rules.

Because all these accessories are stored here as banks, users can create their own SPID files, distributing any item in the banks to any NPC/Faction/Branch/you name it, to use for their own game or publish as a SPID mod

Essentially you have a framework to distribute items to NPCs that adds onto the outfit they are wearing

What Makes MADMA stand out?

Ease of use for modders. Using SPID, distribute the spell, distribute the keyword, NPC has item. Use anything from the banks. Use the name of any item script as it's the same name of the Spell and Keyword. Simple

Featherweight Framework. Because each item is modular, nothing is tied into each other. In other words for example if u distribute a wig from DINT999's pack, the only thing that gets touched is the single chosen hair piece. Everything else continues sleeping

It is as simple and efficient as possible, for the function it serves, with the tools used

MADMA CleanUp System

If NPC has the keyword linked to the item, NPC will have and equip that item

If NPC does not have the keyword, NPC will not have item or have it equipped. Items are linked to keywords

Remove the _DISTR file giving the keywords, and NPC will lose the items, because SPID did not distribute any keywords to NPC the next time around

Particularly useful when switching between Summer and Winter variants of DWOT mods. Disable the Winter DWOT mod and NPCs will not receive any Winter item Keywords, meaning they will lose the items

Essentially Keywords and Items are linked. Break that link by not giving any keywords, and NPC receives no items and loses any it might have had

How to Distribute with MADMA?

Refer to the guide found inside the FOMOD mod package

Anyone with minimum basic SPID knowledge can distribute with MADMA

Loading mod…