summaryrefslogtreecommitdiff
path: root/streetlamps
diff options
context:
space:
mode:
Diffstat (limited to 'streetlamps')
-rw-r--r--streetlamps/init.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/streetlamps/init.lua b/streetlamps/init.lua
index c0d3cca..621c7b1 100644
--- a/streetlamps/init.lua
+++ b/streetlamps/init.lua
@@ -14,6 +14,12 @@ minetest.register_node(":streets:streetlamp_basic_bottom",{
{-0.1,0.4,-0.1,0.1,0.5,0.1}
}
},
+ selection_box = {
+ type = "fixed",
+ fixed = {
+ {-0.3,-0.5,-0.3,0.3,2.5,0.3}
+ }
+ },
after_place_node = function(pos,placer,itemstack)
minetest.set_node({x = pos.x, y = pos.y + 1, z = pos.z},{name = "streets:streetlamp_basic_middle"})
minetest.set_node({x = pos.x, y = pos.y + 2, z = pos.z},{name = "streets:streetlamp_basic_top_off"})
@@ -60,7 +66,7 @@ minetest.register_node(":streets:streetlamp_basic_top_off",{
minetest.register_node(":streets:streetlamp_basic_top_on",{
description = "U cheater U",
groups = {cracky = 1, not_in_creative_inventory = 1},
- tiles = {"streets_lamps_basic_top_top.png","streets_lamps_basic_top.png"},
+ tiles = {"streets_lamps_basic_top_top.png","streets_lamps_basic_top_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png"},
paramtype = "light",
drawtype = "nodebox",
pointable = false,