aboutsummaryrefslogtreecommitdiff
path: root/signs_road
diff options
context:
space:
mode:
Diffstat (limited to 'signs_road')
-rw-r--r--signs_road/README.md2
-rw-r--r--signs_road/compatibility.lua13
-rw-r--r--signs_road/copyright.txt10
-rw-r--r--signs_road/crafts.lua130
-rw-r--r--signs_road/depends.txt6
-rw-r--r--signs_road/nodes.lua283
-rw-r--r--signs_road/svg/green_street.svg108
-rw-r--r--signs_road/svg/signs_green_direction.svg168
-rw-r--r--signs_road/svg/signs_road_black_direction.svg172
-rw-r--r--signs_road/svg/signs_road_direction.svg316
-rw-r--r--signs_road/svg/signs_road_rectangle.svg188
-rw-r--r--signs_road/svg/signs_road_red.svg123
-rw-r--r--signs_road/svg/signs_road_street_blue.svg (renamed from signs_road/svg/signs_blue_street.svg)0
-rw-r--r--signs_road/svg/signs_yellow_direction.svg168
-rw-r--r--signs_road/svg/white_street.svg110
-rw-r--r--signs_road/svg/yellow_street.svg108
-rw-r--r--signs_road/textures/signs_road_blue.pngbin436 -> 302 bytes
-rw-r--r--signs_road/textures/signs_road_blue_dir_inventory.pngbin0 -> 377 bytes
-rw-r--r--signs_road/textures/signs_road_blue_direction.pngbin0 -> 1108 bytes
-rw-r--r--signs_road/textures/signs_road_blue_street.pngbin0 -> 436 bytes
-rw-r--r--signs_road/textures/signs_road_red.pngbin0 -> 282 bytes
-rw-r--r--signs_road/textures/signs_road_red_dir_inventory.pngbin0 -> 289 bytes
-rw-r--r--signs_road/textures/signs_road_red_direction.pngbin0 -> 1071 bytes
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, return false; if(data == NULL) return false; return true; } /* Position stuff */ v3s16 getPos() { return m_pos; } v3s16 getPosRelative() { return m_pos * MAP_BLOCKSIZE; } core::aabbox3d<s16> getBox() { return core::aabbox3d<s16>(getPosRelative(), getPosRelative() + v3s16(MAP_BLOCKSIZE, MAP_BLOCKSIZE, MAP_BLOCKSIZE) - v3s16(1,1,1)); } /* Regular MapNode get-setters */ bool isValidPosition(s16 x, s16 y, s16 z) { return data != NULL && x >= 0 && x < MAP_BLOCKSIZE && y >= 0 && y < MAP_BLOCKSIZE && z >= 0 && z < MAP_BLOCKSIZE; } bool isValidPosition(v3s16 p) { return isValidPosition(p.X, p.Y, p.Z); } MapNode getNode(s16 x, s16 y, s16 z, bool *valid_position) { *valid_position = isValidPosition(x, y, z); if (!*valid_position) return MapNode(CONTENT_IGNORE); return data[z*MAP_BLOCKSIZE*MAP_BLOCKSIZE + y*MAP_BLOCKSIZE + x]; } MapNode getNode(v3s16 p, bool *valid_position) { return getNode(p.X, p.Y, p.Z, valid_position); } MapNode getNodeNoEx(v3s16 p) { bool is_valid; MapNode node = getNode(p.X, p.Y, p.Z, &is_valid); return is_valid ? node : MapNode(CONTENT_IGNORE); } void setNode(s16 x, s16 y, s16 z, MapNode & n) { if(data == NULL) throw InvalidPositionException(); if(x < 0 || x >= MAP_BLOCKSIZE) throw InvalidPositionException(); if(y < 0 || y >= MAP_BLOCKSIZE) throw InvalidPositionException(); if(z < 0 || z >= MAP_BLOCKSIZE) throw InvalidPositionException(); data[z*MAP_BLOCKSIZE*MAP_BLOCKSIZE + y*MAP_BLOCKSIZE + x] = n; raiseModified(MOD_STATE_WRITE_NEEDED, "setNode"); } void setNode(v3s16 p, MapNode & n) { setNode(p.X, p.Y, p.Z, n); } /* Non-checking variants of the above */ MapNode getNodeNoCheck(s16 x, s16 y, s16 z, bool *valid_position) { *valid_position = data != NULL; if(!valid_position) return MapNode(CONTENT_IGNORE); return data[z*MAP_BLOCKSIZE*MAP_BLOCKSIZE + y*MAP_BLOCKSIZE + x]; } MapNode getNodeNoCheck(v3s16 p, bool *valid_position) { return getNodeNoCheck(p.X, p.Y, p.Z, valid_position); } void setNodeNoCheck(s16 x, s16 y, s16 z, MapNode & n) { if(data == NULL) throw InvalidPositionException(); data[z*MAP_BLOCKSIZE*MAP_BLOCKSIZE + y*MAP_BLOCKSIZE + x] = n; raiseModified(MOD_STATE_WRITE_NEEDED, "setNodeNoCheck"); } void setNodeNoCheck(v3s16 p, MapNode & n) { setNodeNoCheck(p.X, p.Y, p.Z, n); } /* These functions consult the parent container if the position is not valid on this MapBlock. */ bool isValidPositionParent(v3s16 p); MapNode getNodeParent(v3s16 p, bool *is_valid_position = NULL); void setNodeParent(v3s16 p, MapNode & n); void drawbox(s16 x0, s16 y0, s16 z0, s16 w, s16 h, s16 d, MapNode node) { for(u16 z=0; z<d; z++) for(u16 y=0; y<h; y++) for(u16 x=0; x<w; x++) setNode(x0+x, y0+y, z0+z, node); } // See comments in mapblock.cpp bool propagateSunlight(std::set<v3s16> & light_sources, bool remove_light=false, bool *black_air_left=NULL); // Copies data to VoxelManipulator to getPosRelative() void copyTo(VoxelManipulator &dst); // Copies data from VoxelManipulator getPosRelative() void copyFrom(VoxelManipulator &dst); /* Update day-night lighting difference flag. Sets m_day_night_differs to appropriate value. These methods don't care about neighboring blocks. */ void actuallyUpdateDayNightDiff(); /* Call this to schedule what the previous function does to be done when the value is actually needed. */ void expireDayNightDiff(); bool getDayNightDiff() { if(m_day_night_differs_expired) actuallyUpdateDayNightDiff(); return m_day_night_differs; } /* Miscellaneous stuff */ /* Tries to measure ground level. Return value: -1 = only air -2 = only ground -3 = random fail 0...MAP_BLOCKSIZE-1 = ground level */ s16 getGroundLevel(v2s16 p2d); /* Timestamp (see m_timestamp) NOTE: BLOCK_TIMESTAMP_UNDEFINED=0xffffffff means there is no timestamp. */ void setTimestamp(u32 time) { m_timestamp = time; raiseModified(MOD_STATE_WRITE_AT_UNLOAD, "setTimestamp"); } void setTimestampNoChangedFlag(u32 time) { m_timestamp = time; } u32 getTimestamp() { return m_timestamp; } u32 getDiskTimestamp() { return m_disk_timestamp; } /* See m_usage_timer */ void resetUsageTimer() { m_usage_timer = 0; } void incrementUsageTimer(float dtime) { m_usage_timer += dtime; } float getUsageTimer() { return m_usage_timer; } /* See m_refcount */ void refGrab() { m_refcount++; } void refDrop() { m_refcount--; } int refGet() { return m_refcount; } /* Node Timers */ // Get timer NodeTimer getNodeTimer(v3s16 p){ return m_node_timers.get(p); } // Deletes timer void removeNodeTimer(v3s16 p){ m_node_timers.remove(p); } // Deletes old timer and sets a new one void setNodeTimer(v3s16 p, NodeTimer t){ m_node_timers.set(p,t); } // Deletes all timers void clearNodeTimers(){ m_node_timers.clear(); } /* Serialization */ // These don't write or read version by itself // Set disk to true for on-disk format, false for over-the-network format void serialize(std::ostream &os, u8 version, bool disk); // If disk == true: In addition to doing other things, will add // unknown blocks from id-name mapping to wndef void deSerialize(std::istream &is, u8 version, bool disk); void serializeNetworkSpecific(std::ostream &os, u16 net_proto_version); void deSerializeNetworkSpecific(std::istream &is); private: /* Private methods */ void deSerialize_pre22(std::istream &is, u8 version, bool disk); /* Used only internally, because changes can't be tracked */ MapNode & getNodeRef(s16 x, s16 y, s16 z) { if(data == NULL) throw InvalidPositionException(); if(x < 0 || x >= MAP_BLOCKSIZE) throw InvalidPositionException(); if(y < 0 || y >= MAP_BLOCKSIZE) throw InvalidPositionException(); if(z < 0 || z >= MAP_BLOCKSIZE) throw InvalidPositionException(); return data[z*MAP_BLOCKSIZE*MAP_BLOCKSIZE + y*MAP_BLOCKSIZE + x]; } MapNode & getNodeRef(v3s16 &p) { return getNodeRef(p.X, p.Y, p.Z); } public: /* Public member variables */ #ifndef SERVER // Only on client MapBlockMesh *mesh; #endif NodeMetadataList m_node_metadata; NodeTimerList m_node_timers; StaticObjectList m_static_objects; private: /* Private member variables */ // NOTE: Lots of things rely on this being the Map Map *m_parent; // Position in blocks on parent v3s16 m_pos; IGameDef *m_gamedef; /* If NULL, block is a dummy block. Dummy blocks are used for caching not-found-on-disk blocks. */ MapNode * data; /* - On the server, this is used for telling whether the block has been modified from the one on disk. - On the client, this is used for nothing. */ u32 m_modified; std::string m_modified_reason; bool m_modified_reason_too_long; /* When propagating sunlight and the above block doesn't exist, sunlight is assumed if this is false. In practice this is set to true if the block is completely undeground with nothing visible above the ground except caves. */ bool is_underground; /* Set to true if changes has been made that make the old lighting values wrong but the lighting hasn't been actually updated. If this is false, lighting is exactly right. If this is true, lighting might be wrong or right. */ bool m_lighting_expired; // Whether day and night lighting differs bool m_day_night_differs; bool m_day_night_differs_expired; bool m_generated; /* When block is removed from active blocks, this is set to gametime. Value BLOCK_TIMESTAMP_UNDEFINED=0xffffffff means there is no timestamp. */ u32 m_timestamp; // The on-disk (or to-be on-disk) timestamp value u32 m_disk_timestamp; /* When the block is accessed, this is set to 0. Map will unload the block when this reaches a timeout. */ float m_usage_timer; /* Reference count; currently used for determining if this block is in the list of blocks to be drawn. */ int m_refcount; };;
- <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
index 540a390..51dc83b 100644
--- a/signs_road/textures/signs_road_blue.png
+++ b/signs_road/textures/signs_road_blue.png
Binary files differ
diff --git a/signs_road/textures/signs_road_blue_dir_inventory.png b/signs_road/textures/signs_road_blue_dir_inventory.png
new file mode 100644
index 0000000..426c997
--- /dev/null
+++ b/signs_road/textures/signs_road_blue_dir_inventory.png
Binary files differ
diff --git a/signs_road/textures/signs_road_blue_direction.png b/signs_road/textures/signs_road_blue_direction.png
new file mode 100644
index 0000000..bba2b00
--- /dev/null
+++ b/signs_road/textures/signs_road_blue_direction.png
Binary files differ
diff --git a/signs_road/textures/signs_road_blue_street.png b/signs_road/textures/signs_road_blue_street.png
new file mode 100644
index 0000000..540a390
--- /dev/null
+++ b/signs_road/textures/signs_road_blue_street.png
Binary files differ
diff --git a/signs_road/textures/signs_road_red.png b/signs_road/textures/signs_road_red.png
new file mode 100644
index 0000000..5614f6f
--- /dev/null
+++ b/signs_road/textures/signs_road_red.png
Binary files differ
diff --git a/signs_road/textures/signs_road_red_dir_inventory.png b/signs_road/textures/signs_road_red_dir_inventory.png
new file mode 100644
index 0000000..4d9d559
--- /dev/null
+++ b/signs_road/textures/signs_road_red_dir_inventory.png
Binary files differ
diff --git a/signs_road/textures/signs_road_red_direction.png b/signs_road/textures/signs_road_red_direction.png
new file mode 100644
index 0000000..632a925
--- /dev/null
+++ b/signs_road/textures/signs_road_red_direction.png
Binary files differ