A regeneration controller mod for the mod mana by Wuzzy. Instead of constantly regenerating mana, players need to stand in direct sunlight to regenerate mana.
The definition of "standing in sunlight" is quite simple for now: the player's head needs to be at light level 15. Another variation tries to be more lenient, but is not without problems, so it's commented out in the code.
Since many magic users prefer their homes and offices to actually have a roof, standing on specific node types (currently wooden planks (group:wood) and gold blocks) will also regenerate mana.
Now with support for slower, and negative, regeneration. Just for fun, standing on stone will drain your mana...
Version: 0.4.0
License: LGPL 2.1
Repository: Solar Mana on GitHub
Download:
Dependencies:
- mana by Wuzzy
This is my first mod, so any tips and comments, also regarding code style, archive contents or releasing procedure are very welcome!