roads/roadsigns/signs.lua

65 lines
1.5 KiB
Lua
Raw Normal View History

2013-10-14 12:02:09 +02:00
minetest.register_node(":streets:sign_lava",{
description = "Warning sign (lava)",
tiles = {"streets_sign_lava.png"},
inventory_image = "streets_sign_lava.png",
wield_image = "streets_sign_lava.png",
groups = {snappy = 1,attached_node = 1},
drawtype = "nodebox",
node_box = {
type = "wallmounted",
fixed = {
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
2013-08-10 19:23:52 +02:00
}
2013-10-14 12:02:09 +02:00
},
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
sunlight_propagates = true,
selection_box = {
type = "wallmounted"
2013-08-10 19:23:52 +02:00
}
2013-10-14 12:02:09 +02:00
})
2013-08-10 19:23:52 +02:00
2013-10-14 12:02:09 +02:00
minetest.register_node(":streets:sign_water",{
description = "Warning sign (water)",
tiles = {"streets_sign_water.png"},
inventory_image = "streets_sign_water.png",
wield_image = "streets_sign_water.png",
groups = {snappy = 1,attached_node = 1},
drawtype = "nodebox",
node_box = {
type = "wallmounted",
fixed = {
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
2013-08-10 19:23:52 +02:00
}
2013-10-14 12:02:09 +02:00
},
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
sunlight_propagates = true,
selection_box = {
type = "wallmounted"
}
})
2013-08-10 19:23:52 +02:00
2013-10-14 12:02:09 +02:00
minetest.register_node(":streets:sign_construction",{
description = "Warning sign (Construction area)",
tiles = {"streets_sign_construction.png"},
inventory_image = "streets_sign_construction.png",
wield_image = "streets_sign_construction.png",
groups = {snappy = 1,attached_node = 1},
drawtype = "nodebox",
node_box = {
type = "wallmounted",
fixed = {
{-0.4,-0.5,-0.4,0.4,-0.4,0.4}
2013-08-10 19:23:52 +02:00
}
2013-10-14 12:02:09 +02:00
},
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
sunlight_propagates = true,
selection_box = {
type = "wallmounted"
}
})