Minetest mod to add health damage due to ambient condition: - sunburn in direct sun light - fear of darkness - hot or cold temperatures

andreas.demant 0d99903353 first implementation of damages 1 年間 前
README.md 0d99903353 first implementation of damages 1 年間 前
api.lua 0d99903353 first implementation of damages 1 年間 前
configuration.lua 0d99903353 first implementation of damages 1 年間 前
init.lua 0d99903353 first implementation of damages 1 年間 前
mod.conf fbe0071f35 initial commit 1 年間 前
settingtypes.txt 0d99903353 first implementation of damages 1 年間 前

README.md

Ambient fear

Ambient fear for Minetest

Add fear of:

  • Temperature (hot and cold)
  • Direct Sunlight (sunburn)
  • Darkness

With Armor the fear can be reduced.

Author: ademant

Direct Sunlight

When player is direct in sunlight (light level > 13) the player get sunburn, which will lead to damage. This is only in direct sunlight. Under trees the light is not strong enough to lead to sunburn.

The player can be protected by using armor with level > 5.

Fear of Darkness

In mines where light drop under light level 3 the player fears the darkness, leading to damage. Only torches or other lights can help before darkness. Even under full moon the light is on level 3.

Hot/Cold temperature

In Biome's with high or low temperatures the player will be damaged. High temperature is > 75, low temperature < 25.

The player can be protected by using armor with level > 10.