roads/delineator/init.lua

27 lines
575 B
Lua
Raw Normal View History

2013-08-10 19:23:52 +02:00
--[[
StreetsMod: Delineator
]]
minetest.register_node(":streets:delineator", {
description = streets.S("Delineator"),
2013-08-10 19:23:52 +02:00
tiles = {"streets_delineator_top.png","streets_delineator.png"},
drawtype = "nodebox",
paramtype = "light",
groups = {cracky=3, oddly_breakable_by_hand=2},
light_source = 8,
sunlight_propagates = true,
node_box = {
type = "fixed",
fixed = {
{-0.1, -0.5, -0.1, 0.1, 0.5, 0.1},
},
}
})
minetest.register_craft({
output = "streets:delineator 4",
recipe = {
2013-12-18 07:53:33 +01:00
{"","",""},
2013-08-10 19:23:52 +02:00
{"","default:torch",""},
2013-12-18 07:53:33 +01:00
{"","default:fence_wood",""}
2013-08-10 19:23:52 +02:00
}
})