From b6b08a8ad899186bb28e984cbe217d843a44559b Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 10 Jan 2016 04:28:30 -0600 Subject: Redo pavement markings (full nodes only so far) --- labels/init.lua | 561 +++++++++++++-------- .../textures/infrastructure_double_yellow_line.png | Bin 0 -> 270 bytes .../textures/infrastructure_single_yellow_line.png | Bin 0 -> 231 bytes .../infrastructure_single_yellow_line_corner.png | Bin 0 -> 250 bytes ...rastructure_solid_double_yellow_line_corner.png | Bin 0 -> 239 bytes .../infrastructure_solid_yellow_line_one_side.png | Bin 0 -> 272 bytes 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_side_r.png | Bin 0 -> 3812 bytes labels/textures/streets_asphalt_solid_line.png | Bin 0 -> 8003 bytes labels/textures/streets_parking.png | Bin 0 -> 6911 bytes labels/textures/streets_rw_arrow_left.png | Bin 0 -> 8954 bytes labels/textures/streets_rw_arrow_right.png | Bin 0 -> 8951 bytes labels/textures/streets_rw_arrow_straight.png | Bin 0 -> 8796 bytes labels/textures/streets_rw_arrow_straight_left.png | Bin 0 -> 9403 bytes .../textures/streets_rw_arrow_straight_right.png | Bin 0 -> 9306 bytes labels/textures/streets_rw_asphalt_side.png | Bin 0 -> 4190 bytes labels/textures/streets_rw_cross.png | Bin 0 -> 2586 bytes labels/textures/streets_rw_dashed_line.png | Bin 0 -> 7944 bytes .../textures/streets_rw_dashed_line_crossing.png | Bin 0 -> 3841 bytes labels/textures/streets_rw_dashed_line_curve.png | Bin 0 -> 3333 bytes .../textures/streets_rw_dashed_line_tjunction.png | Bin 0 -> 4099 bytes labels/textures/streets_rw_outer_edge.png | Bin 0 -> 5169 bytes labels/textures/streets_rw_parking.png | Bin 0 -> 8571 bytes labels/textures/streets_rw_solid_line.png | Bin 0 -> 8058 bytes labels/textures/streets_rw_solid_line_crossing.png | Bin 0 -> 4005 bytes labels/textures/streets_rw_solid_line_curve.png | Bin 0 -> 3657 bytes .../textures/streets_rw_solid_line_tjunction.png | Bin 0 -> 3702 bytes labels/textures/streets_rw_transparent.png | Bin 0 -> 3836 bytes 36 files changed, 343 insertions(+), 218 deletions(-) create mode 100644 labels/textures/infrastructure_double_yellow_line.png create mode 100644 labels/textures/infrastructure_single_yellow_line.png create mode 100644 labels/textures/infrastructure_single_yellow_line_corner.png create mode 100644 labels/textures/infrastructure_solid_double_yellow_line_corner.png create mode 100644 labels/textures/infrastructure_solid_yellow_line_one_side.png 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_side_r.png create mode 100644 labels/textures/streets_asphalt_solid_line.png create mode 100644 labels/textures/streets_parking.png create mode 100644 labels/textures/streets_rw_arrow_left.png create mode 100644 labels/textures/streets_rw_arrow_right.png create mode 100644 labels/textures/streets_rw_arrow_straight.png create mode 100644 labels/textures/streets_rw_arrow_straight_left.png create mode 100644 labels/textures/streets_rw_arrow_straight_right.png create mode 100644 labels/textures/streets_rw_asphalt_side.png create mode 100644 labels/textures/streets_rw_cross.png create mode 100644 labels/textures/streets_rw_dashed_line.png create mode 100644 labels/textures/streets_rw_dashed_line_crossing.png create mode 100644 labels/textures/streets_rw_dashed_line_curve.png create mode 100644 labels/textures/streets_rw_dashed_line_tjunction.png create mode 100644 labels/textures/streets_rw_outer_edge.png create mode 100644 labels/textures/streets_rw_parking.png create mode 100644 labels/textures/streets_rw_solid_line.png create mode 100644 labels/textures/streets_rw_solid_line_crossing.png create mode 100644 labels/textures/streets_rw_solid_line_curve.png create mode 100644 labels/textures/streets_rw_solid_line_tjunction.png create mode 100644 labels/textures/streets_rw_transparent.png (limited to 'labels') 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 Binary files /dev/null and b/labels/textures/infrastructure_double_yellow_line.png 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 Binary files /dev/null and b/labels/textures/infrastructure_single_yellow_line.png 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 Binary files /dev/null and b/labels/textures/infrastructure_single_yellow_line_corner.png 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 Binary files /dev/null and b/labels/textures/infrastructure_solid_double_yellow_line_corner.png 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 Binary files /dev/null and b/labels/textures/infrastructure_solid_yellow_line_one_side.png differ 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_side_r.png b/labels/textures/streets_asphalt_side_r.png new file mode 100644 index 0000000..a067fda Binary files /dev/null and b/labels/textures/streets_asphalt_side_r.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 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 Binary files /dev/null and b/labels/textures/streets_rw_arrow_left.png 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 Binary files /dev/null and b/labels/textures/streets_rw_arrow_right.png 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 Binary files /dev/null and b/labels/textures/streets_rw_arrow_straight.png 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 Binary files /dev/null and b/labels/textures/streets_rw_arrow_straight_left.png 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 Binary files /dev/null and b/labels/textures/streets_rw_arrow_straight_right.png 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 Binary files /dev/null and b/labels/textures/streets_rw_asphalt_side.png differ diff --git a/labels/textures/streets_rw_cross.png b/labels/textures/streets_rw_cross.png new file mode 100644 index 0000000..a1f34b0 Binary files /dev/null and b/labels/textures/streets_rw_cross.png 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 Binary files /dev/null and b/labels/textures/streets_rw_dashed_line.png 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 Binary files /dev/null and b/labels/textures/streets_rw_dashed_line_crossing.png 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 Binary files /dev/null and b/labels/textures/streets_rw_dashed_line_curve.png 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 Binary files /dev/null and b/labels/textures/streets_rw_dashed_line_tjunction.png 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 Binary files /dev/null and b/labels/textures/streets_rw_outer_edge.png differ diff --git a/labels/textures/streets_rw_parking.png b/labels/textures/streets_rw_parking.png new file mode 100644 index 0000000..aea7fb5 Binary files /dev/null and b/labels/textures/streets_rw_parking.png 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 Binary files /dev/null and b/labels/textures/streets_rw_solid_line.png 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 Binary files /dev/null and b/labels/textures/streets_rw_solid_line_crossing.png 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 Binary files /dev/null and b/labels/textures/streets_rw_solid_line_curve.png 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 Binary files /dev/null and b/labels/textures/streets_rw_solid_line_tjunction.png differ diff --git a/labels/textures/streets_rw_transparent.png b/labels/textures/streets_rw_transparent.png new file mode 100644 index 0000000..9f466f4 Binary files /dev/null and b/labels/textures/streets_rw_transparent.png differ -- cgit v1.2.3