summaryrefslogtreecommitdiff
path: root/labels
diff options
context:
space:
mode:
Diffstat (limited to 'labels')
-rw-r--r--labels/init.lua47
1 files changed, 46 insertions, 1 deletions
diff --git a/labels/init.lua b/labels/init.lua
index c46a990..ba2593f 100644
--- a/labels/init.lua
+++ b/labels/init.lua
@@ -7,7 +7,9 @@ minetest.register_node(":streets:asphalt_sideline",{
tiles = {"streets_asphalt.png^streets_asphalt_side.png","streets_asphalt.png"},
paramtype2 = "facedir"
})
+
minetest.register_alias("streets:asphalt_side","streets:asphalt_sideline")
+
minetest.register_craft({
output = "streets:asphalt_side 6",
recipe = {
@@ -17,6 +19,27 @@ minetest.register_craft({
}
})
+minetest.register_node(":streets:asphalt_side_r",{
+ description = streets.S("Asphalt with sideline (right)"),
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_asphalt_side_r.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+
+minetest.register_craft({
+ output = "streets:asphalt_side",
+ recipe = {
+ {"streets:asphalt_side_r"},
+ }
+})
+
+minetest.register_craft({
+ output = "streets:asphalt_side_r",
+ recipe = {
+ {"streets:asphalt_side"},
+ }
+})
+
minetest.register_node(":streets:asphalt_solid_line",{
description = streets.S("Asphalt with solid line"),
groups = {cracky=3},
@@ -55,6 +78,28 @@ minetest.register_node(":streets:asphalt_outer_edge",{
tiles = {"streets_asphalt.png^streets_asphalt_outer_edge.png","streets_asphalt.png"},
paramtype2 = "facedir"
})
+
+minetest.register_node(":streets:asphalt_outer_edge_r",{
+ description = streets.S("Asphalt with sideline (edge, rotated)"),
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^(streets_asphalt_outer_edge.png^[transformR270)","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+
+minetest.register_craft({
+ output = "streets:asphalt_outer_edge",
+ recipe = {
+ {"streets:asphalt_outer_edge_r"},
+ }
+})
+
+minetest.register_craft({
+ output = "streets:asphalt_outer_edge_r",
+ recipe = {
+ {"streets:asphalt_outer_edge"},
+ }
+})
+
-- no minetest.register_alias() needed
minetest.register_craft({
output = "streets:asphalt_outer_edge 4",
@@ -175,4 +220,4 @@ minetest.register_craft({
{"dye:white","dye:white","dye:white"},
{"streets:asphalt","dye:white","streets:asphalt"}
}
-}) \ No newline at end of file
+})