summaryrefslogtreecommitdiff
path: root/delineator/init.lua
blob: 2cf3408bbf02277d6f1f5da2cd1e4ad51a0593b7 (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:fence_wood",""}
	}
})