Mana

Description

This mod adds basic support for mana.

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 game.

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.

Otherwise, the mana is just shown as text.

Reviews

Review

Do you recommend this mod?

  • Good mod, but...

    I think it needs an update to fix some messages it shows on screen from the second time you enter the world you're using this mod on. The messages reads:

    [main]: [playereffects] playereffetcs.mt successfully read. [main]: [playereffects] inactive effects ={ } [main]: [playereffects] last_effect_id = 0 [main]: [playereffects] mana.mt successfully read.

    Please fix this.

    0 comments

Releases

1.3.3

Download

Luanti 5.0+

2023-04-12 12:25 UTC

1.3.3 🔗

No release notes

1.3.2

Download

Luanti 5.0+

2023-03-13 13:28 UTC

1.3.2 🔗

No release notes

1.3.1

Download

Luanti 5.0+

2019-03-22 15:29 UTC

1.3.1 🔗

No release notes

2018-07-08

Download

2018-07-08 16:28 UTC

2018-07-08 🔗

No release notes

All releases

Information

Provides

mana

Dependencies

Required
No required dependencies
Optional
hudbars

Information

Type
Mod
Technical Name
mana
Languages
English, Deutsch, Français
License
MIT for code,
CC-BY-SA-3.0 for media.
Maintenance State
As-Is
Added
2018-06-05 23:02 UTC
Maintainers
Wuzzy

Used By