summaryrefslogtreecommitdiff
path: root/delineator/init.lua
blob: 09158d2f5a3feccd22ddc8cd811829a49d1c4614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--[[
	StreetsMod: Delineator
]]
minetest.register_node(":streets:delineator", {
	description = S("Delineator"),
	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 = {
		{"","",""},
		{"","default:torch",""},
		{"","default:fence_wood",""}
	}
})