This is a library for managing player status. It acts as a layer between mods and raw player state (e.g. physics overrides, player object properties), by keeping track of what changes have been made and combining them. It is essentially the "combining" and "state management" distilled out of monoidal_effects so that it can be used separately. player_monoids and playereffects can achieve the main goal of monoidal_effects when used together, so this mod deprecates monoidal_effects.
This mod could be used as a standalone library if you renamed init.lua and removed the dofile calls, if you really wanted.
Check out the readme for a usage introduction.
Download:
master
Also available on Minetest Bower (as player_monoids).
Source: https://github.com/minetest-mods/player_monoids
License: Apache 2.0 (No non-code assets)
Dependencies: None
API: https://github.com/minetest-mods/player ... ter/API.md