1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-08-13 03:40:17 +02:00
Files
minetestforfun_game
mods
3d_armor
3d_armor_classes
WorldEdit
_misc
_misc_kaeza
action_timers
ambience_modpack
areas
arrow_signs
automappercolors
awards
bedrock
beginners_chest
bobblocks
bone
broomstick
builtin_falling
builtin_item
carts
chatplus
chesttools
christmas_craft
coloredwood
colormachine
colouredstonebricks
columnia
compassgps
connected_chests
darkage
death_messages
dropondie
eventobjects
factions
fail
fences
fishing
food
forceload
framedglass
future_ban
gauges
glow
hbarmor
hbhunger
homedecor_modpack
hudbars
interact
inventory_icon
inventorycheck
invtweak
irc
irc_commands
item_drop
jukebox
jumping
lantern
lavatemple
locked_sign
mana
textures
API.md
README.txt
depends.txt
description.txt
init.lua
mapfix
maptools
markers
maze
mesecons
metatools
mff
mobs
money
more_chests
moreblocks
moreores
moretrees
multitest
name_restrictions
names_per_ip
nether
news
paintings
pclasses
pipeworks
plantlife_modpack
player_inactive
quartz
quests
random_messages
returnmirror
riesenpilz
rofl
runes
sea
shutdown
snow
snowdrift
solarmana
soundset
spawn
sponge
sprint
stained_glass
throwing
track_players
treasurer
trm_pyramids
tsm_pyramids
u_skins
unified_inventory
unifieddyes
vector_extras
warps
watershed
whoison
worldedge
xban2
other_things
worlds
.gitignore
LICENSE
README.md
server-nalc/mods/mana
2015-07-06 18:59:12 +02:00
..
2015-07-06 18:59:12 +02:00
2015-06-10 16:48:26 +02:00
2015-06-21 19:13:21 +02:00
2015-06-10 16:48:26 +02:00

Mana mod [mana]
===============
Version: 1.1.0
Note: This mod uses semantic versioning, as defined by version 2.0.0 of the SemVer standard.
See: <http://semver.org/>

Description
===========
This mod adds basic support for mana to Minetest.

Each player will have an additional attribute: Mana. To be precise:

- Current mana reserves: How much mana the player currently has
- Maximum possible mana: How much mana the player can have at maximum
- Mana regeneration amont: How much mana will be generated each “mana tick” (default 0.2 seconds)

By default, each player spawns with 0/200 mana, and regenerates 1 mana per fifth of a second. All
these values can be configured with the server settings (`minetest.conf`) and it is highly advised to do
so if you plan to integrate this mod into a subgame.

The mana regeneration rate (the “mana tick”) is a global setting and is *not* configured on a
per-player basis.

The mod provides a simple API to set, get, add and subtract the mana (and maximum) mana of any player, and
for setting the regeneration amount. Note that this mod itself does *not* change the gameplay in a meaningful
way. You should install other mods which use the Mana mod as a dependency.

The API documentation is in the file API.md.

If the mod “HUD bars” [hudbars] is installed, a blue bar will be added to the HUD showing the player's mana reserves.
It currently only works with version 0.3.0 of this mod.

Otherwise, the mana is just shown as text.

Configuration
=============

This mod can be configured with minetest.conf! The following settings are accepted:

* `mana_default_max`: Initial max. mana given to new players. Default: `200`. This value must be non-negative.
* `mana_default_regen`: Initial regenerated mana per “mana tick”. Default: `1`. This value can be a floating value. I.e. if the value is `0.5`, 1 mana is generated every two mana ticks (note that the player's mana amount is still a whole number). This value can be negative, in which case the player will lose mana.
* `mana_regen_timer`: The length of a “mana tick” in seconds. Each player will get his/her mana increased by the current
  regen value per mana tick. Default: `0.2`. This value must be positive, also try to avoid very small values
  as those could probably stress your machine a lot.


License information
===================
* textures/mana_icon.png: CC-BY by Buch <http://opengameart.org/users/Buch>.
* textures/mana_bgicon.png: CC-BY, originally by Buch <http://opengameart.org/users/Buch>, modified by Wuzzy.
* textures/mana_bar.png: WTFPL by Wuzzy.
* Everything else: WTFPL.