forked from minetest-mods/technic
The flashlight was lighting the wrong node, 1 m east of the player's lower half, thus getting no light if the player is adjacent to an eastern wall. Restore the old 1 m above, that coincides with the player's hands. There was a problem with light from the flashlight getting stuck in the map. This arises because the flashlight's light value was 15, the reserved value that the engine uses for sunlight. Moving the flashlight upwards, by jumping while it is equipped, would cause the node below it to acquire a bogus sunlit state. Fix this by reducing the flashlight's light value to 14 (LIGHT_MAX), which is the maximum permitted for non-sunlight. The light_off node type is not required. With the light value limited to 14, mere removal of the light node suffices to correctly recalculate lighting. |
||
---|---|---|
.. | ||
locale | ||
machines | ||
sounds | ||
textures | ||
tools | ||
config.lua | ||
crafts.lua | ||
depends.txt | ||
helpers.lua | ||
init.lua | ||
items.lua | ||
legacy.lua | ||
README.md | ||
register.lua |
Technic
License
Copyright (C) 2012-2014 Maciej Kasatkin (RealBadAngel)
Technic chests code is licensed under the GNU LGPLv2+.
Texture licenses:
RealBadAngel: (WTFPL)
- Everything.