diff options
Diffstat (limited to 'labels')
-rw-r--r-- | labels/depends.txt | 3 | ||||
-rw-r--r-- | labels/init.lua | 180 | ||||
-rw-r--r-- | labels/textures/streets_arrow_alldirs.png | bin | 0 -> 7932 bytes | |||
-rw-r--r-- | labels/textures/streets_arrow_left.png | bin | 0 -> 7662 bytes | |||
-rw-r--r-- | labels/textures/streets_arrow_right.png | bin | 0 -> 7605 bytes | |||
-rw-r--r-- | labels/textures/streets_arrow_straight.png | bin | 0 -> 7564 bytes | |||
-rw-r--r-- | labels/textures/streets_arrow_straight_left.png | bin | 0 -> 7770 bytes | |||
-rw-r--r-- | labels/textures/streets_arrow_straight_right.png | bin | 0 -> 7719 bytes | |||
-rw-r--r-- | labels/textures/streets_asphalt_dashed_line.png | bin | 0 -> 7946 bytes | |||
-rw-r--r-- | labels/textures/streets_asphalt_outer_edge.png | bin | 0 -> 4526 bytes | |||
-rw-r--r-- | labels/textures/streets_asphalt_side.png | bin | 0 -> 3821 bytes | |||
-rw-r--r-- | labels/textures/streets_asphalt_solid_line.png | bin | 0 -> 8003 bytes | |||
-rw-r--r-- | labels/textures/streets_parking.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..c31eeaa --- /dev/null +++ b/labels/textures/streets_arrow_alldirs.png diff --git a/labels/textures/streets_arrow_left.png b/labels/textures/streets_arrow_left.png Binary files differnew file mode 100644 index 0000000..d33a5eb --- /dev/null +++ b/labels/textures/streets_arrow_left.png diff --git a/labels/textures/streets_arrow_right.png b/labels/textures/streets_arrow_right.png Binary files differnew file mode 100644 index 0000000..ae6450d --- /dev/null +++ b/labels/textures/streets_arrow_right.png diff --git a/labels/textures/streets_arrow_straight.png b/labels/textures/streets_arrow_straight.png Binary files differnew file mode 100644 index 0000000..d4899b9 --- /dev/null +++ b/labels/textures/streets_arrow_straight.png diff --git a/labels/textures/streets_arrow_straight_left.png b/labels/textures/streets_arrow_straight_left.png Binary files differnew file mode 100644 index 0000000..2f5ddce --- /dev/null +++ b/labels/textures/streets_arrow_straight_left.png diff --git a/labels/textures/streets_arrow_straight_right.png b/labels/textures/streets_arrow_straight_right.png Binary files differnew file mode 100644 index 0000000..661d4bf --- /dev/null +++ b/labels/textures/streets_arrow_straight_right.png diff --git a/labels/textures/streets_asphalt_dashed_line.png b/labels/textures/streets_asphalt_dashed_line.png Binary files differnew file mode 100644 index 0000000..5a13fac --- /dev/null +++ b/labels/textures/streets_asphalt_dashed_line.png diff --git a/labels/textures/streets_asphalt_outer_edge.png b/labels/textures/streets_asphalt_outer_edge.png Binary files differnew file mode 100644 index 0000000..53c1489 --- /dev/null +++ b/labels/textures/streets_asphalt_outer_edge.png diff --git a/labels/textures/streets_asphalt_side.png b/labels/textures/streets_asphalt_side.png Binary files differnew file mode 100644 index 0000000..9edce81 --- /dev/null +++ b/labels/textures/streets_asphalt_side.png diff --git a/labels/textures/streets_asphalt_solid_line.png b/labels/textures/streets_asphalt_solid_line.png Binary files differnew file mode 100644 index 0000000..0353aed --- /dev/null +++ b/labels/textures/streets_asphalt_solid_line.png diff --git a/labels/textures/streets_parking.png b/labels/textures/streets_parking.png Binary files differnew file mode 100644 index 0000000..a091ef5 --- /dev/null +++ b/labels/textures/streets_parking.png |