diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-05-22 21:20:46 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-05-22 21:20:46 -0400 |
commit | ea9e0c62c9b3c02a3cf31696c567abc879012798 (patch) | |
tree | 309a43f3331ce3ee52fa6a6865791b947f79fff7 /moreblocks/stairsplus/common.lua | |
parent | 14117cdce080e1eea630363705c6962f716049fe (diff) | |
download | dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar.gz dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar.bz2 dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.tar.xz dreambuilder_modpack-ea9e0c62c9b3c02a3cf31696c567abc879012798.zip |
update biome_lib, coloredwood, extra_stairsplus, farming redo,
moreblocks, moretrees, plantlife, and ropes
Diffstat (limited to 'moreblocks/stairsplus/common.lua')
-rw-r--r-- | moreblocks/stairsplus/common.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/moreblocks/stairsplus/common.lua b/moreblocks/stairsplus/common.lua index d4cce64..d972808 100644 --- a/moreblocks/stairsplus/common.lua +++ b/moreblocks/stairsplus/common.lua @@ -35,6 +35,9 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam -- This makes node rotation work on placement def.place_param2 = nil + -- Darken light sources slightly to make up for their smaller visual size + def.light_source = math.max(0, (def.light_source or 0) - 1) + def.on_place = minetest.rotate_node def.groups = stairsplus:prepare_groups(fields.groups) |