summaryrefslogtreecommitdiff
path: root/delineator/init.lua
blob: 4b693413443d4914f6a32369a0f53d54ff500cd2 (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 = "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:stick",""},
		{"","default:stick",""}
	}
})