From 7bda846ea7f8c3ad127b167e6c7a797bfd46f73f Mon Sep 17 00:00:00 2001 From: Christian Danscheid Date: Sat, 10 Aug 2013 19:23:52 +0200 Subject: Initial commit --- labels/depends.txt | 3 + labels/init.lua | 180 +++++++++++++++++++++++ labels/textures/streets_arrow_alldirs.png | Bin 0 -> 7932 bytes labels/textures/streets_arrow_left.png | Bin 0 -> 7662 bytes labels/textures/streets_arrow_right.png | Bin 0 -> 7605 bytes labels/textures/streets_arrow_straight.png | Bin 0 -> 7564 bytes labels/textures/streets_arrow_straight_left.png | Bin 0 -> 7770 bytes labels/textures/streets_arrow_straight_right.png | Bin 0 -> 7719 bytes labels/textures/streets_asphalt_dashed_line.png | Bin 0 -> 7946 bytes labels/textures/streets_asphalt_outer_edge.png | Bin 0 -> 4526 bytes labels/textures/streets_asphalt_side.png | Bin 0 -> 3821 bytes labels/textures/streets_asphalt_solid_line.png | Bin 0 -> 8003 bytes labels/textures/streets_parking.png | Bin 0 -> 6911 bytes 13 files changed, 183 insertions(+) create mode 100644 labels/depends.txt create mode 100644 labels/init.lua create mode 100644 labels/textures/streets_arrow_alldirs.png create mode 100644 labels/textures/streets_arrow_left.png create mode 100644 labels/textures/streets_arrow_right.png create mode 100644 labels/textures/streets_arrow_straight.png create mode 100644 labels/textures/streets_arrow_straight_left.png create mode 100644 labels/textures/streets_arrow_straight_right.png create mode 100644 labels/textures/streets_asphalt_dashed_line.png create mode 100644 labels/textures/streets_asphalt_outer_edge.png create mode 100644 labels/textures/streets_asphalt_side.png create mode 100644 labels/textures/streets_asphalt_solid_line.png create mode 100644 labels/textures/streets_parking.png (limited to 'labels') 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 Binary files /dev/null and b/labels/textures/streets_arrow_alldirs.png differ diff --git a/labels/textures/streets_arrow_left.png b/labels/textures/streets_arrow_left.png new file mode 100644 index 0000000..d33a5eb Binary files /dev/null and b/labels/textures/streets_arrow_left.png differ diff --git a/labels/textures/streets_arrow_right.png b/labels/textures/streets_arrow_right.png new file mode 100644 index 0000000..ae6450d Binary files /dev/null and b/labels/textures/streets_arrow_right.png differ diff --git a/labels/textures/streets_arrow_straight.png b/labels/textures/streets_arrow_straight.png new file mode 100644 index 0000000..d4899b9 Binary files /dev/null and b/labels/textures/streets_arrow_straight.png 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 Binary files /dev/null and b/labels/textures/streets_arrow_straight_left.png 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 Binary files /dev/null and b/labels/textures/streets_arrow_straight_right.png 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 Binary files /dev/null and b/labels/textures/streets_asphalt_dashed_line.png 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 Binary files /dev/null and b/labels/textures/streets_asphalt_outer_edge.png differ diff --git a/labels/textures/streets_asphalt_side.png b/labels/textures/streets_asphalt_side.png new file mode 100644 index 0000000..9edce81 Binary files /dev/null and b/labels/textures/streets_asphalt_side.png 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 Binary files /dev/null and b/labels/textures/streets_asphalt_solid_line.png differ diff --git a/labels/textures/streets_parking.png b/labels/textures/streets_parking.png new file mode 100644 index 0000000..a091ef5 Binary files /dev/null and b/labels/textures/streets_parking.png differ -- cgit v1.2.3