summaryrefslogtreecommitdiff
path: root/roadsigns/signs.lua
blob: 70959cd772a3ec05163cd1693371d1340a54dd2c (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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}
		}
	},
	paramtype = "light",
	paramtype2 = "wallmounted",
	walkable = false,
	sunlight_propagates = true,
	selection_box = {
		type = "wallmounted"
		}
})
	
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}
		}
	},
	paramtype = "light",
	paramtype2 = "wallmounted",
	walkable = false,
	sunlight_propagates = true,
	selection_box = {
		type = "wallmounted"
	}
})

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}
		}
	},
	paramtype = "light",
	paramtype2 = "wallmounted",
	walkable = false,
	sunlight_propagates = true,
	selection_box = {
		type = "wallmounted"
	}
})