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