summaryrefslogtreecommitdiff
path: root/labels
diff options
context:
space:
mode:
Diffstat (limited to 'labels')
-rw-r--r--labels/init.lua561
-rw-r--r--labels/textures/infrastructure_double_yellow_line.pngbin0 -> 270 bytes
-rw-r--r--labels/textures/infrastructure_single_yellow_line.pngbin0 -> 231 bytes
-rw-r--r--labels/textures/infrastructure_single_yellow_line_corner.pngbin0 -> 250 bytes
-rw-r--r--labels/textures/infrastructure_solid_double_yellow_line_corner.pngbin0 -> 239 bytes
-rw-r--r--labels/textures/infrastructure_solid_yellow_line_one_side.pngbin0 -> 272 bytes
-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_side_r.pngbin0 -> 3812 bytes
-rw-r--r--labels/textures/streets_asphalt_solid_line.pngbin0 -> 8003 bytes
-rw-r--r--labels/textures/streets_parking.pngbin0 -> 6911 bytes
-rw-r--r--labels/textures/streets_rw_arrow_left.pngbin0 -> 8954 bytes
-rw-r--r--labels/textures/streets_rw_arrow_right.pngbin0 -> 8951 bytes
-rw-r--r--labels/textures/streets_rw_arrow_straight.pngbin0 -> 8796 bytes
-rw-r--r--labels/textures/streets_rw_arrow_straight_left.pngbin0 -> 9403 bytes
-rw-r--r--labels/textures/streets_rw_arrow_straight_right.pngbin0 -> 9306 bytes
-rw-r--r--labels/textures/streets_rw_asphalt_side.pngbin0 -> 4190 bytes
-rw-r--r--labels/textures/streets_rw_cross.pngbin0 -> 2586 bytes
-rw-r--r--labels/textures/streets_rw_dashed_line.pngbin0 -> 7944 bytes
-rw-r--r--labels/textures/streets_rw_dashed_line_crossing.pngbin0 -> 3841 bytes
-rw-r--r--labels/textures/streets_rw_dashed_line_curve.pngbin0 -> 3333 bytes
-rw-r--r--labels/textures/streets_rw_dashed_line_tjunction.pngbin0 -> 4099 bytes
-rw-r--r--labels/textures/streets_rw_outer_edge.pngbin0 -> 5169 bytes
-rw-r--r--labels/textures/streets_rw_parking.pngbin0 -> 8571 bytes
-rw-r--r--labels/textures/streets_rw_solid_line.pngbin0 -> 8058 bytes
-rw-r--r--labels/textures/streets_rw_solid_line_crossing.pngbin0 -> 4005 bytes
-rw-r--r--labels/textures/streets_rw_solid_line_curve.pngbin0 -> 3657 bytes
-rw-r--r--labels/textures/streets_rw_solid_line_tjunction.pngbin0 -> 3702 bytes
-rw-r--r--labels/textures/streets_rw_transparent.pngbin0 -> 3836 bytes
36 files changed, 343 insertions, 218 deletions
diff --git a/labels/init.lua b/labels/init.lua
index ba2593f..c15a5ad 100644
--- a/labels/init.lua
+++ b/labels/init.lua
@@ -1,223 +1,348 @@
--[[
StreetsMod: All kinds of asphalt with labels
]]
-minetest.register_node(":streets:asphalt_sideline",{
- description = streets.S("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 = {
- {"dye:white","streets:asphalt","streets:asphalt"},
- {"dye:white","streets:asphalt","streets:asphalt"},
- {"dye:white","streets:asphalt","streets:asphalt"}
- }
-})
-
-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},
- 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","dye:white","streets:asphalt"},
- {"streets:asphalt","dye:white","streets:asphalt"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_dashed_line",{
- description = streets.S("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","dye:white","streets:asphalt"},
- {"streets:asphalt","streets:asphalt","streets:asphalt"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_outer_edge",{
- description = streets.S("Asphalt with sideline (edge)"),
- groups = {cracky=3},
- 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",
- recipe = {
+
+streets.register_label = function(friendlyname,name,tex,craft)
+ minetest.register_node(":streets:mark_"..name,{
+ description = streets.S("Marking Overlay: "..friendlyname),
+ tiles = {tex,"streets_rw_transparent.png"},
+ drawtype = "nodebox",
+ paramtype = "light",
+ paramtype2 = "facedir",
+ groups = {snappy = 3,attached_node = 1,oddly_breakable_by_hand = 1},
+ sunlight_propagates = true,
+ walkable = false,
+ inventory_image = tex,
+ wield_image = tex,
+ after_place_node = function(pos)
+ local node = minetest.get_node(pos)
+ local lower_pos = {x = pos.x, y = pos.y-1, z = pos.z}
+ local lower_node = minetest.get_node(lower_pos)
+ if lower_node.name == "streets:asphalt" then
+ lower_node.name = "streets:mark_"..(node.name:sub(14)).."_on_asphalt"
+ lower_node.param2 = node.param2
+ minetest.set_node(lower_pos,lower_node)
+ minetest.remove_node(pos)
+ end
+ end,
+ node_box = {
+ type = "fixed",
+ fixed = {-0.5,-0.5,-0.5,0.5,-0.499,0.5}
+ },
+ selection_box = {
+ type = "fixed",
+ fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2}
+ }
+ })
+
+ minetest.register_node(":streets:mark_"..name.."_on_asphalt",{
+ description = streets.S("Asphalt With Marking: "..friendlyname),
+ groups = {cracky=3},
+ tiles = {"streets_asphalt.png^"..tex,"streets_asphalt.png"},
+ paramtype2 = "facedir"
+ })
+
+ minetest.register_craft({
+ output = "streets:mark_"..name.."_on_asphalt",
+ type = "shapeless",
+ recipe = {"streets:asphalt","streets:mark_"..name}
+ })
+
+ minetest.register_craft({
+ output = "streets:mark_"..name.." 6",
+ recipe = craft
+ })
+end
+
+
+--White Markings
+streets.register_label("Solid White Side Line","solid_white_side_line","streets_asphalt_side.png",{
+ {"dye:white","",""},
+ {"dye:white","",""},
+ {"dye:white","",""}
+ })
+
+minetest.register_alias("streets:asphalt_side","streets:mark_solid_white_side_line_on_asphalt")
+minetest.register_alias("streets:asphalt_sideline","streets:mark_solid_white_side_line_on_asphalt")
+
+streets.register_label("Solid White Side Line (rotated)","solid_white_side_line_rotated","streets_asphalt_side.png^[transformR180",{{"streets:mark_solid_white_side_line"}})
+
+minetest.register_alias("streets:asphalt_sideline_r","streets:mark_solid_white_side_line_rotated_on_asphalt")
+
+
+streets.register_label("Solid White Center Line","solid_white_center_line","streets_asphalt_solid_line.png",{
+ {"","dye:white",""},
+ {"","dye:white",""},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_middle","streets:mark_solid_white_center_line_on_asphalt")
+minetest.register_alias("streets:asphalt_solid_line","streets:mark_solid_white_center_line_on_asphalt")
+
+
+streets.register_label("Dashed White Center Line","dashed_white_center_line","streets_asphalt_dashed_line.png",{
+ {"","dye:white",""},
+ {"","",""},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_middle_dashed","streets:mark_dashed_white_center_line_on_asphalt")
+minetest.register_alias("streets:asphalt_dashed_line","streets:mark_dashed_white_center_line_on_asphalt")
+
+
+streets.register_label("Solid White Side Line (corner)","solid_white_side_line_corner","streets_asphalt_outer_edge.png",{
{"dye:white","dye:white","dye:white"},
- {"dye:white","streets:asphalt","streets:asphalt"},
- {"dye:white","streets:asphalt","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_parking",{
- description = streets.S("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_parking 4",
- recipe = {
- {"streets:asphalt","dye:white","dye:white"},
- {"streets:asphalt","dye:white","dye:white"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_arrow_straight",{
- description = streets.S("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","dye:white","streets:asphalt"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_arrow_left",{
- description = streets.S("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"},
- {"dye:white","dye:white","streets:asphalt"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_arrow_right",{
- description = streets.S("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","dye:white","dye:white"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_arrow_straight_left",{
- description = streets.S("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","dye:white","streets:asphalt"},
- {"dye:white","dye:white","streets:asphalt"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_arrow_straight_right",{
- description = streets.S("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","dye:white","streets:asphalt"},
- {"streets:asphalt","dye:white","dye:white"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
-
-minetest.register_node(":streets:asphalt_arrow_alldirs",{
- description = streets.S("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","dye:white","streets:asphalt"},
+ {"dye:white","",""},
+ {"dye:white","",""}
+ })
+
+minetest.register_alias("streets:asphalt_outer_edge","streets:mark_solid_white_side_line_corner_on_asphalt")
+
+
+streets.register_label("Solid White Side Line (corner, rotated)","solid_white_side_line_corner_rotated","streets_asphalt_outer_edge.png^[transformR270",{{"streets:mark_solid_white_line_corner"}})
+
+minetest.register_alias("streets:asphalt_outer_edge_r","streets:mark_solid_white_side_line_corner_rotated_on_asphalt")
+
+
+streets.register_label("Parking (white)","white_parking","streets_parking.png",{
+ {"","dye:white","dye:white"},
+ {"","dye:white","dye:white"},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_parking","streets:mark_white_parking_on_asphalt")
+
+
+streets.register_label("White Arrow (straight)","white_arrow_straight","streets_arrow_straight.png",{
+ {"","",""},
+ {"","dye:white",""},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_arrow_straight","streets:mark_white_arrow_straight_on_asphalt")
+
+
+streets.register_label("White Arrow (left)","white_arrow_left","streets_arrow_left.png",{
+ {"","",""},
+ {"dye:white","dye:white",""},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_arrow_left","streets:mark_white_arrow_left_on_asphalt")
+
+
+streets.register_label("White Arrow (right)","white_arrow_right","streets_arrow_right.png",{
+ {"","",""},
+ {"","dye:white","dye:white"},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_arrow_right","streets:mark_white_arrow_right_on_asphalt")
+
+
+streets.register_label("White Arrow (left+straight)","white_arrow_left_straight","streets_arrow_straight_left.png",{
+ {"","dye:white",""},
+ {"dye:white","dye:white",""},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_arrow_straight_left","streets:mark_white_arrow_left_straight_on_asphalt")
+
+
+streets.register_label("White Arrow (straight+right)","white_arrow_straight_right","streets_arrow_straight_right.png",{
+ {"","dye:white",""},
+ {"","dye:white","dye:white"},
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_arrow_straight_right","streets:mark_white_arrow_straight_right_on_asphalt")
+
+
+streets.register_label("White Arrow (left+straight+right)","white_arrow_left_straight_right","streets_arrow_alldirs.png",{
+ {"","dye:white",""},
{"dye:white","dye:white","dye:white"},
- {"streets:asphalt","dye:white","streets:asphalt"}
- }
-})
+ {"","dye:white",""}
+ })
+
+minetest.register_alias("streets:asphalt_arrow_alldirs","streets:mark_white_arrow_left_straight_right_on_asphalt")
+
+
+--Yellow streetsmod markings
+
+streets.register_label("Solid Yellow Center Line","solid_yellow_center_line","streets_rw_solid_line.png",{
+ {"","dye:yellow",""},
+ {"","dye:yellow",""},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_asphalt_solid","streets:mark_solid_yellow_center_line")
+
+
+streets.register_label("Dashed Yellow Center Line","dashed_yellow_center_line","streets_rw_dashed_line.png",{
+ {"","dye:yellow",""},
+ {"","",""},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_asphalt_dashed","streets:mark_dashed_yellow_center_line")
+
+
+streets.register_label("Yellow X","yellow_x","streets_rw_cross.png",{
+ {"dye:yellow","","dye:yellow"},
+ {"","dye:yellow",""},
+ {"dye:yellow","","dye:yellow"}
+ })
+
+minetest.register_alias("streets:rw_cross","streets:mark_yellow_x")
+
+
+streets.register_label("Solid Yellow Side Line (corner)","solid_yellow_side_line_corner","streets_rw_outer_edge.png",{
+ {"dye:yellow","dye:yellow","dye:yellow"},
+ {"dye:yellow","",""},
+ {"dye:yellow","",""}
+ })
+
+minetest.register_alias("streets:rw_outer_edge","streets:solid_yellow_side_line_corner")
+
+
+streets.register_label("Solid Yellow Side Line (corner,rotated)","solid_yellow_side_line_corner_rotated","streets_rw_outer_edge.png^[transformR270",{{"streets:mark_solid_yellow_side_line_corner"}})
+
+minetest.register_alias("streets:rw_outer_edge","streets:solid_yellow_side_line_corner")
+
+
+streets.register_label("Parking (yellow)","yellow_parking","streets_rw_parking.png",{
+ {"","dye:yellow","dye:yellow"},
+ {"","dye:yellow","dye:yellow"},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_parking","streets:mark_yellow_parking")
+
+
+streets.register_label("Yellow Arrow (straight)","yellow_arrow_straight","streets_rw_arrow_straight.png",{
+ {"","",""},
+ {"","dye:yellow",""},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_straight","streets:mark_yellow_arrow_straight")
+
+
+streets.register_label("Yellow Arrow (left)","yellow_arrow_left","streets_rw_arrow_left.png",{
+ {"","",""},
+ {"dye:yellow","dye:yellow",""},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_left","streets:mark_yellow_arrow_left")
+
+
+streets.register_label("Yellow Arrow (right)","yellow_arrow_right","streets_rw_arrow_right.png",{
+ {"","",""},
+ {"","dye:yellow","dye:yellow"},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_right","streets:mark_yellow_arrow_right")
+
+
+streets.register_label("Yellow Arrow (left+straight)","yellow_arrow_left_straight","streets_rw_arrow_straight_left.png",{
+ {"","dye:yellow",""},
+ {"dye:yellow","dye:yellow",""},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_straight_left","streets:mark_yellow_arrow_left_straight")
+
+
+streets.register_label("Yellow Arrow (straight+right)","yellow_arrow_straight_right","streets_rw_arrow_straight_right.png",{
+ {"","dye:yellow",""},
+ {"","dye:yellow","dye:yellow"},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_straight_right","streets:mark_yellow_arrow_straight_right")
+
+
+streets.register_label("Yellow Arrow (left+straight+right)","yellow_arrow_left_straight_right","streets_rw_arrow_alldirs.png",{
+ {"","dye:yellow",""},
+ {"dye:yellow","dye:yellow","dye:yellow"},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("streets:rw_alldirs","streets:mark_yellow_arrow_left_straight_right")
+
+streets.register_label("Solid Yellow Side Line","solid_yellow_side_line","streets_rw_asphalt_side.png",{
+ {"dye:yellow","",""},
+ {"dye:yellow","",""},
+ {"dye:yellow","",""}
+ })
+
+minetest.register_alias("streets:rw_sideline","streets:mark_solid_yellow_side_line")
+
+streets.register_label("Solid Yellow Side Line (rotated)","solid_yellow_side_line_rotated","streets_rw_asphalt_side.png^[transformR180",{{"streets:mark_solid_yellow_side_line"}})
+
+
+--Infrastructure markings
+
+streets.register_label("Solid Yellow Center Line (wide)","solid_yellow_center_line_wide","infrastructure_single_yellow_line.png",{
+ {"","",""},
+ {"dye:yellow","dye:yellow","dye:yellow"},
+ {"","",""}
+ })
+
+minetest.register_alias("infrastructure:asphalt_center_solid_line","streets:mark_solid_yellow_center_line_wide_on_asphalt")
+
+
+streets.register_label("Solid Yellow Center Line (wide,offset)","solid_yellow_center_line_wide_offset","infrastructure_solid_yellow_line_one_side.png",{
+ {"","",""},
+ {"","",""},
+ {"dye:yellow","dye:yellow","dye:yellow"}
+ })
+
+minetest.register_alias("infrastructure:asphalt_center_solid_one_side","streets:mark_solid_yellow_center_line_wide_offset_on_asphalt")
+
+
+streets.register_label("Double Yellow Center Line (wide)","double_yellow_center_line_wide","infrastructure_double_yellow_line.png",{
+ {"dye:yellow","dye:yellow","dye:yellow"},
+ {"","",""},
+ {"dye:yellow","dye:yellow","dye:yellow"}
+ })
+
+minetest.register_alias("infrastructure:asphalt_center_solid_double","streets:mark_double_yellow_center_line_wide_on_asphalt")
+
+
+streets.register_label("Solid Yellow Center Line (wide,corner)","solid_yellow_center_line_wide_corner","infrastructure_single_yellow_line_corner.png",{
+ {"","dye:yellow","dye:yellow"},
+ {"","dye:yellow",""},
+ {"","dye:yellow",""}
+ })
+
+minetest.register_alias("infrastructure:asphalt_center_corner_single","streets:mark_solid_yellow_center_line_wide_corner_on_asphalt")
+
+
+streets.register_label("Double Yellow Center Line (wide,corner)","double_yellow_center_line_wide_corner","infrastructure_solid_double_yellow_line_corner.png",{
+ {"dye:yellow","dye:yellow","dye:yellow"},
+ {"dye:yellow","",""},
+ {"dye:yellow","","dye:yellow"}
+ })
+
+minetest.register_alias("infrastructure:asphalt_center_corner_double","streets:mark_double_yellow_center_line_wide_corner_on_asphalt")
+
+
+minetest.register_alias("infrastructure:asphalt_arrow_straight", "streets:asphalt_arrow_straight")
+
+
+minetest.register_alias("infrastructure:asphalt_arrow_straight_left", "streets:asphalt_arrow_straight_left")
+
+
+minetest.register_alias("infrastructure:asphalt_arrow_straight_right", "streets:asphalt_arrow_straight_left")
+
+
+minetest.register_alias("infrastructure:asphalt_arrow_left", "streets:asphalt_arrow_left")
+
+
+minetest.register_alias("infrastructure:asphalt_arrow_right", "streets:asphalt_arrow_right")
+
+
+minetest.register_alias("infrastructure:asphalt_parking", "streets:asphalt_parking")
diff --git a/labels/textures/infrastructure_double_yellow_line.png b/labels/textures/infrastructure_double_yellow_line.png
new file mode 100644
index 0000000..3f21c45
--- /dev/null
+++ b/labels/textures/infrastructure_double_yellow_line.png
Binary files differ
diff --git a/labels/textures/infrastructure_single_yellow_line.png b/labels/textures/infrastructure_single_yellow_line.png
new file mode 100644
index 0000000..a9ca74b
--- /dev/null
+++ b/labels/textures/infrastructure_single_yellow_line.png
Binary files differ
diff --git a/labels/textures/infrastructure_single_yellow_line_corner.png b/labels/textures/infrastructure_single_yellow_line_corner.png
new file mode 100644
index 0000000..a41d06a
--- /dev/null
+++ b/labels/textures/infrastructure_single_yellow_line_corner.png
Binary files differ
diff --git a/labels/textures/infrastructure_solid_double_yellow_line_corner.png b/labels/textures/infrastructure_solid_double_yellow_line_corner.png
new file mode 100644
index 0000000..09a3719
--- /dev/null
+++ b/labels/textures/infrastructure_solid_double_yellow_line_corner.png
Binary files differ
diff --git a/labels/textures/infrastructure_solid_yellow_line_one_side.png b/labels/textures/infrastructure_solid_yellow_line_one_side.png
new file mode 100644
index 0000000..0cff2e9
--- /dev/null
+++ b/labels/textures/infrastructure_solid_yellow_line_one_side.png
Binary files differ
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_side_r.png b/labels/textures/streets_asphalt_side_r.png
new file mode 100644
index 0000000..a067fda
--- /dev/null
+++ b/labels/textures/streets_asphalt_side_r.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
diff --git a/labels/textures/streets_rw_arrow_left.png b/labels/textures/streets_rw_arrow_left.png
new file mode 100644
index 0000000..6a51a51
--- /dev/null
+++ b/labels/textures/streets_rw_arrow_left.png
Binary files differ
diff --git a/labels/textures/streets_rw_arrow_right.png b/labels/textures/streets_rw_arrow_right.png
new file mode 100644
index 0000000..05f503f
--- /dev/null
+++ b/labels/textures/streets_rw_arrow_right.png
Binary files differ
diff --git a/labels/textures/streets_rw_arrow_straight.png b/labels/textures/streets_rw_arrow_straight.png
new file mode 100644
index 0000000..0c9e613
--- /dev/null
+++ b/labels/textures/streets_rw_arrow_straight.png
Binary files differ
diff --git a/labels/textures/streets_rw_arrow_straight_left.png b/labels/textures/streets_rw_arrow_straight_left.png
new file mode 100644
index 0000000..0429c81
--- /dev/null
+++ b/labels/textures/streets_rw_arrow_straight_left.png
Binary files differ
diff --git a/labels/textures/streets_rw_arrow_straight_right.png b/labels/textures/streets_rw_arrow_straight_right.png
new file mode 100644
index 0000000..02367d7
--- /dev/null
+++ b/labels/textures/streets_rw_arrow_straight_right.png
Binary files differ
diff --git a/labels/textures/streets_rw_asphalt_side.png b/labels/textures/streets_rw_asphalt_side.png
new file mode 100644
index 0000000..83c8a6e
--- /dev/null
+++ b/labels/textures/streets_rw_asphalt_side.png
Binary files differ
diff --git a/labels/textures/streets_rw_cross.png b/labels/textures/streets_rw_cross.png
new file mode 100644
index 0000000..a1f34b0
--- /dev/null
+++ b/labels/textures/streets_rw_cross.png
Binary files differ
diff --git a/labels/textures/streets_rw_dashed_line.png b/labels/textures/streets_rw_dashed_line.png
new file mode 100644
index 0000000..4eb211e
--- /dev/null
+++ b/labels/textures/streets_rw_dashed_line.png
Binary files differ
diff --git a/labels/textures/streets_rw_dashed_line_crossing.png b/labels/textures/streets_rw_dashed_line_crossing.png
new file mode 100644
index 0000000..bebe4c5
--- /dev/null
+++ b/labels/textures/streets_rw_dashed_line_crossing.png
Binary files differ
diff --git a/labels/textures/streets_rw_dashed_line_curve.png b/labels/textures/streets_rw_dashed_line_curve.png
new file mode 100644
index 0000000..4a59805
--- /dev/null
+++ b/labels/textures/streets_rw_dashed_line_curve.png
Binary files differ
diff --git a/labels/textures/streets_rw_dashed_line_tjunction.png b/labels/textures/streets_rw_dashed_line_tjunction.png
new file mode 100644
index 0000000..144480b
--- /dev/null
+++ b/labels/textures/streets_rw_dashed_line_tjunction.png
Binary files differ
diff --git a/labels/textures/streets_rw_outer_edge.png b/labels/textures/streets_rw_outer_edge.png
new file mode 100644
index 0000000..54f16ea
--- /dev/null
+++ b/labels/textures/streets_rw_outer_edge.png
Binary files differ
diff --git a/labels/textures/streets_rw_parking.png b/labels/textures/streets_rw_parking.png
new file mode 100644
index 0000000..aea7fb5
--- /dev/null
+++ b/labels/textures/streets_rw_parking.png
Binary files differ
diff --git a/labels/textures/streets_rw_solid_line.png b/labels/textures/streets_rw_solid_line.png
new file mode 100644
index 0000000..3396d63
--- /dev/null
+++ b/labels/textures/streets_rw_solid_line.png
Binary files differ
diff --git a/labels/textures/streets_rw_solid_line_crossing.png b/labels/textures/streets_rw_solid_line_crossing.png
new file mode 100644
index 0000000..4f911ed
--- /dev/null
+++ b/labels/textures/streets_rw_solid_line_crossing.png
Binary files differ
diff --git a/labels/textures/streets_rw_solid_line_curve.png b/labels/textures/streets_rw_solid_line_curve.png
new file mode 100644
index 0000000..596983c
--- /dev/null
+++ b/labels/textures/streets_rw_solid_line_curve.png
Binary files differ
diff --git a/labels/textures/streets_rw_solid_line_tjunction.png b/labels/textures/streets_rw_solid_line_tjunction.png
new file mode 100644
index 0000000..e6d11e7
--- /dev/null
+++ b/labels/textures/streets_rw_solid_line_tjunction.png
Binary files differ
diff --git a/labels/textures/streets_rw_transparent.png b/labels/textures/streets_rw_transparent.png
new file mode 100644
index 0000000..9f466f4
--- /dev/null
+++ b/labels/textures/streets_rw_transparent.png
Binary files differ