Add adjustments from Dark Lands version

master
ezhh 2017-07-08 15:00:43 +01:00
parent 34c462555f
commit 1dc058cf80
2 changed files with 14 additions and 14 deletions

View File

@ -29,7 +29,7 @@ bewarethedark.config = {
may change computation load or accuracy.
]]
tick_time = 0.5,
tick_time = 1,
--[[ Damage per second for various light levels, both for hp
and sanity loss. Negative values "heal" sanity, but not
@ -38,20 +38,20 @@ bewarethedark.config = {
damage_for_light = {
[15] = -1.0,
[14] = -0.5,
[13] = -0.2, -- the light level for default torches
[12] = 0,
[11] = 0,
[10] = 0,
[14] = -1.0,
[13] = -0.5, -- the light level for default torches
[12] = -0.3,
[11] = -0.2,
[10] = -0.1,
[ 9] = 0,
[ 8] = 0,
[ 7] = 0.1,
[ 6] = 0.2,
[ 5] = 0.3,
[ 4] = 0.4,
[ 3] = 0.5,
[ 2] = 0.6,
[ 1] = 0.8,
[ 7] = 0,
[ 6] = 0.1,
[ 5] = 0.1,
[ 4] = 0.2,
[ 3] = 0.3,
[ 2] = 0.5,
[ 1] = 0.7,
[ 0] = 1.0,
},

View File

@ -67,8 +67,8 @@ minetest.register_on_joinplayer(function(player)
if not pl then
M.players[name] = { pending_dmg = 0.0 }
pl = M.players[name]
M.hud_init(player)
end
M.hud_init(player)
end)
minetest.register_on_respawnplayer(function(player)