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 | il y a 5 ans | |
---|---|---|
locale | il y a 5 ans | |
textures | il y a 6 ans | |
README.md | il y a 5 ans | |
api.lua | il y a 5 ans | |
chat_commands.lua | il y a 6 ans | |
cmi.lua | il y a 5 ans | |
config.lua | il y a 5 ans | |
depends.txt | il y a 5 ans | |
init.lua | il y a 5 ans | |
intllib.lua | il y a 5 ans | |
license.txt | il y a 5 ans | |
mod.conf | il y a 5 ans | |
register.lua | il y a 5 ans | |
settingtypes.txt | il y a 5 ans |
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):