summaryrefslogtreecommitdiff
path: root/labels
diff options
context:
space:
mode:
authorChristian Danscheid <Christian_D_97@gmx.de>2013-08-10 19:23:52 +0200
committerChristian Danscheid <Christian_D_97@gmx.de>2013-08-10 19:23:52 +0200
commit7bda846ea7f8c3ad127b167e6c7a797bfd46f73f (patch)
tree37c4d4cc80cb2b11452d24df057e485c54687eb4 /labels
downloadroads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.gz
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.bz2
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.xz
roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.zip
Initial commit
Diffstat (limited to 'labels')
-rw-r--r--labels/depends.txt3
-rw-r--r--labels/init.lua180
-rw-r--r--labels/textures/streets_arrow_alldirs.pngbin0 -> 7932 bytes
-rw-r--r--labels/textures/streets_arrow_left.pngbin0 -> 7662 bytes
-rw-r--r--labels/textures/streets_arrow_right.pngbin0 -> 7605 bytes
-rw-r--r--labels/textures/streets_arrow_straight.pngbin0 -> 7564 bytes
-rw-r--r--labels/textures/streets_arrow_straight_left.pngbin0 -> 7770 bytes
-rw-r--r--labels/textures/streets_arrow_straight_right.pngbin0 -> 7719 bytes
-rw-r--r--labels/textures/streets_asphalt_dashed_line.pngbin0 -> 7946 bytes
-rw-r--r--labels/textures/streets_asphalt_outer_edge.pngbin0 -> 4526 bytes
-rw-r--r--labels/textures/streets_asphalt_side.pngbin0 -> 3821 bytes
-rw-r--r--labels/textures/streets_asphalt_solid_line.pngbin0 -> 8003 bytes
-rw-r--r--labels/textures/streets_parking.pngbin0 -> 6911 bytes
13 files changed, 183 insertions, 0 deletions
diff --git a/labels/depends.txt b/labels/depends.txt
new file mode 100644
index 0000000..f17a377
--- /dev/null
+++ b/labels/depends.txt
@@ -0,0 +1,3 @@
+default
+streetsmod
+wool? \ No newline at end of file
diff --git a/labels/init.lua b/labels/init.lua
new file mode 100644
index 0000000..82b960f
--- /dev/null
+++ b/labels/init.lua
@@ -0,0 +1,180 @@
+--[[
+ StreetsMod: All kinds of asphalt with labels
+]]
+if streets.extendedBy.wool == false then return end
+--
+minetest.register_node(":streets:asphalt_sideline",{
+ description = "Asphalt with sideline",
+ groups = {cracky=3},
+ 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 = {
+ {"wool:white","streets:asphalt","streets:asphalt"},
+ {"wool:white","streets:asphalt","streets:asphalt"},
+ {"wool:shite","streets:asphalt","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_solid_line",{
+ description = "Asphalt with solid line",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+minetest.register_alias("streets:asphalt_middle","streets:asphalt_solid_line")
+minetest.register_craft({
+ output = "streets:asphalt_solid_line 6",
+ recipe = {
+ {"streets:asphalt","wool:white","streets:asphalt"},
+ {"streets:asphalt","wool:white","streets:asphalt"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_dashed_line",{
+ description = "Asphalt with dashed line",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+minetest.register_alias("streets:asphalt_middle_dashed","streets:asphalt_dashed_line")
+minetest.register_craft({
+ output = "streets:asphalt_dashed_line 6",
+ recipe = {
+ {"streets:asphalt","wool:white","streets:asphalt"},
+ {"streets:asphalt","streets:asphalt","streets:asphalt"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_outer_edge",{
+ description = "Asphalt with sideline (edge)",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_asphalt_outer_edge.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_outer_edge 4",
+ recipe = {
+ {"wool:white","wool:white","wool:white"},
+ {"wool:white","streets:asphalt","streets:asphalt"},
+ {"wool:white","streets:asphalt","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_parking",{
+ description = "Asphalt with parking label",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_parking.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_outer_edge 4",
+ recipe = {
+ {"streets:asphalt","wool:white","wool:white"},
+ {"streets:asphalt","wool:white","wool:white"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_arrow_straight",{
+ description = "Asphalt with arrow",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_arrow_straight.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_arrow_straight 4",
+ recipe = {
+ {"streets:asphalt","streets:asphalt","streets:asphalt"},
+ {"streets:asphalt","wool:white","streets:asphalt"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_arrow_left",{
+ description = "Asphalt with arrow",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_arrow_left.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_arrow_left 4",
+ recipe = {
+ {"streets:asphalt","streets:asphalt","streets:asphalt"},
+ {"wool:white","wool:white","streets:asphalt"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_arrow_right",{
+ description = "Asphalt with arrow",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_arrow_right.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_arrow_right 4",
+ recipe = {
+ {"streets:asphalt","streets:asphalt","streets:asphalt"},
+ {"streets:asphalt","wool:white","wool:white"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_arrow_straight_left",{
+ description = "Asphalt with arrow",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_arrow_straight_left.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_arrow_straight_left 4",
+ recipe = {
+ {"streets:asphalt","wool:white","streets:asphalt"},
+ {"wool:white","wool:white","streets:asphalt"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_arrow_straight_right",{
+ description = "Asphalt with arrow",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_arrow_straight_right.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_arrow_straight_right 4",
+ recipe = {
+ {"streets:asphalt","wool:white","streets:asphalt"},
+ {"streets:asphalt","wool:white","wool:white"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+})
+
+minetest.register_node(":streets:asphalt_arrow_alldirs",{
+ description = "Asphalt with arrow",
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^streets_arrow_alldirs.png","streets_asphalt.png"},
+ paramtype2 = "facedir"
+})
+-- no minetest.register_alias() needed
+minetest.register_craft({
+ output = "streets:asphalt_arrow_alldirs 4",
+ recipe = {
+ {"streets:asphalt","wool:white","streets:asphalt"},
+ {"wool:white","wool:white","wool:white"},
+ {"streets:asphalt","wool:white","streets:asphalt"}
+ }
+}) \ No newline at end of file
diff --git a/labels/textures/streets_arrow_alldirs.png b/labels/textures/streets_arrow_alldirs.png
new file mode 100644
index 0000000..c31eeaa
--- /dev/null
+++ b/labels/textures/streets_arrow_alldirs.png
Binary files differ
diff --git a/labels/textures/streets_arrow_left.png b/labels/textures/streets_arrow_left.png
new file mode 100644
index 0000000..d33a5eb
--- /dev/null
+++ b/labels/textures/streets_arrow_left.png
Binary files differ
diff --git a/labels/textures/streets_arrow_right.png b/labels/textures/streets_arrow_right.png
new file mode 100644
index 0000000..ae6450d
--- /dev/null
+++ b/labels/textures/streets_arrow_right.png
Binary files differ
diff --git a/labels/textures/streets_arrow_straight.png b/labels/textures/streets_arrow_straight.png
new file mode 100644
index 0000000..d4899b9
--- /dev/null
+++ b/labels/textures/streets_arrow_straight.png
Binary files differ
diff --git a/labels/textures/streets_arrow_straight_left.png b/labels/textures/streets_arrow_straight_left.png
new file mode 100644
index 0000000..2f5ddce
--- /dev/null
+++ b/labels/textures/streets_arrow_straight_left.png
Binary files differ
diff --git a/labels/textures/streets_arrow_straight_right.png b/labels/textures/streets_arrow_straight_right.png
new file mode 100644
index 0000000..661d4bf
--- /dev/null
+++ b/labels/textures/streets_arrow_straight_right.png
Binary files differ
diff --git a/labels/textures/streets_asphalt_dashed_line.png b/labels/textures/streets_asphalt_dashed_line.png
new file mode 100644
index 0000000..5a13fac
--- /dev/null
+++ b/labels/textures/streets_asphalt_dashed_line.png
Binary files differ
diff --git a/labels/textures/streets_asphalt_outer_edge.png b/labels/textures/streets_asphalt_outer_edge.png
new file mode 100644
index 0000000..53c1489
--- /dev/null
+++ b/labels/textures/streets_asphalt_outer_edge.png
Binary files differ
diff --git a/labels/textures/streets_asphalt_side.png b/labels/textures/streets_asphalt_side.png
new file mode 100644
index 0000000..9edce81
--- /dev/null
+++ b/labels/textures/streets_asphalt_side.png
Binary files differ
diff --git a/labels/textures/streets_asphalt_solid_line.png b/labels/textures/streets_asphalt_solid_line.png
new file mode 100644
index 0000000..0353aed
--- /dev/null
+++ b/labels/textures/streets_asphalt_solid_line.png
Binary files differ
diff --git a/labels/textures/streets_parking.png b/labels/textures/streets_parking.png
new file mode 100644
index 0000000..a091ef5
--- /dev/null
+++ b/labels/textures/streets_parking.png
Binary files differ