next commit
parent
546107aed8
commit
19eed8972f
18
init.lua
18
init.lua
|
@ -13,15 +13,15 @@ minetest.register_node("street:lamp", {
|
|||
inventory_image = "lamp.png",
|
||||
wield_image = "lamp.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
--paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = true,
|
||||
walkable = false,
|
||||
light_source = LIGHT_MAX-1,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
|
||||
wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
|
||||
wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1},
|
||||
--type = "wallmounted",
|
||||
--wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
|
||||
--wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
|
||||
--wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1},
|
||||
},
|
||||
material = minetest.digprop_constanttime(0.0),
|
||||
legacy_wallmounted = true,
|
||||
|
@ -38,9 +38,9 @@ minetest.register_craft({
|
|||
minetest.register_node("street:lamppost", {
|
||||
description = "Lamppost",
|
||||
drawtype = "fencelike",
|
||||
tile_images = {"pfosten_1.png"},
|
||||
inventory_image = "pfosten_1.png",
|
||||
wield_image = "pfosten_1.png",
|
||||
tile_images = {"lamppost.png"},
|
||||
inventory_image = "lamppost.png",
|
||||
wield_image = "lamppost.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = true,
|
||||
sunlight_propagates = true,
|
||||
|
|
Loading…
Reference in New Issue