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 | 1 سال پیش | |
api.lua | 1 سال پیش | |
configuration.lua | 1 سال پیش | |
init.lua | 1 سال پیش | |
mod.conf | 1 سال پیش | |
settingtypes.txt | 1 سال پیش |
Ambient fear for Minetest
Add fear of:
With Armor the fear can be reduced.
Author: ademant
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.
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.
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.