diff options
author | orwell96 <orwell@bleipb.de> | 2018-12-03 23:17:35 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-12-03 23:17:35 +0100 |
commit | 8928f78ee6305e29ed8d3b9395fcb6564c984fdf (patch) | |
tree | cd250c2b98d7131158e3744efe238780cec73fec /signs_road | |
parent | eccdad46ef2b38cd061aab7ae6bcb252a67c2218 (diff) | |
parent | a3e0d36a68247cac40349d9089fe3c71546d75e8 (diff) | |
download | display_modpack-master.tar.gz display_modpack-master.tar.bz2 display_modpack-master.zip |
Resolved conflicts by reordering of files
Diffstat (limited to 'signs_road')
23 files changed, 837 insertions, 1068 deletions
diff --git a/signs_road/README.md b/signs_road/README.md index 2343ea9..0a2f685 100644 --- a/signs_road/README.md +++ b/signs_road/README.md @@ -2,7 +2,7 @@ This mod provides road signs with text display. Text is locked if area is protected. -For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?f=11&t=13563) at the Minetest forums. +For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?t=19365) at the Minetest forums. **Dependancies**: default, display\_lib, font\_lib, signs diff --git a/signs_road/compatibility.lua b/signs_road/compatibility.lua index fa5f94b..5fb673a 100644 --- a/signs_road/compatibility.lua +++ b/signs_road/compatibility.lua @@ -22,7 +22,7 @@ ------------------------------------ local wallmounted_to_facedir = { - [0]=1, -- Should not happend with signs + [0]=1, -- Should not happend with signs [1]=1, -- Should not happend with signs [2]=1, [3]=3, @@ -45,9 +45,9 @@ local function compatibility_check(pos, node) node.name = convert_nodes[node.name] if node.name then node.param2 = wallmounted_to_facedir[node.param2] - display_lib.on_destruct(pos) + display_api.on_destruct(pos) minetest.swap_node(pos, node) - display_lib.on_construct(pos) + display_api.on_construct(pos) end end @@ -69,7 +69,7 @@ local function compatibility_check_2(pos, node) end end -- Create new entity - display_lib.update_entities(pos) + display_api.update_entities(pos) end minetest.register_lbm({ name = "signs_road:conpatibility_2", @@ -82,4 +82,9 @@ minetest.register_lbm({ name = "signs_road:conpatibility_2", action = compatibility_check_2, }) +-- Node name tidy up +-------------------- +minetest.register_alias("signs_road:green_street_sign", "signs_road:green_sign") +minetest.register_alias("signs_road:yellow_street_sign", "signs_road:yellow_sign") +minetest.register_alias("signs_road:white_street_sign", "signs_road:white_sign") diff --git a/signs_road/copyright.txt b/signs_road/copyright.txt index c53bf3d..bb7adc8 100644 --- a/signs_road/copyright.txt +++ b/signs_road/copyright.txt @@ -1,5 +1,9 @@ Code, Textures and Models by Pierre-Yves Rollo (pyrollo) -intllib support (i18n) by fat115 +intllib support (i18n) by (fat115) intllib fallback code and tools by Diego MartÃnez (kaeza) -Extra contributors : (gpcf) - +Extra contributors: +(gpcf) +(Thomas--S) +Translations: +Muhammad Nur Hidayat Yasuyoshi (MuhdNurHidayat) +(fat115) diff --git a/signs_road/crafts.lua b/signs_road/crafts.lua index 3c15437..314a91a 100644 --- a/signs_road/crafts.lua +++ b/signs_road/crafts.lua @@ -19,57 +19,54 @@ along with signs_road. If not, see <http://www.gnu.org/licenses/>. --]] +-- Standard rectangle signs + minetest.register_craft({ - output = 'signs_road:blue_street_sign 2', + output = 'signs_road:white_sign 2', recipe = { - {'dye:blue', 'dye:white', ''}, + {'dye:white', 'dye:black', ''}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {'', '', ''}, } }) minetest.register_craft({ - output = 'signs_road:red_street_sign 2', + output = 'signs_road:blue_sign 2', recipe = { - {'dye:white', 'dye:red', ''}, + {'dye:blue', 'dye:white', ''}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {'', '', ''}, } }) minetest.register_craft({ - output = 'signs_road:white_street_sign 2', + output = 'signs_road:green_sign 2', recipe = { - {'dye:white', 'dye:black', ''}, + {'dye:green', 'dye:white', ''}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {'', '', ''}, } }) minetest.register_craft({ - type = "shapeless", - output = 'signs_road:large_street_sign', - recipe = {'signs_road:white_street_sign', 'signs_road:white_street_sign', 'signs_road:white_street_sign', 'signs_road:white_street_sign'}, -}) - -minetest.register_craft({ - output = 'signs_road:green_street_sign 2', + output = 'signs_road:yellow_sign 2', recipe = { - {'dye:green', 'dye:white', ''}, + {'dye:yellow', 'dye:black', ''}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {'', '', ''}, } }) minetest.register_craft({ - output = 'signs_road:yellow_street_sign 2', + output = 'signs_road:red_sign 2', recipe = { - {'dye:yellow', 'dye:black', ''}, + {'dye:red', 'dye:white', ''}, {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, {'', '', ''}, } }) +-- Standard direction signs minetest.register_craft({ output = 'signs_road:black_right_sign 2', @@ -81,6 +78,24 @@ minetest.register_craft({ }) minetest.register_craft({ + output = 'signs_road:white_right_sign 2', + recipe = { + {'dye:white', 'dye:black', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:steel_ingot', ''}, + {'', '', ''}, + } +}) + +minetest.register_craft({ + output = 'signs_road:blue_right_sign 2', + recipe = { + {'dye:blue', 'dye:white', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:steel_ingot', ''}, + {'', '', ''}, + } +}) + +minetest.register_craft({ output = 'signs_road:green_right_sign 2', recipe = { {'dye:green', 'dye:white', 'default:steel_ingot'}, @@ -92,18 +107,95 @@ minetest.register_craft({ minetest.register_craft({ output = 'signs_road:yellow_right_sign 2', recipe = { - {'dye:yellow', 'dye:white', 'default:steel_ingot'}, + {'dye:yellow', 'dye:black', 'default:steel_ingot'}, {'default:steel_ingot', 'default:steel_ingot', ''}, {'', '', ''}, } }) minetest.register_craft({ - output = 'signs_road:white_right_sign 2', + output = 'signs_road:red_right_sign 2', recipe = { - {'dye:white', 'dye:black', 'default:steel_ingot'}, + {'dye:red', 'dye:white', 'default:steel_ingot'}, {'default:steel_ingot', 'default:steel_ingot', ''}, {'', '', ''}, } }) +-- Transform Rectangle <-> Direction + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:white_right_sign', + recipe = {'signs_road:white_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:white_sign', + recipe = {'signs_road:white_right_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:blue_right_sign', + recipe = {'signs_road:blue_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:blue_sign', + recipe = {'signs_road:blue_right_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:green_right_sign', + recipe = {'signs_road:green_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:green_sign', + recipe = {'signs_road:green_right_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:yellow_right_sign', + recipe = {'signs_road:yellow_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:yellow_sign', + recipe = {'signs_road:yellow_right_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:red_right_sign', + recipe = {'signs_road:red_sign'}, +}) + +minetest.register_craft({ + type = 'shapeless', output = 'signs_road:red_sign', + recipe = {'signs_road:red_right_sign'}, +}) + +-- Various signs + +minetest.register_craft({ + output = 'signs_road:blue_street_sign 4', + recipe = { + {'dye:blue', 'dye:white', 'dye:blue'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + } +}) + +minetest.register_craft({ + output = 'signs_road:red_street_sign 2', + recipe = { + {'dye:white', 'dye:red', 'dye:black'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + {'', '', ''}, + } +}) + +minetest.register_craft({ + type = "shapeless", + output = 'signs_road:large_street_sign', + recipe = {'signs_road:white_street_sign', 'signs_road:white_street_sign', 'signs_road:white_street_sign', 'signs_road:white_street_sign'}, +}) diff --git a/signs_road/depends.txt b/signs_road/depends.txt index 730e727..eeb3b01 100644 --- a/signs_road/depends.txt +++ b/signs_road/depends.txt @@ -1,6 +1,6 @@ default intllib? dye -display_lib -font_lib -signs +display_api +font_api +signs_api diff --git a/signs_road/nodes.lua b/signs_road/nodes.lua index c5d92b6..74eca23 100644 --- a/signs_road/nodes.lua +++ b/signs_road/nodes.lua @@ -27,16 +27,16 @@ local models = { width = 14/16, height = 12/16, entity_fields = { - resolution = { x = 144, y = 64 }, + size = { x = 14/16, y = 10/16 }, maxlines = 3, color = "#fff", }, node_fields = { description = S("Blue street sign"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_blue.png" }, - inventory_image = "signs_road_blue.png", + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_blue_street.png" }, + inventory_image = "signs_road_blue_street.png", }, }, large_street_sign = { @@ -44,106 +44,139 @@ local models = { width = 64/16, height = 12/16, entity_fields = { - resolution = { x = 30, y = 20 }, maxlines = 1, color = "#000", }, node_fields = { visual_scale = 1, description = S("Large banner"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", "signs_road_large_white.png" }, inventory_image = "signs_road_white.png", }, }, - red_street_sign = { depth = 1/16, width = 1, height = 7/16, entity_fields = { - resolution = { x = 96, y = 64 }, + size = { x = 1, y = 4/16 }, maxlines = 1, color = "#000", }, node_fields = { description = S("Red and white town sign"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", "signs_road_red_white.png" }, inventory_image="signs_road_red_white.png", }, }, - white_street_sign = { + white_sign = { depth = 1/16, width = 1, height = 7/16, entity_fields = { - resolution = { x = 96, y = 64 }, + size = { x = 1, y = 6/16 }, maxlines = 2, color = "#000", }, node_fields = { description = S("White street sign"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", "signs_road_white.png" }, inventory_image = "signs_road_white.png", }, }, - green_street_sign = { + blue_sign = { + depth = 1/16, + width = 1, + height = 7/16, + entity_fields = { + size = { x = 1, y = 6/16 }, + maxlines = 2, + color = "#fff", + }, + node_fields = { + description = S("Blue road sign"), + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_blue.png" }, + inventory_image = "signs_road_blue.png", + }, + }, + green_sign = { depth = 1/16, width = 1, height = 7/16, entity_fields = { - resolution = { x = 96, y = 64 }, + size = { x = 1, y = 6/16 }, maxlines = 2, color = "#fff", }, node_fields = { - description = S("Green street sign"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", + description = S("Green road sign"), + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", "signs_road_green.png" }, inventory_image = "signs_road_green.png", }, }, - yellow_street_sign = { + yellow_sign = { depth = 1/16, width = 1, height = 7/16, entity_fields = { - resolution = { x = 96, y = 64 }, + size = { x = 1, y = 6/16 }, maxlines = 2, color = "#000", }, node_fields = { - description = S("Yellow street sign"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", + description = S("Yellow road sign"), + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", "signs_road_yellow.png" }, inventory_image="signs_road_yellow.png", }, }, + red_sign = { + depth = 1/16, + width = 1, + height = 7/16, + entity_fields = { + size = { x = 1, y = 6/16 }, + maxlines = 2, + color = "#fff", + }, + node_fields = { + description = S("Red road sign"), + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_red.png" }, + inventory_image = "signs_road_red.png", + }, + }, black_right_sign = { depth = 1/32, width = 1, height = 0.5, entity_fields = { - resolution = { x = 96, y = 64 }, + aspect_ratio = 3/4, + size = { x = 1, y = 3/16 }, maxlines = 1, color = "#000", }, node_fields = { description = S("Black direction sign"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", "signs_road_black_dir_right.png" }, inventory_image = "signs_road_black_dir_inventory.png", signs_other_dir = "signs_road:black_left_sign", - on_place = signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, }, }, black_left_sign = { @@ -151,32 +184,127 @@ local models = { width = 1, height = 0.5, entity_fields = { - resolution = { x = 96, y = 64 }, + aspect_ratio = 3/4, + size = { x = 1, y = 3/16 }, maxlines = 1, color = "#000", }, node_fields = { description = S("Black direction sign"), - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", + tiles = { "signs_road_sides.png", "signs_road_sides.png", + "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", "signs_road_black_dir_left.png" }, inventory_image = "signs_road_black_dir_inventory.png", signs_other_dir = "signs_road:black_right_sign", groups = { not_in_creative_inventory = 1 }, drop = "signs_road:black_right_sign", - on_place = signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, + }, + }, + white_right_sign = { + depth = 1/16, + width = 14/16, + height = 7/16, + entity_fields = { + right = -3/32, + size = { x = 12/16, y = 6/16 }, + maxlines = 2, + color = "#000", + }, + node_fields = { + description = S("White direction sign"), + tiles = { "signs_road_white_direction.png" }, + inventory_image = "signs_road_white_dir_inventory.png", + signs_other_dir = "signs_road:white_left_sign", + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, + drawtype = "mesh", + mesh = "signs_dir_right.obj", + selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, + collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, + }, + }, + white_left_sign = { + depth = 1/16, + width = 14/16, + height = 7/16, + entity_fields = { + right = 3/32, + size = { x = 12/16, y = 6/16 }, + maxlines = 2, + color = "#000", + }, + node_fields = { + description = S("White direction sign"), + tiles = { "signs_road_white_direction.png" }, + inventory_image = "signs_road_white_dir_inventory.png", + signs_other_dir = "signs_road:white_right_sign", + on_place=signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, + drawtype = "mesh", + mesh = "signs_dir_left.obj", + selection_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, + collision_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, + groups = { not_in_creative_inventory = 1 }, + drop = "signs_road:white_right_sign", + }, + }, + blue_right_sign = { + depth = 1/16, + width = 14/16, + height = 7/16, + entity_fields = { + right = -3/32, + size = { x = 12/16, y = 6/16 }, + maxlines = 2, + color = "#fff", + }, + node_fields = { + description = S("Blue direction sign"), + tiles = { "signs_road_blue_direction.png" }, + inventory_image = "signs_road_blue_dir_inventory.png", + signs_other_dir = "signs_road:blue_left_sign", + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, + drawtype = "mesh", + mesh = "signs_dir_right.obj", + selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, + collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, + }, + }, + blue_left_sign = { + depth = 1/16, + width = 14/16, + height = 7/16, + entity_fields = { + right = 3/32, + size = { x = 12/16, y = 6/16 }, + maxlines = 2, + color="#fff", + }, + node_fields = { + description = S("Blue direction sign"), + tiles = { "signs_road_blue_direction.png" }, + inventory_image = "signs_road_blue_dir_inventory.png", + signs_other_dir = "signs_road:blue_right_sign", + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, + drawtype = "mesh", + mesh = "signs_dir_left.obj", + selection_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, + collision_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, + groups = { not_in_creative_inventory = 1 }, + drop = "signs_road:blue_right_sign", }, }, - green_right_sign = { depth = 1/16, width = 14/16, height = 7/16, entity_fields = { - right = -3/32, + right = -3/32, size = { x = 12/16, y = 6/16 }, - resolution = { x = 112, y = 64 }, maxlines = 2, color = "#fff", }, @@ -185,12 +313,12 @@ local models = { tiles = { "signs_road_green_direction.png" }, inventory_image = "signs_road_green_dir_inventory.png", signs_other_dir = "signs_road:green_left_sign", - on_place = signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, drawtype = "mesh", mesh = "signs_dir_right.obj", selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, - collision_box = { type = "fixed", fixed = { -0,5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, + collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, }, }, green_left_sign = { @@ -198,9 +326,8 @@ local models = { width = 14/16, height = 7/16, entity_fields = { - right = 3/32, + right = 3/32, size = { x = 12/16, y = 6/16 }, - resolution = { x = 112, y = 64 }, maxlines = 2, color="#fff", }, @@ -209,8 +336,8 @@ local models = { tiles = { "signs_road_green_direction.png" }, inventory_image = "signs_road_green_dir_inventory.png", signs_other_dir = "signs_road:green_right_sign", - on_place = signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, drawtype = "mesh", mesh = "signs_dir_left.obj", selection_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, @@ -224,9 +351,8 @@ local models = { width = 14/16, height = 7/16, entity_fields = { - right = -3/32, + right = -3/32, size = { x = 12/16, y = 6/16 }, - resolution = { x = 112, y = 64 }, maxlines = 2, color = "#000", }, @@ -235,12 +361,12 @@ local models = { tiles = { "signs_road_yellow_direction.png" }, inventory_image = "signs_road_yellow_dir_inventory.png", signs_other_dir = "signs_road:yellow_left_sign", - on_place = signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, drawtype = "mesh", mesh = "signs_dir_right.obj", selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, - collision_box = { type = "fixed", fixed = { -0,5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, + collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, }, }, yellow_left_sign = { @@ -248,9 +374,8 @@ local models = { width = 14/16, height = 7/16, entity_fields = { - right = 3/32, + right = 3/32, size = { x = 12/16, y = 6/16 }, - resolution = { x = 112, y = 64 }, maxlines = 2, color = "#000", }, @@ -259,64 +384,62 @@ local models = { tiles = { "signs_road_yellow_direction.png" }, inventory_image = "signs_road_yellow_dir_inventory.png", signs_other_dir = "signs_road:yellow_right_sign", - on_place = signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, drawtype = "mesh", mesh = "signs_dir_left.obj", selection_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, collision_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, groups = { not_in_creative_inventory = 1 }, - drop = "signs_road:yellow_left_sign", + drop = "signs_road:yellow_right_sign", }, }, - white_right_sign = { + red_right_sign = { depth = 1/16, width = 14/16, height = 7/16, entity_fields = { - right = -3/32, + right = -3/32, size = { x = 12/16, y = 6/16 }, - resolution = { x = 112, y = 64 }, maxlines = 2, - color = "#000", + color = "#fff", }, node_fields = { - description = S("White direction sign"), - tiles = { "signs_road_white_direction.png" }, - inventory_image = "signs_road_white_dir_inventory.png", - signs_other_dir = "signs_road:white_left_sign", - on_place = signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + description = S("Red direction sign"), + tiles = { "signs_road_red_direction.png" }, + inventory_image = "signs_road_red_dir_inventory.png", + signs_other_dir = "signs_road:red_left_sign", + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, drawtype = "mesh", mesh = "signs_dir_right.obj", selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, - collision_box = { type = "fixed", fixed = { -0,5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, + collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, }, }, - white_left_sign = { + red_left_sign = { depth = 1/16, width = 14/16, height = 7/16, entity_fields = { - right = 3/32, + right = 3/32, size = { x = 12/16, y = 6/16 }, - resolution = { x = 112, y = 64 }, maxlines = 2, - color = "#000", + color = "#fff", }, node_fields = { - description = S("White direction sign"), - tiles = { "signs_road_white_direction.png" }, - inventory_image = "signs_road_white_dir_inventory.png", - signs_other_dir = "signs_road:white_right_sign", - on_place=signs.on_place_direction, - on_rightclick = signs.on_right_click_direction, + description = S("Red direction sign"), + tiles = { "signs_road_red_direction.png" }, + inventory_image = "signs_road_red_dir_inventory.png", + signs_other_dir = "signs_road:red_right_sign", + on_place = signs_api.on_place_direction, + on_rightclick = signs_api.on_right_click_direction, drawtype = "mesh", mesh = "signs_dir_left.obj", selection_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, collision_box = { type = "fixed", fixed = { -7/16, -7/32, 0.5, 0.5, 7/32, 7/16 } }, groups = { not_in_creative_inventory = 1 }, - drop = "signs_road:white_right_sign", + drop = "signs_road:red_right_sign", }, }, } @@ -324,7 +447,5 @@ local models = { -- Node registration for name, model in pairs(models) do - signs.register_sign("signs_road", name, model) + signs_api.register_sign("signs_road", name, model) end - - diff --git a/signs_road/svg/green_street.svg b/signs_road/svg/green_street.svg deleted file mode 100644 index 89d8474..0000000 --- a/signs_road/svg/green_street.svg +++ /dev/null @@ -1,108 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="32px" - height="32px" - id="svg2985" - version="1.1" - inkscape:version="0.91 r13725" - sodipodi:docname="green_street.svg" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/signs/textures/signs_green_street.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs2987" /> - <sodipodi:namedview - id="base" - pagecolor="#d2d038" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:zoom="15.836083" - inkscape:cx="8.8574553" - inkscape:cy="17.483424" - inkscape:current-layer="layer1" - showgrid="true" - inkscape:grid-bbox="true" - inkscape:document-units="px" - inkscape:window-width="1325" - inkscape:window-height="744" - inkscape:window-x="41" - inkscape:window-y="24" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid2993" - empspacing="2" - visible="true" - enabled="true" - snapvisiblegridlinesonly="true" - spacingx="0.5px" - spacingy="0.5px" - color="#ff0000" - opacity="0.1254902" /> - </sodipodi:namedview> - <metadata - id="metadata2990"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - id="layer1" - inkscape:label="Fond" - inkscape:groupmode="layer" - style="display:none"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#999999;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110-2" - width="32" - height="32" - x="0" - y="0" - rx="0" - ry="0" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_green_inventory.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90" /> - </g> - <g - inkscape:groupmode="layer" - id="layer5" - inkscape:label="Fond inv" - style="display:inline"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110" - width="32" - height="14" - x="0" - y="9" - rx="0" - ry="0" /> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#008040;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3767" - width="30" - height="12" - x="1" - y="10" - ry="2.4000001" - rx="2" /> - </g> -</svg> diff --git a/signs_road/svg/signs_green_direction.svg b/signs_road/svg/signs_green_direction.svg deleted file mode 100644 index 3cdbc77..0000000 --- a/signs_road/svg/signs_green_direction.svg +++ /dev/null @@ -1,168 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="32" - height="32" - viewBox="0 0 32 32" - id="svg2" - version="1.1" - inkscape:version="0.91 r13725" - sodipodi:docname="signs_green_direction.svg" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_green_direction.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs4" /> - <sodipodi:namedview - id="base" - pagecolor="#e8e285" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:zoom="15.839192" - inkscape:cx="11.800709" - inkscape:cy="20.241354" - inkscape:document-units="px" - inkscape:current-layer="layer2" - showgrid="true" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - units="px" - inkscape:window-width="1325" - inkscape:window-height="744" - inkscape:window-x="41" - inkscape:window-y="24" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid4147" /> - </sodipodi:namedview> - <metadata - id="metadata7"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:groupmode="layer" - id="layer2" - inkscape:label="Texture" - style="display:inline"> - <rect - transform="translate(-14.285706,-286.07651)" - style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.98000004;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#999999;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" - id="rect4192" - width="32" - height="32" - x="14.285706" - y="286.07651" /> - <path - style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" - d="m 2,18 0,14 30,0 0,-10 -2,0 0,-4 -28,0 z" - id="rect4164-7" - inkscape:connector-curvature="0" /> - <path - style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" - d="m 2,2 0,14 28,0 0,-4 2,0 L 32,2 2,2 Z" - id="rect4164" - inkscape:connector-curvature="0" /> - <path - style="fill:#008040;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,3 22,0 4,6 -4,6 -22,0 z" - id="path4234" - inkscape:connector-curvature="0" /> - <path - style="fill:#008040;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,19 22,0 4,6 -4,6 -22,0 z" - id="path4234-5" - inkscape:connector-curvature="0" /> - </g> - <g - inkscape:groupmode="layer" - id="layer3" - inkscape:label="Inventory" - style="display:none"> - <path - style="display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 2,10 0,14 24,0 6,-7 -6,-7 z" - id="path4212-3" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="display:inline;fill:#008040;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,11 22,0 4,6 -4,6 -22,0 z" - id="path4234-5-5" - inkscape:connector-curvature="0" /> - </g> - <g - inkscape:label="Guides" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-14.285706,-286.07651)" - style="display:none"> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149" - width="1.9999995" - height="13.999997" - x="14.285706" - y="288.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3" - width="2.0000005" - height="10.000003" - x="44.285706" - y="298.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-6" - width="24" - height="1.9999976" - x="16.285706" - y="302.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-7" - width="2.0000005" - height="10.000003" - x="14.285706" - y="308.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-5" - width="24" - height="2.0000024" - x="16.285706" - y="286.07651" /> - <path - style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,288.07651 24,0 6,7 -6,7 -24,0 z" - id="path4193" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,304.07651 0,14 24,0 6,-7 -6,-7 z" - id="path4212" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - </g> -</svg> diff --git a/signs_road/svg/signs_road_black_direction.svg b/signs_road/svg/signs_road_black_direction.svg deleted file mode 100644 index f513524..0000000 --- a/signs_road/svg/signs_road_black_direction.svg +++ /dev/null @@ -1,172 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="32" - height="32" - viewBox="0 0 32 32" - id="svg2" - version="1.1" - inkscape:version="0.91 r13725" - sodipodi:docname="signs_road_black_direction.svg" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_black_dir_inventory.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs4" /> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:zoom="7.919596" - inkscape:cx="0.60099162" - inkscape:cy="14.877077" - inkscape:document-units="px" - inkscape:current-layer="layer3" - showgrid="true" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - units="px" - inkscape:window-width="1325" - inkscape:window-height="744" - inkscape:window-x="41" - inkscape:window-y="24" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid4147" /> - </sodipodi:namedview> - <metadata - id="metadata7"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title /> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Guides" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-14.285706,-286.07651)" - style="display:none" - sodipodi:insensitive="true"> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149" - width="1.9999995" - height="13.999997" - x="14.285706" - y="288.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3" - width="2.0000005" - height="10.000003" - x="44.285706" - y="298.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-6" - width="24" - height="1.9999976" - x="16.285706" - y="302.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-7" - width="2.0000005" - height="10.000003" - x="14.285706" - y="308.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-5" - width="24" - height="2.0000024" - x="16.285706" - y="286.07651" /> - <path - style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,288.07651 24,0 6,7 -6,7 -24,0 z" - id="path4193" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,304.07651 0,14 24,0 6,-7 -6,-7 z" - id="path4212" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - </g> - <g - inkscape:groupmode="layer" - id="layer3" - inkscape:label="Inventory" - style="display:none"> - <path - style="display:inline;fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 1,10 24,0 6,7 -6,7 -24,0 z" - id="path4193-3-3" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 2,11 22,0 4,6 -4,6 -22,0 z" - id="path4234-6" - inkscape:connector-curvature="0" /> - </g> - <g - inkscape:groupmode="layer" - id="layer2" - inkscape:label="Texture" - style="display:inline"> - <rect - style="fill:#808080;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4147" - width="32" - height="32" - x="0" - y="0" /> - <path - transform="translate(-14.285706,-286.07651)" - style="display:inline;fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,288.07651 24,0 6,7 -6,7 -24,0 z" - id="path4193-3" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,3 22,0 4,6 -4,6 -22,0 z" - id="path4234" - inkscape:connector-curvature="0" /> - <path - transform="translate(-14.285706,-286.07651)" - style="display:inline;fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,304.07651 0,14 24,0 6,-7 -6,-7 z" - id="path4212-6" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,19 22,0 4,6 -4,6 -22,0 z" - id="path4234-5" - inkscape:connector-curvature="0" /> - </g> -</svg> diff --git a/signs_road/svg/signs_road_direction.svg b/signs_road/svg/signs_road_direction.svg new file mode 100644 index 0000000..665146b --- /dev/null +++ b/signs_road/svg/signs_road_direction.svg @@ -0,0 +1,316 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32" + height="32" + viewBox="0 0 32 32" + id="svg2" + version="1.1" + inkscape:version="0.92.3 (2405546, 2018-03-11)" + sodipodi:docname="signs_road_direction.svg" + inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_blue_direction.png" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96"> + <defs + id="defs4" /> + <sodipodi:namedview + id="base" + pagecolor="#e8e285" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="11.2" + inkscape:cx="9.0886289" + inkscape:cy="9.9967465" + inkscape:document-units="px" + inkscape:current-layer="layer4" + showgrid="true" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" + units="px" + inkscape:window-width="1323" + inkscape:window-height="713" + inkscape:window-x="43" + inkscape:window-y="27" + inkscape:window-maximized="1" + inkscape:measure-start="20,25" + inkscape:measure-end="0,0"> + <inkscape:grid + type="xygrid" + id="grid4147" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:groupmode="layer" + id="layer5" + inkscape:label="Texture Background" + style="display:none"> + <image + y="0" + x="0" + id="image4617" + xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBI WXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QgZBgMAIw0eIgAAA8hJREFUWMPFls+KJEUQxn8RlVlV vYPsCuI77Hrd8zoexfP6CoIXfYPFBxAEwYfQk4hnvXiZ0zKjCz6CIKizO931JzPCQ1XWVI894sHp DWi6OjqyIuKLzO9LYbbnz5+7iDD2mXttxdUwkMbMOA48ePAmAGaZru9QUZSwFweQbfre7a7YbE4Y +p4QAgBPnjwRDlgoD6oVZhnXzJ9XHWYOQNu2mGVEBNWKpm7ouh6J+3HFhr6n0um17abFzElp5DaT Fy9+cYCHDx9xDBMR+QcCee5CPnvvTpJ+/fQZTx+dHvxPszl+A8b/2z7+/gt+u/oDAJ9tKaBSuXPY f9/+xUfffX47Asewb3/9iW9e/Lj8LkiomyNHQOHmKBYEQlDSOBylgEOj0JSMEGuOZU2I+wUAR0Pg rXv3+fL9T/YLcD8eAl998ClvnzzYp2IzO0ryD9853SOji4ufJwREhLsu4hD0OaepgMvLS6oqHA16 ma1patyNUNQOwJ/9cLTTkJJhZsjrug+cnZ15jPH13QfMjXEcrwsIQQGlriMp2azVBnMHxddUSnP/ jT1fiUvJ2IarySc1salYI5xS4vHjxwIsjeiyK+dOlruBypL8v/rKiwFcM+6OiDLMRLdSYQA2m/Z6 D5yfX7ioUMSpyHS5L6x9pfObvpwT/dBTVRUxRFQnBIZxwHImxsiu26Gqyz7S9QjcnLU4pWRLAjeH lFjHr+MAmqZm026IM99vd/M4qmqZebfrMDNyNlwzcn5+4etuUjIKEsX/bwgcuk2520JuIsJu1+EY qjqvz/PGF7Qwkpsvc3318tUEm+WDycuaddw6+fKcBtydfuiWzs2MECpSGjFztDBSSeZutG0DWXD3 W6G+Gedu88dxSYQY6ZPTDz0hROqmodt1qCopZUKIqAqhMFIhGnefgnQgZahSIMR6Sb5msXVclGud HwfDqxHHyMmptEIUoFkQ6LpuKqLrdgD0Qz8fm0mc6lgjMs9sHAhBMcsM40BZs44bhgnuWgUVYbvd YuY0TU2I1ZLYzKfiRUlpRMvubOqGfugp4iSihKqi3BdSmuBd7+h1XPH12ei6HgRCqAhVwM2XxGX2 5lMRoTBSjBOJqOge9ZYNV8ikqduFxQ5RNIz4pPM0dUPKia7rMDfCfDwtZ07fPZXlSrbZtMsRqesa dycP3ZJgDXWBf7Np9+KyGaITxzdNjaCknBjHcb546KIJtjopYRxHlECoFVW9VsOs9LtuTw1DVdGl kbJmHbdWw5cvL9lsTthdbhc1LJDfVMWQsyExoxrvXA3XnRf7G4ElQvNOekeUAAAAAElFTkSuQmCC " + style="stroke-width:1.0666666;image-rendering:optimizeSpeed" + preserveAspectRatio="none" + height="32" + width="32" /> + </g> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="Black Border" + style="display:none"> + <path + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + d="m 2,2 v 14 h 28 v -4 h 2 V 2 Z" + id="rect4164" + inkscape:connector-curvature="0" /> + </g> + <g + style="display:none" + inkscape:label="White Border" + id="g1256" + inkscape:groupmode="layer"> + <path + inkscape:connector-curvature="0" + id="path1254" + d="m 2,2 v 14 h 28 v -4 h 2 V 2 Z" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> + </g> + <g + inkscape:groupmode="layer" + id="layer4" + inkscape:label="Yellow Background" + style="display:none"> + <path + style="display:inline;fill:#fbdf00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3,3 h 22 l 4,6 -4,6 H 3 Z" + id="path4234" + inkscape:connector-curvature="0" /> + </g> + <g + style="display:none" + inkscape:label="Green Background" + id="g1268" + inkscape:groupmode="layer"> + <path + inkscape:connector-curvature="0" + id="path1264" + d="m 3,3 h 22 l 4,6 -4,6 H 3 Z" + style="display:inline;fill:#008040;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> + <g + inkscape:groupmode="layer" + id="g1280" + inkscape:label="Blue Background" + style="display:none"> + <path + style="display:inline;fill:#0040c0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3,3 h 22 l 4,6 -4,6 H 3 Z" + id="path1276" + inkscape:connector-curvature="0" /> + </g> + <g + inkscape:groupmode="layer" + id="g1274" + inkscape:label="Red Background" + style="display:none"> + <path + style="display:inline;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3,3 h 22 l 4,6 -4,6 H 3 Z" + id="path1270" + inkscape:connector-curvature="0" /> + </g> + <g + style="display:none" + inkscape:label="White Background" + id="g1262" + inkscape:groupmode="layer"> + <path + inkscape:connector-curvature="0" + id="path1258" + d="m 3,3 h 22 l 4,6 -4,6 H 3 Z" + style="display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path1260" + d="m 3,19 h 22 l 4,6 -4,6 H 3 Z" + style="display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> + <g + inkscape:groupmode="layer" + id="layer3" + inkscape:label="Inventory Black Border" + style="display:none"> + <path + style="display:inline;fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 2,10 v 14 h 24 l 6,-7 -6,-7 z" + id="path4212-3" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccc" /> + </g> + <g + style="display:inline" + inkscape:label="Inventory White Border" + id="g854" + inkscape:groupmode="layer"> + <path + sodipodi:nodetypes="cccccc" + inkscape:connector-curvature="0" + id="path852" + d="m 2,10 v 14 h 24 l 6,-7 -6,-7 z" + style="display:inline;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + </g> + <g + style="display:none" + inkscape:label="Inventory Yellow Background" + id="g850" + inkscape:groupmode="layer"> + <path + inkscape:connector-curvature="0" + id="path848" + d="m 3,11 h 22 l 4,6 -4,6 H 3 Z" + style="display:inline;fill:#fbdf00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> + <g + inkscape:groupmode="layer" + id="g870" + inkscape:label="Inventory Green Background" + style="display:inline"> + <path + style="display:inline;fill:#008040;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3,11 h 22 l 4,6 -4,6 H 3 Z" + id="path868" + inkscape:connector-curvature="0" /> + </g> + <g + inkscape:groupmode="layer" + id="g866" + inkscape:label="Inventory Blue Background" + style="display:none"> + <path + style="display:inline;fill:#0040c0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3,11 h 22 l 4,6 -4,6 H 3 Z" + id="path864" + inkscape:connector-curvature="0" /> + </g> + <g + inkscape:groupmode="layer" + id="g862" + inkscape:label="Inventory Red Background" + style="display:none"> + <path + style="display:inline;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3,11 h 22 l 4,6 -4,6 H 3 Z" + id="path860" + inkscape:connector-curvature="0" /> + </g> + <g + inkscape:groupmode="layer" + id="g858" + inkscape:label="Inventory White Background" + style="display:none"> + <path + style="display:inline;fill:#fbdf00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 3,11 h 22 l 4,6 -4,6 H 3 Z" + id="path856" + inkscape:connector-curvature="0" /> + </g> + <g + inkscape:label="Guides" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-14.285706,-286.07651)" + style="display:none"> + <rect + style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="rect4149" + width="1.9999995" + height="13.999997" + x="14.285706" + y="288.07651" /> + <rect + style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="rect4149-3" + width="2.0000005" + height="10.000003" + x="44.285706" + y="298.07651" /> + <rect + style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="rect4149-3-6" + width="24" + height="1.9999976" + x="16.285706" + y="302.07651" /> + <rect + style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="rect4149-3-7" + width="2.0000005" + height="10.000003" + x="14.285706" + y="308.07651" /> + <rect + style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="rect4149-3-5" + width="24" + height="2.0000024" + x="16.285706" + y="286.07651" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 16.285706,288.07651 h 24 l 6,7 -6,7 h -24 z" + id="path4193" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccc" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 16.285706,304.07651 v 14 h 24 l 6,-7 -6,-7 z" + id="path4212" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccc" /> + <text + xml:space="preserve" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1.33333337px;line-height:125%;font-family:sans-serif;-inkscape-font-specification:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="14.285706" + y="279.07651" + id="text874"><tspan + sodipodi:role="line" + id="tspan872" + x="14.285706" + y="279.07651">Inventory: export page to 32x32 png</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1.33333337px;line-height:125%;font-family:sans-serif;-inkscape-font-specification:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="14.285706" + y="281.07651" + id="text874-2"><tspan + sodipodi:role="line" + id="tspan872-8" + x="14.285706" + y="281.07651">Texture: export page to 32x32 png</tspan></text> + </g> +</svg> diff --git a/signs_road/svg/signs_road_rectangle.svg b/signs_road/svg/signs_road_rectangle.svg new file mode 100644 index 0000000..3dad58d --- /dev/null +++ b/signs_road/svg/signs_road_rectangle.svg @@ -0,0 +1,188 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32px" + height="32px" + id="svg2985" + version="1.1" + inkscape:version="0.92.3 (2405546, 2018-03-11)" + sodipodi:docname="signs_road_rectangle.svg" + inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_red.png" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96"> + <defs + id="defs2987" /> + <sodipodi:namedview + id="base" + pagecolor="#d2d038" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="15.836083" + inkscape:cx="0.23789952" + inkscape:cy="17.483424" + inkscape:current-layer="layer5" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="1323" + inkscape:window-height="713" + inkscape:window-x="43" + inkscape:window-y="27" + inkscape:window-maximized="1"> + <inkscape:grid + type="xygrid" + id="grid2993" + empspacing="2" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" + spacingx="0.5" + spacingy="0.5" + color="#ff0000" + opacity="0.1254902" + originx="0" + originy="0" /> + </sodipodi:namedview> + <metadata + id="metadata2990"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:groupmode="layer" + id="layer5" + inkscape:label="Black Border" + style="display:inline"> + <rect + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" + id="rect3110" + width="32" + height="14" + x="0" + y="9" + rx="0" + ry="0" /> + </g> + <g + style="display:inline" + inkscape:label="White Border" + id="g901" + inkscape:groupmode="layer"> + <rect + ry="0" + rx="0" + y="9" + x="0" + height="14" + width="32" + id="rect899" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" /> + </g> + <g + style="display:inline" + inkscape:label="Blue Background" + id="g897" + inkscape:groupmode="layer"> + <rect + rx="2" + ry="2.4000001" + y="10" + x="1" + height="12" + width="30" + id="rect895" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#0040c0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" /> + </g> + <g + inkscape:groupmode="layer" + id="g917" + inkscape:label="Green Background" + style="display:inline"> + <rect + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#008040;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" + id="rect915" + width="30" + height="12" + x="1" + y="10" + ry="2.4000001" + rx="2" /> + </g> + <g + inkscape:groupmode="layer" + id="g905" + inkscape:label="Yellow Background" + style="display:none"> + <rect + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#fbdf00;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;marker:none;enable-background:accumulate" + id="rect903" + width="30" + height="12" + x="1" + y="10" + ry="2.4000001" + rx="2" /> + </g> + <g + style="display:none" + inkscape:label="Red Background" + id="g909" + inkscape:groupmode="layer"> + <rect + rx="2" + ry="2.4000001" + y="10" + x="1" + height="12" + width="30" + id="rect907" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" /> + </g> + <g + inkscape:groupmode="layer" + id="g913" + inkscape:label="White Background" + style="display:none"> + <rect + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" + id="rect911" + width="30" + height="12" + x="1" + y="10" + ry="2.4000001" + rx="2" /> + </g> + <g + inkscape:groupmode="layer" + id="layer1" + inkscape:label="Red Frame" + style="display:none"> + <rect + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:1.02928686;stroke-miterlimit:4;stroke-dasharray:none;marker:none;enable-background:accumulate" + id="rect3767-5" + width="28.970713" + height="10.970714" + x="1.5146437" + y="10.514643" + ry="2.1941426" + rx="1.9313809" /> + </g> +</svg> diff --git a/signs_road/svg/signs_road_red.svg b/signs_road/svg/signs_road_red.svg deleted file mode 100644 index 513b970..0000000 --- a/signs_road/svg/signs_road_red.svg +++ /dev/null @@ -1,123 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="32px" - height="32px" - id="svg2985" - version="1.1" - inkscape:version="0.91 r13725" - sodipodi:docname="signs_road_red.svg" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_red_inventory.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs2987" /> - <sodipodi:namedview - id="base" - pagecolor="#f9f6c0" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:zoom="11.197802" - inkscape:cx="11.734227" - inkscape:cy="23.110862" - inkscape:current-layer="layer5" - showgrid="true" - inkscape:grid-bbox="true" - inkscape:document-units="px" - inkscape:window-width="1325" - inkscape:window-height="744" - inkscape:window-x="41" - inkscape:window-y="24" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid2993" - empspacing="2" - visible="true" - enabled="true" - snapvisiblegridlinesonly="true" - spacingx="0.5px" - spacingy="0.5px" - color="#ff0000" - opacity="0.1254902" /> - </sodipodi:namedview> - <metadata - id="metadata2990"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - id="layer1" - inkscape:label="Texture" - inkscape:groupmode="layer" - style="display:none"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110-2" - width="32" - height="32" - x="0" - y="0" - rx="0" - ry="0" /> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110" - width="32" - height="14" - x="0" - y="9" - rx="0" - ry="0" /> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:1.02928686;stroke-miterlimit:4;stroke-dasharray:none;marker:none;enable-background:accumulate" - id="rect3767" - width="28.970713" - height="10.970714" - x="1.5146434" - y="10.514644" - ry="2.1941426" - rx="1.9313809" /> - </g> - <g - inkscape:groupmode="layer" - id="layer5" - inkscape:label="Inventory" - style="display:inline"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110-7" - width="32" - height="14" - x="0" - y="9" - rx="0" - ry="0" /> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:1.02928686;stroke-miterlimit:4;stroke-dasharray:none;marker:none;enable-background:accumulate" - id="rect3767-5" - width="28.970713" - height="10.970714" - x="1.5146434" - y="10.514644" - ry="2.1941426" - rx="1.9313809" /> - </g> -</svg> diff --git a/signs_road/svg/signs_blue_street.svg b/signs_road/svg/signs_road_street_blue.svg index 0aa87ff..0aa87ff 100644 --- a/signs_road/svg/signs_blue_street.svg +++ b/signs_road/svg/signs_road_street_blue.svg diff --git a/signs_road/svg/signs_yellow_direction.svg b/signs_road/svg/signs_yellow_direction.svg deleted file mode 100644 index 1414a5c..0000000 --- a/signs_road/svg/signs_yellow_direction.svg +++ /dev/null @@ -1,168 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="32" - height="32" - viewBox="0 0 32 32" - id="svg2" - version="1.1" - inkscape:version="0.91 r13725" - sodipodi:docname="signs_yellow_direction.svg" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_yellow_direction.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs4" /> - <sodipodi:namedview - id="base" - pagecolor="#e8e285" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:zoom="15.839192" - inkscape:cx="12.242651" - inkscape:cy="20.241354" - inkscape:document-units="px" - inkscape:current-layer="layer1" - showgrid="true" - fit-margin-top="0" - fit-margin-left="0" - fit-margin-right="0" - fit-margin-bottom="0" - units="px" - inkscape:window-width="1325" - inkscape:window-height="744" - inkscape:window-x="41" - inkscape:window-y="24" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid4147" /> - </sodipodi:namedview> - <metadata - id="metadata7"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title /> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:groupmode="layer" - id="layer2" - inkscape:label="Texture" - style="display:inline"> - <rect - transform="translate(-14.285706,-286.07651)" - style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.98000004;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#999999;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" - id="rect4192" - width="32" - height="32" - x="14.285706" - y="286.07651" /> - <path - style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" - d="m 2,18 0,14 30,0 0,-10 -2,0 0,-4 -28,0 z" - id="rect4164-7" - inkscape:connector-curvature="0" /> - <path - style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" - d="m 2,2 0,14 28,0 0,-4 2,0 L 32,2 2,2 Z" - id="rect4164" - inkscape:connector-curvature="0" /> - <path - style="fill:#fbdf00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,3 22,0 4,6 -4,6 -22,0 z" - id="path4234" - inkscape:connector-curvature="0" /> - <path - style="fill:#fbdf00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,19 22,0 4,6 -4,6 -22,0 z" - id="path4234-5" - inkscape:connector-curvature="0" /> - </g> - <g - inkscape:groupmode="layer" - id="layer3" - inkscape:label="Inventory" - style="display:none"> - <path - style="display:inline;fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 2,10 0,14 24,0 6,-7 -6,-7 z" - id="path4212-3" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="display:inline;fill:#fbdf00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" - d="m 3,11 22,0 4,6 -4,6 -22,0 z" - id="path4234-5-5" - inkscape:connector-curvature="0" /> - </g> - <g - inkscape:label="Guides" - inkscape:groupmode="layer" - id="layer1" - transform="translate(-14.285706,-286.07651)" - style="display:none"> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149" - width="1.9999995" - height="13.999997" - x="14.285706" - y="288.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3" - width="2.0000005" - height="10.000003" - x="44.285706" - y="298.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-6" - width="24" - height="1.9999976" - x="16.285706" - y="302.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-7" - width="2.0000005" - height="10.000003" - x="14.285706" - y="308.07651" /> - <rect - style="fill:none;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - id="rect4149-3-5" - width="24" - height="2.0000024" - x="16.285706" - y="286.07651" /> - <path - style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,288.07651 24,0 6,7 -6,7 -24,0 z" - id="path4193" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - <path - style="fill:none;fill-rule:evenodd;stroke:#ff00ff;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" - d="m 16.285706,304.07651 0,14 24,0 6,-7 -6,-7 z" - id="path4212" - inkscape:connector-curvature="0" - sodipodi:nodetypes="cccccc" /> - </g> -</svg> diff --git a/signs_road/svg/white_street.svg b/signs_road/svg/white_street.svg deleted file mode 100644 index f33bc02..0000000 --- a/signs_road/svg/white_street.svg +++ /dev/null @@ -1,110 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="32px" - height="32px" - id="svg2985" - version="1.1" - inkscape:version="0.92.1 r15371" - sodipodi:docname="white_street.svg" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_yellow_inventory.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs2987" /> - <sodipodi:namedview - id="base" - pagecolor="#d2d038" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:zoom="15.836083" - inkscape:cx="-5.5084709" - inkscape:cy="17.483424" - inkscape:current-layer="layer5" - showgrid="true" - inkscape:grid-bbox="true" - inkscape:document-units="px" - inkscape:window-width="1325" - inkscape:window-height="744" - inkscape:window-x="41" - inkscape:window-y="24" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid2993" - empspacing="2" - visible="true" - enabled="true" - snapvisiblegridlinesonly="true" - spacingx="0.5" - spacingy="0.5" - color="#ff0000" - opacity="0.1254902" - originx="0" - originy="0" /> - </sodipodi:namedview> - <metadata - id="metadata2990"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - id="layer1" - inkscape:label="Fond" - inkscape:groupmode="layer" - style="display:none"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#999999;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110-2" - width="32" - height="32" - x="0" - y="0" - rx="0" - ry="0" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_green_inventory.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90" /> - </g> - <g - inkscape:groupmode="layer" - id="layer5" - inkscape:label="Fond inv" - style="display:inline"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110" - width="32" - height="14" - x="0" - y="9" - rx="0" - ry="0" /> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3767" - width="30" - height="12" - x="1" - y="10" - ry="2.4000001" - rx="2" /> - </g> -</svg> diff --git a/signs_road/svg/yellow_street.svg b/signs_road/svg/yellow_street.svg deleted file mode 100644 index ea26f30..0000000 --- a/signs_road/svg/yellow_street.svg +++ /dev/null @@ -1,108 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="32px" - height="32px" - id="svg2985" - version="1.1" - inkscape:version="0.91 r13725" - sodipodi:docname="yellow_street.svg" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_yellow_inventory.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs2987" /> - <sodipodi:namedview - id="base" - pagecolor="#d2d038" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:zoom="15.836083" - inkscape:cx="8.8574553" - inkscape:cy="17.483424" - inkscape:current-layer="layer5" - showgrid="true" - inkscape:grid-bbox="true" - inkscape:document-units="px" - inkscape:window-width="1325" - inkscape:window-height="744" - inkscape:window-x="41" - inkscape:window-y="24" - inkscape:window-maximized="1"> - <inkscape:grid - type="xygrid" - id="grid2993" - empspacing="2" - visible="true" - enabled="true" - snapvisiblegridlinesonly="true" - spacingx="0.5px" - spacingy="0.5px" - color="#ff0000" - opacity="0.1254902" /> - </sodipodi:namedview> - <metadata - id="metadata2990"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - id="layer1" - inkscape:label="Fond" - inkscape:groupmode="layer" - style="display:none"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#999999;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110-2" - width="32" - height="32" - x="0" - y="0" - rx="0" - ry="0" - inkscape:export-filename="/home/pyrollo/dev/minetest-mods/display_modpack/signs_road/textures/signs_road_green_inventory.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90" /> - </g> - <g - inkscape:groupmode="layer" - id="layer5" - inkscape:label="Fond inv" - style="display:inline"> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3110" - width="32" - height="14" - x="0" - y="9" - rx="0" - ry="0" /> - <rect - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#fbdf00;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;marker:none;enable-background:accumulate" - id="rect3767" - width="30" - height="12" - x="1" - y="10" - ry="2.4000001" - rx="2" /> - </g> -</svg> diff --git a/signs_road/textures/signs_road_blue.png b/signs_road/textures/signs_road_blue.png Binary files differindex 540a390..51dc83b 100644 --- a/signs_road/textures/signs_road_blue.png +++ b/signs_road/textures/signs_road_blue.png diff --git a/signs_road/textures/signs_road_blue_dir_inventory.png b/signs_road/textures/signs_road_blue_dir_inventory.png Binary files differnew file mode 100644 index 0000000..426c997 --- /dev/null +++ b/signs_road/textures/signs_road_blue_dir_inventory.png diff --git a/signs_road/textures/signs_road_blue_direction.png b/signs_road/textures/signs_road_blue_direction.png Binary files differnew file mode 100644 index 0000000..bba2b00 --- /dev/null +++ b/signs_road/textures/signs_road_blue_direction.png diff --git a/signs_road/textures/signs_road_blue_street.png b/signs_road/textures/signs_road_blue_street.png Binary files differnew file mode 100644 index 0000000..540a390 --- /dev/null +++ b/signs_road/textures/signs_road_blue_street.png diff --git a/signs_road/textures/signs_road_red.png b/signs_road/textures/signs_road_red.png Binary files differnew file mode 100644 index 0000000..5614f6f --- /dev/null +++ b/signs_road/textures/signs_road_red.png diff --git a/signs_road/textures/signs_road_red_dir_inventory.png b/signs_road/textures/signs_road_red_dir_inventory.png Binary files differnew file mode 100644 index 0000000..4d9d559 --- /dev/null +++ b/signs_road/textures/signs_road_red_dir_inventory.png diff --git a/signs_road/textures/signs_road_red_direction.png b/signs_road/textures/signs_road_red_direction.png Binary files differnew file mode 100644 index 0000000..632a925 --- /dev/null +++ b/signs_road/textures/signs_road_red_direction.png |