bewarethedark/bewarethedark.default.conf

68 lines
1.9 KiB
Plaintext

--[[
Beware the Dark configuration
-----------------------------
To modify the configuration without fear of it being overwritten
by an update of this mod, copy this file to
bewarethedark.conf
in the mod directory or the directory of a specific world, and
modify away. The mod will read configuration first from the
default file, then from the mod directory copy, and finally from
the world directory copy.
The settings from these locations will be merged together in an
intelligent fashion. Normal entries in the config table will get
overwritten. Table entries (those with {} at the left of the =)
will get merged together, unless the special table entry 'CLEAR'
is given, with a true value. This merging does not go deeper than
one level, but this should be sufficient.
]]
bewarethedark.config = {
--[[ The period, in seconds, in which this mod updates values.
Changing this will not directly affect other values, but
may change computation load or accuracy.
]]
tick_time = 1,
--[[ Damage per second for various light levels, both for hp
and sanity loss. Negative values "heal" sanity, but not
hp.
]]
damage_for_light = {
[15] = -1.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,
[ 6] = 0.1,
[ 5] = 0.1,
[ 4] = 0.2,
[ 3] = 0.3,
[ 2] = 0.5,
[ 1] = 0.7,
[ 0] = 1.0,
},
--[[ Damage per second for light levels when sanity is 0.
Negative values have no effect.
Any missing value here is taken from the above
'damage_for_light' table. By default, this table
is empty, so both damage tables are effectively the same.
]]
insane_damage_for_light = {
},
}