Add Framework for Managing different Kind of experience, e.g. farming experience for getting faster crops as more farming you have done.
ademant 3090d2e9ee mod.conf | 5 years ago | |
---|---|---|
locale | 5 years ago | |
textures | 6 years ago | |
README.md | 5 years ago | |
api.lua | 5 years ago | |
chat_commands.lua | 5 years ago | |
cmi.lua | 5 years ago | |
config.lua | 5 years ago | |
depends.txt | 5 years ago | |
init.lua | 5 years ago | |
intllib.lua | 5 years ago | |
license.txt | 5 years ago | |
mod.conf | 5 years ago | |
register.lua | 5 years ago | |
settingtypes.txt | 5 years ago |
See license.txt for license information.
Main repository:
https://notabug.org/ademant/minetest_xpfw.git
Mirrors:
https://gitlab.com/ademant/minetest_xpfw.git
https://github.com/ademant/minetest_xpfw.git
Works only with Minetest >= 5.0
Minetest <= 0.4.17 does not support the mechanism for handling player related meta data.
XPFW provide an API for storing values relevant for experience mechanism into player metadata (Identified with prefix "XPFW_"). It also stores several statistic values during playtime:
For several amounts also a kind of speed is calculated, like walking speed or crafting speed.
Following chat commands are available:
/xpfw
prints stored values of XPFW in the chat window
/xphud
toggle the visible statistics in players hud on/off
/xpreset
set all values to default
/xpset
need xpfwset privilege
Set variable of user to new value
Usage (roughly), for Details see api.lua:
ademant (MIT)
Created by ademant (CC BY 3.0):