summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Kok <sofar+github@foo-projects.org>2016-05-27 16:08:53 -0700
committerAuke Kok <sofar+github@foo-projects.org>2016-05-27 16:08:53 -0700
commit7ecb29e87f1f272f92d0fec871dd525a80a9537c (patch)
tree9c57001d333fc36a0561a3e8bfdac0df0108532b
parent4c743f9c4d1d263c5c36edb6a5dbaab7e2bdc6e4 (diff)
Convert digilines to a mod (not modpack). (#32)
Digilines is probably used by most people in its entirety. I've retained the ability to disable inventory, rtc, lightsensor and LCD by the minetest settings "diglines_enable_rtc" etc.. If set to "false", these components will not be loaded. It is assumed by default that these are enabled. In the conversion the digilines_lcd:lcd node was renamed to digilines:lcd (same for all the other nodes). To retain backwards compatibility I've provided aliases for each of these nodes.
-rw-r--r--README.inventory (renamed from digilines_inventory/README)0
-rw-r--r--characters (renamed from digilines_lcd/characters)0
-rw-r--r--depends.txt (renamed from digilines/depends.txt)0
-rw-r--r--digilines_inventory/depends.txt1
-rw-r--r--digilines_lightsensor/depends.txt1
-rw-r--r--digilines_rtc/depends.txt1
-rw-r--r--init.lua (renamed from digilines/init.lua)31
-rw-r--r--internal.lua (renamed from digilines/internal.lua)0
-rw-r--r--inventory.lua (renamed from digilines_inventory/init.lua)5
-rw-r--r--lcd.lua (renamed from digilines_lcd/init.lua)15
-rw-r--r--lightsensor.lua (renamed from digilines_lightsensor/init.lua)3
-rw-r--r--mod.conf1
-rw-r--r--modpack.txt0
-rw-r--r--presetrules.lua (renamed from digilines/presetrules.lua)0
-rw-r--r--rtc.lua (renamed from digilines_rtc/init.lua)3
-rw-r--r--textures/_0.png (renamed from digilines_lcd/textures/_0.png)bin239 -> 239 bytes
-rw-r--r--textures/_1.png (renamed from digilines_lcd/textures/_1.png)bin238 -> 238 bytes
-rw-r--r--textures/_2.png (renamed from digilines_lcd/textures/_2.png)bin235 -> 235 bytes
-rw-r--r--textures/_3.png (renamed from digilines_lcd/textures/_3.png)bin241 -> 241 bytes
-rw-r--r--textures/_4.png (renamed from digilines_lcd/textures/_4.png)bin240 -> 240 bytes
-rw-r--r--textures/_5.png (renamed from digilines_lcd/textures/_5.png)bin237 -> 237 bytes
-rw-r--r--textures/_6.png (renamed from digilines_lcd/textures/_6.png)bin246 -> 246 bytes
-rw-r--r--textures/_7.png (renamed from digilines_lcd/textures/_7.png)bin243 -> 243 bytes
-rw-r--r--textures/_8.png (renamed from digilines_lcd/textures/_8.png)bin235 -> 235 bytes
-rw-r--r--textures/_9.png (renamed from digilines_lcd/textures/_9.png)bin245 -> 245 bytes
-rw-r--r--textures/_a.png (renamed from digilines_lcd/textures/_a.png)bin238 -> 238 bytes
-rw-r--r--textures/_a_.png (renamed from digilines_lcd/textures/_a_.png)bin251 -> 251 bytes
-rw-r--r--textures/_am.png (renamed from digilines_lcd/textures/_am.png)bin156 -> 156 bytes
-rw-r--r--textures/_ap.png (renamed from digilines_lcd/textures/_ap.png)bin228 -> 228 bytes
-rw-r--r--textures/_as.png (renamed from digilines_lcd/textures/_as.png)bin238 -> 238 bytes
-rw-r--r--textures/_at.png (renamed from digilines_lcd/textures/_at.png)bin254 -> 254 bytes
-rw-r--r--textures/_b.png (renamed from digilines_lcd/textures/_b.png)bin249 -> 249 bytes
-rw-r--r--textures/_b_.png (renamed from digilines_lcd/textures/_b_.png)bin240 -> 240 bytes
-rw-r--r--textures/_bl.png (renamed from digilines_lcd/textures/_bl.png)bin237 -> 237 bytes
-rw-r--r--textures/_br.png (renamed from digilines_lcd/textures/_br.png)bin237 -> 237 bytes
-rw-r--r--textures/_c.png (renamed from digilines_lcd/textures/_c.png)bin236 -> 236 bytes
-rw-r--r--textures/_c_.png (renamed from digilines_lcd/textures/_c_.png)bin239 -> 239 bytes
-rw-r--r--textures/_ca.png (renamed from digilines_lcd/textures/_ca.png)bin231 -> 231 bytes
-rw-r--r--textures/_cl.png (renamed from digilines_lcd/textures/_cl.png)bin233 -> 233 bytes
-rw-r--r--textures/_cm.png (renamed from digilines_lcd/textures/_cm.png)bin226 -> 226 bytes
-rw-r--r--textures/_co.png (renamed from digilines_lcd/textures/_co.png)bin135 -> 135 bytes
-rw-r--r--textures/_cr.png (renamed from digilines_lcd/textures/_cr.png)bin234 -> 234 bytes
-rw-r--r--textures/_d.png (renamed from digilines_lcd/textures/_d.png)bin243 -> 243 bytes
-rw-r--r--textures/_d_.png (renamed from digilines_lcd/textures/_d_.png)bin239 -> 239 bytes
-rw-r--r--textures/_dl.png (renamed from digilines_lcd/textures/_dl.png)bin239 -> 239 bytes
-rw-r--r--textures/_dt.png (renamed from digilines_lcd/textures/_dt.png)bin224 -> 224 bytes
-rw-r--r--textures/_dv.png (renamed from digilines_lcd/textures/_dv.png)bin235 -> 235 bytes
-rw-r--r--textures/_e.png (renamed from digilines_lcd/textures/_e.png)bin240 -> 240 bytes
-rw-r--r--textures/_e_.png (renamed from digilines_lcd/textures/_e_.png)bin242 -> 242 bytes
-rw-r--r--textures/_eq.png (renamed from digilines_lcd/textures/_eq.png)bin228 -> 228 bytes
-rw-r--r--textures/_ex.png (renamed from digilines_lcd/textures/_ex.png)bin230 -> 230 bytes
-rw-r--r--textures/_f.png (renamed from digilines_lcd/textures/_f.png)bin244 -> 244 bytes
-rw-r--r--textures/_f_.png (renamed from digilines_lcd/textures/_f_.png)bin246 -> 246 bytes
-rw-r--r--textures/_g.png (renamed from digilines_lcd/textures/_g.png)bin251 -> 251 bytes
-rw-r--r--textures/_g_.png (renamed from digilines_lcd/textures/_g_.png)bin243 -> 243 bytes
-rw-r--r--textures/_gt.png (renamed from digilines_lcd/textures/_gt.png)bin228 -> 228 bytes
-rw-r--r--textures/_h.png (renamed from digilines_lcd/textures/_h.png)bin248 -> 248 bytes
-rw-r--r--textures/_h_.png (renamed from digilines_lcd/textures/_h_.png)bin252 -> 252 bytes
-rw-r--r--textures/_ha.png (renamed from digilines_lcd/textures/_ha.png)bin233 -> 233 bytes
-rw-r--r--textures/_hs.png (renamed from digilines_lcd/textures/_hs.png)bin144 -> 144 bytes
-rw-r--r--textures/_i.png (renamed from digilines_lcd/textures/_i.png)bin237 -> 237 bytes
-rw-r--r--textures/_i_.png (renamed from digilines_lcd/textures/_i_.png)bin239 -> 239 bytes
-rw-r--r--textures/_j.png (renamed from digilines_lcd/textures/_j.png)bin240 -> 240 bytes
-rw-r--r--textures/_j_.png (renamed from digilines_lcd/textures/_j_.png)bin243 -> 243 bytes
-rw-r--r--textures/_k.png (renamed from digilines_lcd/textures/_k.png)bin247 -> 247 bytes
-rw-r--r--textures/_k_.png (renamed from digilines_lcd/textures/_k_.png)bin243 -> 243 bytes
-rw-r--r--textures/_l.png (renamed from digilines_lcd/textures/_l.png)bin238 -> 238 bytes
-rw-r--r--textures/_l_.png (renamed from digilines_lcd/textures/_l_.png)bin242 -> 242 bytes
-rw-r--r--textures/_lt.png (renamed from digilines_lcd/textures/_lt.png)bin227 -> 227 bytes
-rw-r--r--textures/_m.png (renamed from digilines_lcd/textures/_m.png)bin240 -> 240 bytes
-rw-r--r--textures/_m_.png (renamed from digilines_lcd/textures/_m_.png)bin244 -> 244 bytes
-rw-r--r--textures/_mn.png (renamed from digilines_lcd/textures/_mn.png)bin228 -> 228 bytes
-rw-r--r--textures/_n.png (renamed from digilines_lcd/textures/_n.png)bin248 -> 248 bytes
-rw-r--r--textures/_n_.png (renamed from digilines_lcd/textures/_n_.png)bin252 -> 252 bytes
-rw-r--r--textures/_o.png (renamed from digilines_lcd/textures/_o.png)bin238 -> 238 bytes
-rw-r--r--textures/_o_.png (renamed from digilines_lcd/textures/_o_.png)bin239 -> 239 bytes
-rw-r--r--textures/_p.png (renamed from digilines_lcd/textures/_p.png)bin250 -> 250 bytes
-rw-r--r--textures/_p_.png (renamed from digilines_lcd/textures/_p_.png)bin246 -> 246 bytes
-rw-r--r--textures/_pr.png (renamed from digilines_lcd/textures/_pr.png)bin255 -> 255 bytes
-rw-r--r--textures/_ps.png (renamed from digilines_lcd/textures/_ps.png)bin235 -> 235 bytes
-rw-r--r--textures/_q.png (renamed from digilines_lcd/textures/_q.png)bin251 -> 251 bytes
-rw-r--r--textures/_q_.png (renamed from digilines_lcd/textures/_q_.png)bin242 -> 242 bytes
-rw-r--r--textures/_qo.png (renamed from digilines_lcd/textures/_qo.png)bin232 -> 232 bytes
-rw-r--r--textures/_qu.png (renamed from digilines_lcd/textures/_qu.png)bin233 -> 233 bytes
-rw-r--r--textures/_r.png (renamed from digilines_lcd/textures/_r.png)bin241 -> 241 bytes
-rw-r--r--textures/_r_.png (renamed from digilines_lcd/textures/_r_.png)bin248 -> 248 bytes
-rw-r--r--textures/_re.png (renamed from digilines_lcd/textures/_re.png)bin243 -> 243 bytes
-rw-r--r--textures/_s.png (renamed from digilines_lcd/textures/_s.png)bin239 -> 239 bytes
-rw-r--r--textures/_s_.png (renamed from digilines_lcd/textures/_s_.png)bin243 -> 243 bytes
-rw-r--r--textures/_sl.png (renamed from digilines_lcd/textures/_sl.png)bin240 -> 240 bytes
-rw-r--r--textures/_sm.png (renamed from digilines_lcd/textures/_sm.png)bin227 -> 227 bytes
-rw-r--r--textures/_sp.png (renamed from digilines_lcd/textures/_sp.png)bin215 -> 215 bytes
-rw-r--r--textures/_sr.png (renamed from digilines_lcd/textures/_sr.png)bin236 -> 236 bytes
-rw-r--r--textures/_t.png (renamed from digilines_lcd/textures/_t.png)bin241 -> 241 bytes
-rw-r--r--textures/_t_.png (renamed from digilines_lcd/textures/_t_.png)bin249 -> 249 bytes
-rw-r--r--textures/_tl.png (renamed from digilines_lcd/textures/_tl.png)bin227 -> 227 bytes
-rw-r--r--textures/_u.png (renamed from digilines_lcd/textures/_u.png)bin240 -> 240 bytes
-rw-r--r--textures/_u_.png (renamed from digilines_lcd/textures/_u_.png)bin252 -> 252 bytes
-rw-r--r--textures/_un.png (renamed from digilines_lcd/textures/_un.png)bin226 -> 226 bytes
-rw-r--r--textures/_v.png (renamed from digilines_lcd/textures/_v.png)bin249 -> 249 bytes
-rw-r--r--textures/_v_.png (renamed from digilines_lcd/textures/_v_.png)bin246 -> 246 bytes
-rw-r--r--textures/_vb.png (renamed from digilines_lcd/textures/_vb.png)bin229 -> 229 bytes
-rw-r--r--textures/_w.png (renamed from digilines_lcd/textures/_w.png)bin238 -> 238 bytes
-rw-r--r--textures/_w_.png (renamed from digilines_lcd/textures/_w_.png)bin247 -> 247 bytes
-rw-r--r--textures/_x.png (renamed from digilines_lcd/textures/_x.png)bin241 -> 241 bytes
-rw-r--r--textures/_x_.png (renamed from digilines_lcd/textures/_x_.png)bin246 -> 246 bytes
-rw-r--r--textures/_y.png (renamed from digilines_lcd/textures/_y.png)bin246 -> 246 bytes
-rw-r--r--textures/_y_.png (renamed from digilines_lcd/textures/_y_.png)bin243 -> 243 bytes
-rw-r--r--textures/_z.png (renamed from digilines_lcd/textures/_z.png)bin233 -> 233 bytes
-rw-r--r--textures/_z_.png (renamed from digilines_lcd/textures/_z_.png)bin235 -> 235 bytes
-rw-r--r--textures/digiline_std.png (renamed from digilines/textures/digiline_std.png)bin446 -> 446 bytes
-rw-r--r--textures/digiline_std_bump.png (renamed from digilines/textures/digiline_std_bump.png)bin410 -> 410 bytes
-rw-r--r--textures/digiline_std_inv.png (renamed from digilines/textures/digiline_std_inv.png)bin196 -> 196 bytes
-rw-r--r--textures/digiline_std_vertical.png (renamed from digilines/textures/digiline_std_vertical.png)bin378 -> 378 bytes
-rw-r--r--textures/digilines_lightsensor.png (renamed from digilines_lightsensor/textures/digilines_lightsensor.png)bin218 -> 218 bytes
-rw-r--r--textures/digilines_rtc.png (renamed from digilines_rtc/textures/digilines_rtc.png)bin248 -> 248 bytes
-rw-r--r--textures/lcd_anyside.png (renamed from digilines_lcd/textures/lcd_anyside.png)bin142 -> 142 bytes
-rw-r--r--textures/lcd_lcd.png (renamed from digilines_lcd/textures/lcd_lcd.png)bin189 -> 189 bytes
-rw-r--r--util.lua (renamed from digilines/util.lua)0
-rw-r--r--wire_std.lua (renamed from digilines/wire_std.lua)0
-rw-r--r--wires_common.lua (renamed from digilines/wires_common.lua)0
121 files changed, 41 insertions, 20 deletions
diff --git a/digilines_inventory/README b/README.inventory
index a88115f..a88115f 100644
--- a/digilines_inventory/README
+++ b/README.inventory
diff --git a/digilines_lcd/characters b/characters
index b36eea4..b36eea4 100644
--- a/digilines_lcd/characters
+++ b/characters
diff --git a/digilines/depends.txt b/depends.txt
index 4ad96d5..4ad96d5 100644
--- a/digilines/depends.txt
+++ b/depends.txt
diff --git a/digilines_inventory/depends.txt b/digilines_inventory/depends.txt
deleted file mode 100644
index da1d119..0000000
--- a/digilines_inventory/depends.txt
+++ /dev/null
@@ -1 +0,0 @@
-digilines
diff --git a/digilines_lightsensor/depends.txt b/digilines_lightsensor/depends.txt
deleted file mode 100644
index da1d119..0000000
--- a/digilines_lightsensor/depends.txt
+++ /dev/null
@@ -1 +0,0 @@
-digilines
diff --git a/digilines_rtc/depends.txt b/digilines_rtc/depends.txt
deleted file mode 100644
index da1d119..0000000
--- a/digilines_rtc/depends.txt
+++ /dev/null
@@ -1 +0,0 @@
-digilines
diff --git a/digilines/init.lua b/init.lua
index 92f916d..2f48a73 100644
--- a/digilines/init.lua
+++ b/init.lua
@@ -1,9 +1,11 @@
digiline = {}
-dofile(minetest.get_modpath("digilines").."/presetrules.lua")
-dofile(minetest.get_modpath("digilines").."/util.lua")
-dofile(minetest.get_modpath("digilines").."/internal.lua")
-dofile(minetest.get_modpath("digilines").."/wires_common.lua")
-dofile(minetest.get_modpath("digilines").."/wire_std.lua")
+
+local modpath = minetest.get_modpath("digilines")
+dofile(modpath .. "/presetrules.lua")
+dofile(modpath .. "/util.lua")
+dofile(modpath .. "/internal.lua")
+dofile(modpath .. "/wires_common.lua")
+dofile(modpath .. "/wire_std.lua")
function digiline:receptor_send(pos, rules, channel, msg)
local checked = {}
@@ -22,4 +24,21 @@ minetest.register_craft({
{'mesecons_insulated:insulated_off', 'mesecons_insulated:insulated_off', 'default:gold_ingot'},
{'mesecons_materials:fiber', 'mesecons_materials:fiber', 'mesecons_materials:fiber'},
}
-}) \ No newline at end of file
+})
+
+-- former submods
+if minetest.is_yes(minetest.setting_get("digilines_enable_inventory") or true) then
+ dofile(modpath .. "/inventory.lua")
+end
+
+if minetest.is_yes(minetest.setting_get("digilines_enable_lcd") or true) then
+ dofile(modpath .. "/lcd.lua")
+end
+
+if minetest.is_yes(minetest.setting_get("digilines_enable_lightsensor") or true) then
+ dofile(modpath .. "/lightsensor.lua")
+end
+
+if minetest.is_yes(minetest.setting_get("digilines_enable_rtc") or true) then
+ dofile(modpath .. "/rtc.lua")
+end
diff --git a/digilines/internal.lua b/internal.lua
index 2319c16..2319c16 100644
--- a/digilines/internal.lua
+++ b/internal.lua
diff --git a/digilines_inventory/init.lua b/inventory.lua
index 0269d4e..0134e5c 100644
--- a/digilines_inventory/init.lua
+++ b/inventory.lua
@@ -26,7 +26,8 @@ end
local tubeconn = minetest.get_modpath("pipeworks") and "^pipeworks_tube_connection_wooden.png" or ""
local tubescan = minetest.get_modpath("pipeworks") and function(pos) pipeworks.scan_for_tube_objects(pos) end or nil
-minetest.register_node("digilines_inventory:chest", {
+minetest.register_alias("digilines_inventory:chest", "digilines:chest")
+minetest.register_node("digilines:chest", {
description = "Digiline Chest",
tiles = {
"default_chest_top.png"..tubeconn,
@@ -145,6 +146,6 @@ minetest.register_node("digilines_inventory:chest", {
minetest.register_craft({
type = "shapeless",
- output = "digilines_inventory:chest",
+ output = "digilines:chest",
recipe = {"default:chest", "digilines:wire_std_00000000"}
})
diff --git a/digilines_lcd/init.lua b/lcd.lua
index fafa477..3370a31 100644
--- a/digilines_lcd/init.lua
+++ b/lcd.lua
@@ -3,11 +3,11 @@
-- Font: 04.jp.org
-- load characters map
-local chars_file = io.open(minetest.get_modpath("digilines_lcd").."/characters", "r")
+local chars_file = io.open(minetest.get_modpath("digilines").."/characters", "r")
local charmap = {}
local max_chars = 12
if not chars_file then
- print("[digilines_lcd] E: character map file not found")
+ print("[digilines] E: LCD: character map file not found")
else
while true do
local char = chars_file:read("*l")
@@ -76,7 +76,8 @@ local lcd_box = {
wall_top = {-8/16, 7/16, -8/16, 8/16, 8/16, 8/16}
}
-minetest.register_node("digilines_lcd:lcd", {
+minetest.register_alias("digilines_lcd:lcd", "digilines:lcd")
+minetest.register_node("digilines:lcd", {
drawtype = "nodebox",
description = "Digiline LCD",
inventory_image = "lcd_lcd.png",
@@ -93,7 +94,7 @@ minetest.register_node("digilines_lcd:lcd", {
after_place_node = function (pos, placer, itemstack)
local param2 = minetest.get_node(pos).param2
if param2 == 0 or param2 == 1 then
- minetest.add_node(pos, {name = "digilines_lcd:lcd", param2 = 3})
+ minetest.add_node(pos, {name = "digilines:lcd", param2 = 3})
end
prepare_writing (pos)
end,
@@ -128,7 +129,7 @@ minetest.register_node("digilines_lcd:lcd", {
light_source = 6,
})
-minetest.register_entity("digilines_lcd:text", {
+minetest.register_entity(":digilines_lcd:text", {
collisionbox = { 0, 0, 0, 0, 0, 0 },
visual = "upright_sprite",
textures = {},
@@ -202,7 +203,7 @@ generate_line = function(s, ypos)
file = charmap[s:sub(i, i + 1)]
i = i + 2
else
- print("[digilines_lcd] W: unknown symbol in '"..s.."' at "..i)
+ print("[digilines] W: LCD: unknown symbol in '"..s.."' at "..i)
i = i + 1
end
if file ~= nil then
@@ -223,7 +224,7 @@ generate_line = function(s, ypos)
end
minetest.register_craft({
- output = "digilines_lcd:lcd 2",
+ output = "digilines:lcd 2",
recipe = {
{"default:steel_ingot", "digilines:wire_std_00000000", "default:steel_ingot"},
{"mesecons_lightstone:lightstone_green_off","mesecons_lightstone:lightstone_green_off","mesecons_lightstone:lightstone_green_off"},
diff --git a/digilines_lightsensor/init.lua b/lightsensor.lua
index 914899b..86a29c9 100644
--- a/digilines_lightsensor/init.lua
+++ b/lightsensor.lua
@@ -29,7 +29,8 @@ local on_digiline_receive = function (pos, node, channel, msg)
end
end
-minetest.register_node("digilines_lightsensor:lightsensor", {
+minetest.register_alias("digilines_lightsensor:lightsensor", "digilines:lightsensor")
+minetest.register_node("digilines:lightsensor", {
description = "Digiline Lightsensor",
drawtype = "nodebox",
tiles = {"digilines_lightsensor.png"},
diff --git a/mod.conf b/mod.conf
new file mode 100644
index 0000000..0b01ac5
--- /dev/null
+++ b/mod.conf
@@ -0,0 +1 @@
+name = digilines
diff --git a/modpack.txt b/modpack.txt
deleted file mode 100644
index e69de29..0000000
--- a/modpack.txt
+++ /dev/null
diff --git a/digilines/presetrules.lua b/presetrules.lua
index 8d5e35b..8d5e35b 100644
--- a/digilines/presetrules.lua
+++ b/presetrules.lua
diff --git a/digilines_rtc/init.lua b/rtc.lua
index 5abafc1..f8f6af4 100644
--- a/digilines_rtc/init.lua
+++ b/rtc.lua
@@ -24,7 +24,8 @@ local on_digiline_receive = function (pos, node, channel, msg)
end
end
-minetest.register_node("digilines_rtc:rtc", {
+minetest.register_alias("digilines_rtc:rtc", "digilines:rtc")
+minetest.register_node("digilines:rtc", {
description = "Digiline Real Time Clock (RTC)",
drawtype = "nodebox",
tiles = {"digilines_rtc.png"},
diff --git a/digilines_lcd/textures/_0.png b/textures/_0.png
index b030879..b030879 100644
--- a/digilines_lcd/textures/_0.png
+++ b/textures/_0.png
Binary files differ
diff --git a/digilines_lcd/textures/_1.png b/textures/_1.png
index ae28369..ae28369 100644
--- a/digilines_lcd/textures/_1.png
+++ b/textures/_1.png
Binary files differ
diff --git a/digilines_lcd/textures/_2.png b/textures/_2.png
index 7375c68..7375c68 100644
--- a/digilines_lcd/textures/_2.png
+++ b/textures/_2.png
Binary files differ
diff --git a/digilines_lcd/textures/_3.png b/textures/_3.png
index d724811..d724811 100644
--- a/digilines_lcd/textures/_3.png
+++ b/textures/_3.png
Binary files differ
diff --git a/digilines_lcd/textures/_4.png b/textures/_4.png
index 0fff433..0fff433 100644
--- a/digilines_lcd/textures/_4.png
+++ b/textures/_4.png
Binary files differ
diff --git a/digilines_lcd/textures/_5.png b/textures/_5.png
index 43010df..43010df 100644
--- a/digilines_lcd/textures/_5.png
+++ b/textures/_5.png
Binary files differ
diff --git a/digilines_lcd/textures/_6.png b/textures/_6.png
index 1eba38c..1eba38c 100644
--- a/digilines_lcd/textures/_6.png
+++ b/textures/_6.png
Binary files differ
diff --git a/digilines_lcd/textures/_7.png b/textures/_7.png
index dbcd2d1..dbcd2d1 100644
--- a/digilines_lcd/textures/_7.png
+++ b/textures/_7.png
Binary files differ
diff --git a/digilines_lcd/textures/_8.png b/textures/_8.png
index edf6ef5..edf6ef5 100644
--- a/digilines_lcd/textures/_8.png
+++ b/textures/_8.png
Binary files differ
diff --git a/digilines_lcd/textures/_9.png b/textures/_9.png
index c276c11..c276c11 100644
--- a/digilines_lcd/textures/_9.png
+++ b/textures/_9.png
Binary files differ
diff --git a/digilines_lcd/textures/_a.png b/textures/_a.png
index 8f3f59c..8f3f59c 100644
--- a/digilines_lcd/textures/_a.png
+++ b/textures/_a.png
Binary files differ
diff --git a/digilines_lcd/textures/_a_.png b/textures/_a_.png
index 4da193c..4da193c 100644
--- a/digilines_lcd/textures/_a_.png
+++ b/textures/_a_.png
Binary files differ
diff --git a/digilines_lcd/textures/_am.png b/textures/_am.png
index 75d0287..75d0287 100644
--- a/digilines_lcd/textures/_am.png
+++ b/textures/_am.png
Binary files differ
diff --git a/digilines_lcd/textures/_ap.png b/textures/_ap.png
index 5dd3325..5dd3325 100644
--- a/digilines_lcd/textures/_ap.png
+++ b/textures/_ap.png
Binary files differ
diff --git a/digilines_lcd/textures/_as.png b/textures/_as.png
index 3c7a25a..3c7a25a 100644
--- a/digilines_lcd/textures/_as.png
+++ b/textures/_as.png
Binary files differ
diff --git a/digilines_lcd/textures/_at.png b/textures/_at.png
index 4f9841c..4f9841c 100644
--- a/digilines_lcd/textures/_at.png
+++ b/textures/_at.png
Binary files differ
diff --git a/digilines_lcd/textures/_b.png b/textures/_b.png
index baf4eaa..baf4eaa 100644
--- a/digilines_lcd/textures/_b.png
+++ b/textures/_b.png
Binary files differ
diff --git a/digilines_lcd/textures/_b_.png b/textures/_b_.png
index b00a378..b00a378 100644
--- a/digilines_lcd/textures/_b_.png
+++ b/textures/_b_.png
Binary files differ
diff --git a/digilines_lcd/textures/_bl.png b/textures/_bl.png
index 546ca4e..546ca4e 100644
--- a/digilines_lcd/textures/_bl.png
+++ b/textures/_bl.png
Binary files differ
diff --git a/digilines_lcd/textures/_br.png b/textures/_br.png
index 5700fa6..5700fa6 100644
--- a/digilines_lcd/textures/_br.png
+++ b/textures/_br.png
Binary files differ
diff --git a/digilines_lcd/textures/_c.png b/textures/_c.png
index eedd639..eedd639 100644
--- a/digilines_lcd/textures/_c.png
+++ b/textures/_c.png
Binary files differ
diff --git a/digilines_lcd/textures/_c_.png b/textures/_c_.png
index cab6518..cab6518 100644
--- a/digilines_lcd/textures/_c_.png
+++ b/textures/_c_.png
Binary files differ
diff --git a/digilines_lcd/textures/_ca.png b/textures/_ca.png
index d359c88..d359c88 100644
--- a/digilines_lcd/textures/_ca.png
+++ b/textures/_ca.png
Binary files differ
diff --git a/digilines_lcd/textures/_cl.png b/textures/_cl.png
index 55396b9..55396b9 100644
--- a/digilines_lcd/textures/_cl.png
+++ b/textures/_cl.png
Binary files differ
diff --git a/digilines_lcd/textures/_cm.png b/textures/_cm.png
index 28beedf..28beedf 100644
--- a/digilines_lcd/textures/_cm.png
+++ b/textures/_cm.png
Binary files differ
diff --git a/digilines_lcd/textures/_co.png b/textures/_co.png
index b161819..b161819 100644
--- a/digilines_lcd/textures/_co.png
+++ b/textures/_co.png
Binary files differ
diff --git a/digilines_lcd/textures/_cr.png b/textures/_cr.png
index ac466a9..ac466a9 100644
--- a/digilines_lcd/textures/_cr.png
+++ b/textures/_cr.png
Binary files differ
diff --git a/digilines_lcd/textures/_d.png b/textures/_d.png
index a5f0699..a5f0699 100644
--- a/digilines_lcd/textures/_d.png
+++ b/textures/_d.png
Binary files differ
diff --git a/digilines_lcd/textures/_d_.png b/textures/_d_.png
index 9a0e3ed..9a0e3ed 100644
--- a/digilines_lcd/textures/_d_.png
+++ b/textures/_d_.png
Binary files differ
diff --git a/digilines_lcd/textures/_dl.png b/textures/_dl.png
index 72184ad..72184ad 100644
--- a/digilines_lcd/textures/_dl.png
+++ b/textures/_dl.png
Binary files differ
diff --git a/digilines_lcd/textures/_dt.png b/textures/_dt.png
index 61c1e4a..61c1e4a 100644
--- a/digilines_lcd/textures/_dt.png
+++ b/textures/_dt.png
Binary files differ
diff --git a/digilines_lcd/textures/_dv.png b/textures/_dv.png
index 996d7cd..996d7cd 100644
--- a/digilines_lcd/textures/_dv.png
+++ b/textures/_dv.png
Binary files differ
diff --git a/digilines_lcd/textures/_e.png b/textures/_e.png
index 29e32e6..29e32e6 100644
--- a/digilines_lcd/textures/_e.png
+++ b/textures/_e.png
Binary files differ
diff --git a/digilines_lcd/textures/_e_.png b/textures/_e_.png
index c7f19c1..c7f19c1 100644
--- a/digilines_lcd/textures/_e_.png
+++ b/textures/_e_.png
Binary files differ
diff --git a/digilines_lcd/textures/_eq.png b/textures/_eq.png
index daf8424..daf8424 100644
--- a/digilines_lcd/textures/_eq.png
+++ b/textures/_eq.png
Binary files differ
diff --git a/digilines_lcd/textures/_ex.png b/textures/_ex.png
index b5da8e9..b5da8e9 100644
--- a/digilines_lcd/textures/_ex.png
+++ b/textures/_ex.png
Binary files differ
diff --git a/digilines_lcd/textures/_f.png b/textures/_f.png
index 6835912..6835912 100644
--- a/digilines_lcd/textures/_f.png
+++ b/textures/_f.png
Binary files differ
diff --git a/digilines_lcd/textures/_f_.png b/textures/_f_.png
index 3698ed2..3698ed2 100644
--- a/digilines_lcd/textures/_f_.png
+++ b/textures/_f_.png
Binary files differ
diff --git a/digilines_lcd/textures/_g.png b/textures/_g.png
index 5a85cde..5a85cde 100644
--- a/digilines_lcd/textures/_g.png
+++ b/textures/_g.png
Binary files differ
diff --git a/digilines_lcd/textures/_g_.png b/textures/_g_.png
index cc7bbc5..cc7bbc5 100644
--- a/digilines_lcd/textures/_g_.png
+++ b/textures/_g_.png
Binary files differ
diff --git a/digilines_lcd/textures/_gt.png b/textures/_gt.png
index f30855a..f30855a 100644
--- a/digilines_lcd/textures/_gt.png
+++ b/textures/_gt.png
Binary files differ
diff --git a/digilines_lcd/textures/_h.png b/textures/_h.png
index 1a66a9e..1a66a9e 100644
--- a/digilines_lcd/textures/_h.png
+++ b/textures/_h.png
Binary files differ
diff --git a/digilines_lcd/textures/_h_.png b/textures/_h_.png
index 87beafc..87beafc 100644
--- a/digilines_lcd/textures/_h_.png
+++ b/textures/_h_.png
Binary files differ
diff --git a/digilines_lcd/textures/_ha.png b/textures/_ha.png
index 4618ced..4618ced 100644
--- a/digilines_lcd/textures/_ha.png
+++ b/textures/_ha.png
Binary files differ
diff --git a/digilines_lcd/textures/_hs.png b/textures/_hs.png
index 6f12bec..6f12bec 100644
--- a/digilines_lcd/textures/_hs.png
+++ b/textures/_hs.png
Binary files differ
diff --git a/digilines_lcd/textures/_i.png b/textures/_i.png
index f001142..f001142 100644
--- a/digilines_lcd/textures/_i.png
+++ b/textures/_i.png
Binary files differ
diff --git a/digilines_lcd/textures/_i_.png b/textures/_i_.png
index fc658b8..fc658b8 100644
--- a/digilines_lcd/textures/_i_.png
+++ b/textures/_i_.png
Binary files differ
diff --git a/digilines_lcd/textures/_j.png b/textures/_j.png
index 87d2f26..87d2f26 100644
--- a/digilines_lcd/textures/_j.png
+++ b/textures/_j.png
Binary files differ
diff --git a/digilines_lcd/textures/_j_.png b/textures/_j_.png
index c0d9ac2..c0d9ac2 100644
--- a/digilines_lcd/textures/_j_.png
+++ b/textures/_j_.png
Binary files differ
diff --git a/digilines_lcd/textures/_k.png b/textures/_k.png
index 34f9336..34f9336 100644
--- a/digilines_lcd/textures/_k.png
+++ b/textures/_k.png
Binary files differ
diff --git a/digilines_lcd/textures/_k_.png b/textures/_k_.png
index 86b623d..86b623d 100644
--- a/digilines_lcd/textures/_k_.png
+++ b/textures/_k_.png
Binary files differ
diff --git a/digilines_lcd/textures/_l.png b/textures/_l.png
index defe7ec..defe7ec 100644
--- a/digilines_lcd/textures/_l.png
+++ b/textures/_l.png
Binary files differ
diff --git a/digilines_lcd/textures/_l_.png b/textures/_l_.png
index 3fe1de2..3fe1de2 100644
--- a/digilines_lcd/textures/_l_.png
+++ b/textures/_l_.png
Binary files differ
diff --git a/digilines_lcd/textures/_lt.png b/textures/_lt.png
index ec7219d..ec7219d 100644
--- a/digilines_lcd/textures/_lt.png
+++ b/textures/_lt.png
Binary files differ
diff --git a/digilines_lcd/textures/_m.png b/textures/_m.png
index e0fe039..e0fe039 100644
--- a/digilines_lcd/textures/_m.png
+++ b/textures/_m.png
Binary files differ
diff --git a/digilines_lcd/textures/_m_.png b/textures/_m_.png
index 9164da6..9164da6 100644
--- a/digilines_lcd/textures/_m_.png
+++ b/textures/_m_.png
Binary files differ
diff --git a/digilines_lcd/textures/_mn.png b/textures/_mn.png
index 935a2fe..935a2fe 100644
--- a/digilines_lcd/textures/_mn.png
+++ b/textures/_mn.png
Binary files differ
diff --git a/digilines_lcd/textures/_n.png b/textures/_n.png
index ac10fd9..ac10fd9 100644
--- a/digilines_lcd/textures/_n.png
+++ b/textures/_n.png
Binary files differ
diff --git a/digilines_lcd/textures/_n_.png b/textures/_n_.png
index d4355c1..d4355c1 100644
--- a/digilines_lcd/textures/_n_.png
+++ b/textures/_n_.png
Binary files differ
diff --git a/digilines_lcd/textures/_o.png b/textures/_o.png
index 080e99d..080e99d 100644
--- a/digilines_lcd/textures/_o.png
+++ b/textures/_o.png
Binary files differ
diff --git a/digilines_lcd/textures/_o_.png b/textures/_o_.png
index 2d19051..2d19051 100644
--- a/digilines_lcd/textures/_o_.png
+++ b/textures/_o_.png
Binary files differ
diff --git a/digilines_lcd/textures/_p.png b/textures/_p.png
index 3050959..3050959 100644
--- a/digilines_lcd/textures/_p.png
+++ b/textures/_p.png
Binary files differ
diff --git a/digilines_lcd/textures/_p_.png b/textures/_p_.png
index 0cca011..0cca011 100644
--- a/digilines_lcd/textures/_p_.png
+++ b/textures/_p_.png
Binary files differ
diff --git a/digilines_lcd/textures/_pr.png b/textures/_pr.png
index b835141..b835141 100644
--- a/digilines_lcd/textures/_pr.png
+++ b/textures/_pr.png
Binary files differ
diff --git a/digilines_lcd/textures/_ps.png b/textures/_ps.png
index 1f4b5c1..1f4b5c1 100644
--- a/digilines_lcd/textures/_ps.png
+++ b/textures/_ps.png
Binary files differ
diff --git a/digilines_lcd/textures/_q.png b/textures/_q.png
index 945b6cf..945b6cf 100644
--- a/digilines_lcd/textures/_q.png
+++ b/textures/_q.png
Binary files differ
diff --git a/digilines_lcd/textures/_q_.png b/textures/_q_.png
index f3bf455..f3bf455 100644
--- a/digilines_lcd/textures/_q_.png
+++ b/textures/_q_.png
Binary files differ
diff --git a/digilines_lcd/textures/_qo.png b/textures/_qo.png
index 5d261e3..5d261e3 100644
--- a/digilines_lcd/textures/_qo.png
+++ b/textures/_qo.png
Binary files differ
diff --git a/digilines_lcd/textures/_qu.png b/textures/_qu.png
index 5eb597a..5eb597a 100644
--- a/digilines_lcd/textures/_qu.png
+++ b/textures/_qu.png
Binary files differ
diff --git a/digilines_lcd/textures/_r.png b/textures/_r.png
index 39e9fce..39e9fce 100644
--- a/digilines_lcd/textures/_r.png
+++ b/textures/_r.png
Binary files differ
diff --git a/digilines_lcd/textures/_r_.png b/textures/_r_.png
index 6c71c1e..6c71c1e 100644
--- a/digilines_lcd/textures/_r_.png
+++ b/textures/_r_.png
Binary files differ
diff --git a/digilines_lcd/textures/_re.png b/textures/_re.png
index 1614837..1614837 100644
--- a/digilines_lcd/textures/_re.png
+++ b/textures/_re.png
Binary files differ
diff --git a/digilines_lcd/textures/_s.png b/textures/_s.png
index a0ada1a..a0ada1a 100644
--- a/digilines_lcd/textures/_s.png
+++ b/textures/_s.png
Binary files differ
diff --git a/digilines_lcd/textures/_s_.png b/textures/_s_.png
index 9b018bb..9b018bb 100644
--- a/digilines_lcd/textures/_s_.png
+++ b/textures/_s_.png
Binary files differ
diff --git a/digilines_lcd/textures/_sl.png b/textures/_sl.png
index 08c9547..08c9547 100644
--- a/digilines_lcd/textures/_sl.png
+++ b/textures/_sl.png
Binary files differ
diff --git a/digilines_lcd/textures/_sm.png b/textures/_sm.png
index 385c64f..385c64f 100644
--- a/digilines_lcd/textures/_sm.png
+++ b/textures/_sm.png
Binary files differ
diff --git a/digilines_lcd/textures/_sp.png b/textures/_sp.png
index 4f38a35..4f38a35 100644
--- a/digilines_lcd/textures/_sp.png
+++ b/textures/_sp.png
Binary files differ
diff --git a/digilines_lcd/textures/_sr.png b/textures/_sr.png
index bc9c0a2..bc9c0a2 100644
--- a/digilines_lcd/textures/_sr.png
+++ b/textures/_sr.png
Binary files differ
diff --git a/digilines_lcd/textures/_t.png b/textures/_t.png
index c55731a..c55731a 100644
--- a/digilines_lcd/textures/_t.png
+++ b/textures/_t.png
Binary files differ
diff --git a/digilines_lcd/textures/_t_.png b/textures/_t_.png
index 773e666..773e666 100644
--- a/digilines_lcd/textures/_t_.png
+++ b/textures/_t_.png
Binary files differ
diff --git a/digilines_lcd/textures/_tl.png b/textures/_tl.png
index 059fe68..059fe68 100644
--- a/digilines_lcd/textures/_tl.png
+++ b/textures/_tl.png
Binary files differ
diff --git a/digilines_lcd/textures/_u.png b/textures/_u.png
index 98bf8e6..98bf8e6 100644
--- a/digilines_lcd/textures/_u.png
+++ b/textures/_u.png
Binary files differ
diff --git a/digilines_lcd/textures/_u_.png b/textures/_u_.png
index 35ce915..35ce915 100644
--- a/digilines_lcd/textures/_u_.png
+++ b/textures/_u_.png
Binary files differ
diff --git a/digilines_lcd/textures/_un.png b/textures/_un.png
index 01f547a..01f547a 100644
--- a/digilines_lcd/textures/_un.png
+++ b/textures/_un.png
Binary files differ
diff --git a/digilines_lcd/textures/_v.png b/textures/_v.png
index b692d11..b692d11 100644
--- a/digilines_lcd/textures/_v.png
+++ b/textures/_v.png
Binary files differ
diff --git a/digilines_lcd/textures/_v_.png b/textures/_v_.png
index 8049771..8049771 100644
--- a/digilines_lcd/textures/_v_.png
+++ b/textures/_v_.png
Binary files differ
diff --git a/digilines_lcd/textures/_vb.png b/textures/_vb.png
index 7fed7dc..7fed7dc 100644
--- a/digilines_lcd/textures/_vb.png
+++ b/textures/_vb.png
Binary files differ
diff --git a/digilines_lcd/textures/_w.png b/textures/_w.png
index 6a58b07..6a58b07 100644
--- a/digilines_lcd/textures/_w.png
+++ b/textures/_w.png
Binary files differ
diff --git a/digilines_lcd/textures/_w_.png b/textures/_w_.png
index 64904de..64904de 100644
--- a/digilines_lcd/textures/_w_.png
+++ b/textures/_w_.png
Binary files differ
diff --git a/digilines_lcd/textures/_x.png b/textures/_x.png
index b769e13..b769e13 100644
--- a/digilines_lcd/textures/_x.png
+++ b/textures/_x.png
Binary files differ
diff --git a/digilines_lcd/textures/_x_.png b/textures/_x_.png
index 2f6d067..2f6d067 100644
--- a/digilines_lcd/textures/_x_.png
+++ b/textures/_x_.png
Binary files differ
diff --git a/digilines_lcd/textures/_y.png b/textures/_y.png
index 777b55e..777b55e 100644
--- a/digilines_lcd/textures/_y.png
+++ b/textures/_y.png
Binary files differ
diff --git a/digilines_lcd/textures/_y_.png b/textures/_y_.png
index 0c40de9..0c40de9 100644
--- a/digilines_lcd/textures/_y_.png
+++ b/textures/_y_.png
Binary files differ
diff --git a/digilines_lcd/textures/_z.png b/textures/_z.png
index ae010fe..ae010fe 100644
--- a/digilines_lcd/textures/_z.png
+++ b/textures/_z.png
Binary files differ
diff --git a/digilines_lcd/textures/_z_.png b/textures/_z_.png
index 1c3e053..1c3e053 100644
--- a/digilines_lcd/textures/_z_.png
+++ b/textures/_z_.png
Binary files differ
diff --git a/digilines/textures/digiline_std.png b/textures/digiline_std.png
index 721797c..721797c 100644
--- a/digilines/textures/digiline_std.png
+++ b/textures/digiline_std.png
Binary files differ
diff --git a/digilines/textures/digiline_std_bump.png b/textures/digiline_std_bump.png
index 068a4a9..068a4a9 100644
--- a/digilines/textures/digiline_std_bump.png
+++ b/textures/digiline_std_bump.png
Binary files differ
diff --git a/digilines/textures/digiline_std_inv.png b/textures/digiline_std_inv.png
index f66f6c7..f66f6c7 100644
--- a/digilines/textures/digiline_std_inv.png
+++ b/textures/digiline_std_inv.png
Binary files differ
diff --git a/digilines/textures/digiline_std_vertical.png b/textures/digiline_std_vertical.png
index 1de0ead..1de0ead 100644
--- a/digilines/textures/digiline_std_vertical.png
+++ b/textures/digiline_std_vertical.png
Binary files differ
diff --git a/digilines_lightsensor/textures/digilines_lightsensor.png b/textures/digilines_lightsensor.png
index aa88495..aa88495 100644
--- a/digilines_lightsensor/textures/digilines_lightsensor.png
+++ b/textures/digilines_lightsensor.png
Binary files differ
diff --git a/digilines_rtc/textures/digilines_rtc.png b/textures/digilines_rtc.png
index a7b1d84..a7b1d84 100644
--- a/digilines_rtc/textures/digilines_rtc.png
+++ b/textures/digilines_rtc.png
Binary files differ
diff --git a/digilines_lcd/textures/lcd_anyside.png b/textures/lcd_anyside.png
index fe88e8d..fe88e8d 100644
--- a/digilines_lcd/textures/lcd_anyside.png
+++ b/textures/lcd_anyside.png
Binary files differ
diff --git a/digilines_lcd/textures/lcd_lcd.png b/textures/lcd_lcd.png
index c959fa1..c959fa1 100644
--- a/digilines_lcd/textures/lcd_lcd.png
+++ b/textures/lcd_lcd.png
Binary files differ
diff --git a/digilines/util.lua b/util.lua
index d138d63..d138d63 100644
--- a/digilines/util.lua
+++ b/util.lua
diff --git a/digilines/wire_std.lua b/wire_std.lua
index 71bbd0f..71bbd0f 100644
--- a/digilines/wire_std.lua
+++ b/wire_std.lua
diff --git a/digilines/wires_common.lua b/wires_common.lua
index c5f761b..c5f761b 100644
--- a/digilines/wires_common.lua
+++ b/wires_common.lua