textures and selection_box
This commit is contained in:
parent
81abbed3eb
commit
4863e454ea
@ -14,6 +14,12 @@ minetest.register_node(":streets:streetlamp_basic_bottom",{
|
|||||||
{-0.1,0.4,-0.1,0.1,0.5,0.1}
|
{-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)
|
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 + 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"})
|
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",{
|
minetest.register_node(":streets:streetlamp_basic_top_on",{
|
||||||
description = "U cheater U",
|
description = "U cheater U",
|
||||||
groups = {cracky = 1, not_in_creative_inventory = 1},
|
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",
|
paramtype = "light",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user