summaryrefslogtreecommitdiff
path: root/roadworks
diff options
context:
space:
mode:
authorChristian Danscheid <Christian_D_97@gmx.de>2013-08-10 20:31:21 +0200
committerChristian Danscheid <Christian_D_97@gmx.de>2013-08-10 20:31:21 +0200
commit3a4f85ce9811546c2f94d82746d4d7d8e3c18ef1 (patch)
treefada62696cd2e0e21b7191756820bffff82d6b67 /roadworks
parent0964ec94b1f20022c32e0d0a8176bd06a0d92494 (diff)
downloadroads-3a4f85ce9811546c2f94d82746d4d7d8e3c18ef1.tar
roads-3a4f85ce9811546c2f94d82746d4d7d8e3c18ef1.tar.gz
roads-3a4f85ce9811546c2f94d82746d4d7d8e3c18ef1.tar.bz2
roads-3a4f85ce9811546c2f94d82746d4d7d8e3c18ef1.tar.xz
roads-3a4f85ce9811546c2f94d82746d4d7d8e3c18ef1.zip
Removed buildable_to
Diffstat (limited to 'roadworks')
-rw-r--r--roadworks/init.lua32
1 files changed, 11 insertions, 21 deletions
diff --git a/roadworks/init.lua b/roadworks/init.lua
index 2ea69c5..cbbb8b7 100644
--- a/roadworks/init.lua
+++ b/roadworks/init.lua
@@ -3,6 +3,8 @@
which "override" the white ones.
Construction area fence.
]]
+local box = {-0.5,-0.5,-0.5,0.5,-0.45,0.5}
+
minetest.register_node(":streets:rw_asphalt_solid",{
description = "Solid line (yellow)",
tiles = {"streets_rw_solid_line.png","streets_rw_solid_line_curve.png","streets_rw_solid_line_tjunction.png","streets_rw_solid_line_crossing.png"},
@@ -12,7 +14,6 @@ minetest.register_node(":streets:rw_asphalt_solid",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_solid_line.png",
wield_image = "streets_rw_solid_line.png",
selection_box = {
@@ -30,7 +31,6 @@ minetest.register_node(":streets:rw_asphalt_dashed",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_dashed_line.png",
wield_image = "streets_rw_dashed_line.png",
selection_box = {
@@ -48,7 +48,6 @@ minetest.register_node(":streets:rw_cross",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_cross.png",
wield_image = "streets_rw_cross.png",
selection_box = {
@@ -65,12 +64,11 @@ minetest.register_node(":streets:rw_outer_edge",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_outer_edge.png",
wield_image = "streets_rw_outer_edge.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -87,12 +85,11 @@ minetest.register_node(":streets:rw_parking",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_parking.png",
wield_image = "streets_rw_parking.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -109,12 +106,11 @@ minetest.register_node(":streets:rw_alldirs",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_arrow_alldirs.png",
wield_image = "streets_rw_arrow_alldirs.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -131,12 +127,11 @@ minetest.register_node(":streets:rw_left",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_arrow_left.png",
wield_image = "streets_rw_arrow_left.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -153,12 +148,11 @@ minetest.register_node(":streets:rw_right",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_arrow_right.png",
wield_image = "streets_rw_arrow_right.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -175,12 +169,11 @@ minetest.register_node(":streets:rw_straight_right",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_arrow_straight_right.png",
wield_image = "streets_rw_arrow_straight_right.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -197,12 +190,11 @@ minetest.register_node(":streets:rw_straight_left",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_arrow_straight_left.png",
wield_image = "streets_rw_arrow_straight_left.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -219,12 +211,11 @@ minetest.register_node(":streets:rw_straight",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_arrow_straight.png",
wield_image = "streets_rw_arrow_straight.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",
@@ -241,12 +232,11 @@ minetest.register_node(":streets:rw_sideline",{
groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
inventory_image = "streets_rw_asphalt_side.png",
wield_image = "streets_rw_asphalt_side.png",
node_box = {
type = "fixed",
- fixed = {-1/2, -1/2, -1/2, 1/2, -0.495, 1/2}
+ fixed = box
},
selection_box = {
type = "fixed",