diff options
author | Auke Kok <sofar+github@foo-projects.org> | 2016-05-27 16:08:53 -0700 |
---|---|---|
committer | Auke Kok <sofar+github@foo-projects.org> | 2016-05-27 16:08:53 -0700 |
commit | 7ecb29e87f1f272f92d0fec871dd525a80a9537c (patch) | |
tree | 9c57001d333fc36a0561a3e8bfdac0df0108532b | |
parent | 4c743f9c4d1d263c5c36edb6a5dbaab7e2bdc6e4 (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.txt | 1 | ||||
-rw-r--r-- | digilines_lightsensor/depends.txt | 1 | ||||
-rw-r--r-- | digilines_rtc/depends.txt | 1 | ||||
-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.conf | 1 | ||||
-rw-r--r-- | modpack.txt | 0 | ||||
-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) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | textures/_1.png (renamed from digilines_lcd/textures/_1.png) | bin | 238 -> 238 bytes | |||
-rw-r--r-- | textures/_2.png (renamed from digilines_lcd/textures/_2.png) | bin | 235 -> 235 bytes | |||
-rw-r--r-- | textures/_3.png (renamed from digilines_lcd/textures/_3.png) | bin | 241 -> 241 bytes | |||
-rw-r--r-- | textures/_4.png (renamed from digilines_lcd/textures/_4.png) | bin | 240 -> 240 bytes | |||
-rw-r--r-- | textures/_5.png (renamed from digilines_lcd/textures/_5.png) | bin | 237 -> 237 bytes | |||
-rw-r--r-- | textures/_6.png (renamed from digilines_lcd/textures/_6.png) | bin | 246 -> 246 bytes | |||
-rw-r--r-- | textures/_7.png (renamed from digilines_lcd/textures/_7.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_8.png (renamed from digilines_lcd/textures/_8.png) | bin | 235 -> 235 bytes | |||
-rw-r--r-- | textures/_9.png (renamed from digilines_lcd/textures/_9.png) | bin | 245 -> 245 bytes | |||
-rw-r--r-- | textures/_a.png (renamed from digilines_lcd/textures/_a.png) | bin | 238 -> 238 bytes | |||
-rw-r--r-- | textures/_a_.png (renamed from digilines_lcd/textures/_a_.png) | bin | 251 -> 251 bytes | |||
-rw-r--r-- | textures/_am.png (renamed from digilines_lcd/textures/_am.png) | bin | 156 -> 156 bytes | |||
-rw-r--r-- | textures/_ap.png (renamed from digilines_lcd/textures/_ap.png) | bin | 228 -> 228 bytes | |||
-rw-r--r-- | textures/_as.png (renamed from digilines_lcd/textures/_as.png) | bin | 238 -> 238 bytes | |||
-rw-r--r-- | textures/_at.png (renamed from digilines_lcd/textures/_at.png) | bin | 254 -> 254 bytes | |||
-rw-r--r-- | textures/_b.png (renamed from digilines_lcd/textures/_b.png) | bin | 249 -> 249 bytes | |||
-rw-r--r-- | textures/_b_.png (renamed from digilines_lcd/textures/_b_.png) | bin | 240 -> 240 bytes | |||
-rw-r--r-- | textures/_bl.png (renamed from digilines_lcd/textures/_bl.png) | bin | 237 -> 237 bytes | |||
-rw-r--r-- | textures/_br.png (renamed from digilines_lcd/textures/_br.png) | bin | 237 -> 237 bytes | |||
-rw-r--r-- | textures/_c.png (renamed from digilines_lcd/textures/_c.png) | bin | 236 -> 236 bytes | |||
-rw-r--r-- | textures/_c_.png (renamed from digilines_lcd/textures/_c_.png) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | textures/_ca.png (renamed from digilines_lcd/textures/_ca.png) | bin | 231 -> 231 bytes | |||
-rw-r--r-- | textures/_cl.png (renamed from digilines_lcd/textures/_cl.png) | bin | 233 -> 233 bytes | |||
-rw-r--r-- | textures/_cm.png (renamed from digilines_lcd/textures/_cm.png) | bin | 226 -> 226 bytes | |||
-rw-r--r-- | textures/_co.png (renamed from digilines_lcd/textures/_co.png) | bin | 135 -> 135 bytes | |||
-rw-r--r-- | textures/_cr.png (renamed from digilines_lcd/textures/_cr.png) | bin | 234 -> 234 bytes | |||
-rw-r--r-- | textures/_d.png (renamed from digilines_lcd/textures/_d.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_d_.png (renamed from digilines_lcd/textures/_d_.png) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | textures/_dl.png (renamed from digilines_lcd/textures/_dl.png) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | textures/_dt.png (renamed from digilines_lcd/textures/_dt.png) | bin | 224 -> 224 bytes | |||
-rw-r--r-- | textures/_dv.png (renamed from digilines_lcd/textures/_dv.png) | bin | 235 -> 235 bytes | |||
-rw-r--r-- | textures/_e.png (renamed from digilines_lcd/textures/_e.png) | bin | 240 -> 240 bytes | |||
-rw-r--r-- | textures/_e_.png (renamed from digilines_lcd/textures/_e_.png) | bin | 242 -> 242 bytes | |||
-rw-r--r-- | textures/_eq.png (renamed from digilines_lcd/textures/_eq.png) | bin | 228 -> 228 bytes | |||
-rw-r--r-- | textures/_ex.png (renamed from digilines_lcd/textures/_ex.png) | bin | 230 -> 230 bytes | |||
-rw-r--r-- | textures/_f.png (renamed from digilines_lcd/textures/_f.png) | bin | 244 -> 244 bytes | |||
-rw-r--r-- | textures/_f_.png (renamed from digilines_lcd/textures/_f_.png) | bin | 246 -> 246 bytes | |||
-rw-r--r-- | textures/_g.png (renamed from digilines_lcd/textures/_g.png) | bin | 251 -> 251 bytes | |||
-rw-r--r-- | textures/_g_.png (renamed from digilines_lcd/textures/_g_.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_gt.png (renamed from digilines_lcd/textures/_gt.png) | bin | 228 -> 228 bytes | |||
-rw-r--r-- | textures/_h.png (renamed from digilines_lcd/textures/_h.png) | bin | 248 -> 248 bytes | |||
-rw-r--r-- | textures/_h_.png (renamed from digilines_lcd/textures/_h_.png) | bin | 252 -> 252 bytes | |||
-rw-r--r-- | textures/_ha.png (renamed from digilines_lcd/textures/_ha.png) | bin | 233 -> 233 bytes | |||
-rw-r--r-- | textures/_hs.png (renamed from digilines_lcd/textures/_hs.png) | bin | 144 -> 144 bytes | |||
-rw-r--r-- | textures/_i.png (renamed from digilines_lcd/textures/_i.png) | bin | 237 -> 237 bytes | |||
-rw-r--r-- | textures/_i_.png (renamed from digilines_lcd/textures/_i_.png) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | textures/_j.png (renamed from digilines_lcd/textures/_j.png) | bin | 240 -> 240 bytes | |||
-rw-r--r-- | textures/_j_.png (renamed from digilines_lcd/textures/_j_.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_k.png (renamed from digilines_lcd/textures/_k.png) | bin | 247 -> 247 bytes | |||
-rw-r--r-- | textures/_k_.png (renamed from digilines_lcd/textures/_k_.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_l.png (renamed from digilines_lcd/textures/_l.png) | bin | 238 -> 238 bytes | |||
-rw-r--r-- | textures/_l_.png (renamed from digilines_lcd/textures/_l_.png) | bin | 242 -> 242 bytes | |||
-rw-r--r-- | textures/_lt.png (renamed from digilines_lcd/textures/_lt.png) | bin | 227 -> 227 bytes | |||
-rw-r--r-- | textures/_m.png (renamed from digilines_lcd/textures/_m.png) | bin | 240 -> 240 bytes | |||
-rw-r--r-- | textures/_m_.png (renamed from digilines_lcd/textures/_m_.png) | bin | 244 -> 244 bytes | |||
-rw-r--r-- | textures/_mn.png (renamed from digilines_lcd/textures/_mn.png) | bin | 228 -> 228 bytes | |||
-rw-r--r-- | textures/_n.png (renamed from digilines_lcd/textures/_n.png) | bin | 248 -> 248 bytes | |||
-rw-r--r-- | textures/_n_.png (renamed from digilines_lcd/textures/_n_.png) | bin | 252 -> 252 bytes | |||
-rw-r--r-- | textures/_o.png (renamed from digilines_lcd/textures/_o.png) | bin | 238 -> 238 bytes | |||
-rw-r--r-- | textures/_o_.png (renamed from digilines_lcd/textures/_o_.png) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | textures/_p.png (renamed from digilines_lcd/textures/_p.png) | bin | 250 -> 250 bytes | |||
-rw-r--r-- | textures/_p_.png (renamed from digilines_lcd/textures/_p_.png) | bin | 246 -> 246 bytes | |||
-rw-r--r-- | textures/_pr.png (renamed from digilines_lcd/textures/_pr.png) | bin | 255 -> 255 bytes | |||
-rw-r--r-- | textures/_ps.png (renamed from digilines_lcd/textures/_ps.png) | bin | 235 -> 235 bytes | |||
-rw-r--r-- | textures/_q.png (renamed from digilines_lcd/textures/_q.png) | bin | 251 -> 251 bytes | |||
-rw-r--r-- | textures/_q_.png (renamed from digilines_lcd/textures/_q_.png) | bin | 242 -> 242 bytes | |||
-rw-r--r-- | textures/_qo.png (renamed from digilines_lcd/textures/_qo.png) | bin | 232 -> 232 bytes | |||
-rw-r--r-- | textures/_qu.png (renamed from digilines_lcd/textures/_qu.png) | bin | 233 -> 233 bytes | |||
-rw-r--r-- | textures/_r.png (renamed from digilines_lcd/textures/_r.png) | bin | 241 -> 241 bytes | |||
-rw-r--r-- | textures/_r_.png (renamed from digilines_lcd/textures/_r_.png) | bin | 248 -> 248 bytes | |||
-rw-r--r-- | textures/_re.png (renamed from digilines_lcd/textures/_re.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_s.png (renamed from digilines_lcd/textures/_s.png) | bin | 239 -> 239 bytes | |||
-rw-r--r-- | textures/_s_.png (renamed from digilines_lcd/textures/_s_.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_sl.png (renamed from digilines_lcd/textures/_sl.png) | bin | 240 -> 240 bytes | |||
-rw-r--r-- | textures/_sm.png (renamed from digilines_lcd/textures/_sm.png) | bin | 227 -> 227 bytes | |||
-rw-r--r-- | textures/_sp.png (renamed from digilines_lcd/textures/_sp.png) | bin | 215 -> 215 bytes | |||
-rw-r--r-- | textures/_sr.png (renamed from digilines_lcd/textures/_sr.png) | bin | 236 -> 236 bytes | |||
-rw-r--r-- | textures/_t.png (renamed from digilines_lcd/textures/_t.png) | bin | 241 -> 241 bytes | |||
-rw-r--r-- | textures/_t_.png (renamed from digilines_lcd/textures/_t_.png) | bin | 249 -> 249 bytes | |||
-rw-r--r-- | textures/_tl.png (renamed from digilines_lcd/textures/_tl.png) | bin | 227 -> 227 bytes | |||
-rw-r--r-- | textures/_u.png (renamed from digilines_lcd/textures/_u.png) | bin | 240 -> 240 bytes | |||
-rw-r--r-- | textures/_u_.png (renamed from digilines_lcd/textures/_u_.png) | bin | 252 -> 252 bytes | |||
-rw-r--r-- | textures/_un.png (renamed from digilines_lcd/textures/_un.png) | bin | 226 -> 226 bytes | |||
-rw-r--r-- | textures/_v.png (renamed from digilines_lcd/textures/_v.png) | bin | 249 -> 249 bytes | |||
-rw-r--r-- | textures/_v_.png (renamed from digilines_lcd/textures/_v_.png) | bin | 246 -> 246 bytes | |||
-rw-r--r-- | textures/_vb.png (renamed from digilines_lcd/textures/_vb.png) | bin | 229 -> 229 bytes | |||
-rw-r--r-- | textures/_w.png (renamed from digilines_lcd/textures/_w.png) | bin | 238 -> 238 bytes | |||
-rw-r--r-- | textures/_w_.png (renamed from digilines_lcd/textures/_w_.png) | bin | 247 -> 247 bytes | |||
-rw-r--r-- | textures/_x.png (renamed from digilines_lcd/textures/_x.png) | bin | 241 -> 241 bytes | |||
-rw-r--r-- | textures/_x_.png (renamed from digilines_lcd/textures/_x_.png) | bin | 246 -> 246 bytes | |||
-rw-r--r-- | textures/_y.png (renamed from digilines_lcd/textures/_y.png) | bin | 246 -> 246 bytes | |||
-rw-r--r-- | textures/_y_.png (renamed from digilines_lcd/textures/_y_.png) | bin | 243 -> 243 bytes | |||
-rw-r--r-- | textures/_z.png (renamed from digilines_lcd/textures/_z.png) | bin | 233 -> 233 bytes | |||
-rw-r--r-- | textures/_z_.png (renamed from digilines_lcd/textures/_z_.png) | bin | 235 -> 235 bytes | |||
-rw-r--r-- | textures/digiline_std.png (renamed from digilines/textures/digiline_std.png) | bin | 446 -> 446 bytes | |||
-rw-r--r-- | textures/digiline_std_bump.png (renamed from digilines/textures/digiline_std_bump.png) | bin | 410 -> 410 bytes | |||
-rw-r--r-- | textures/digiline_std_inv.png (renamed from digilines/textures/digiline_std_inv.png) | bin | 196 -> 196 bytes | |||
-rw-r--r-- | textures/digiline_std_vertical.png (renamed from digilines/textures/digiline_std_vertical.png) | bin | 378 -> 378 bytes | |||
-rw-r--r-- | textures/digilines_lightsensor.png (renamed from digilines_lightsensor/textures/digilines_lightsensor.png) | bin | 218 -> 218 bytes | |||
-rw-r--r-- | textures/digilines_rtc.png (renamed from digilines_rtc/textures/digilines_rtc.png) | bin | 248 -> 248 bytes | |||
-rw-r--r-- | textures/lcd_anyside.png (renamed from digilines_lcd/textures/lcd_anyside.png) | bin | 142 -> 142 bytes | |||
-rw-r--r-- | textures/lcd_lcd.png (renamed from digilines_lcd/textures/lcd_lcd.png) | bin | 189 -> 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 Binary files differindex b030879..b030879 100644 --- a/digilines_lcd/textures/_0.png +++ b/textures/_0.png diff --git a/digilines_lcd/textures/_1.png b/textures/_1.png Binary files differindex ae28369..ae28369 100644 --- a/digilines_lcd/textures/_1.png +++ b/textures/_1.png diff --git a/digilines_lcd/textures/_2.png b/textures/_2.png Binary files differindex 7375c68..7375c68 100644 --- a/digilines_lcd/textures/_2.png +++ b/textures/_2.png diff --git a/digilines_lcd/textures/_3.png b/textures/_3.png Binary files differindex d724811..d724811 100644 --- a/digilines_lcd/textures/_3.png +++ b/textures/_3.png diff --git a/digilines_lcd/textures/_4.png b/textures/_4.png Binary files differindex 0fff433..0fff433 100644 --- a/digilines_lcd/textures/_4.png +++ b/textures/_4.png diff --git a/digilines_lcd/textures/_5.png b/textures/_5.png Binary files differindex 43010df..43010df 100644 --- a/digilines_lcd/textures/_5.png +++ b/textures/_5.png diff --git a/digilines_lcd/textures/_6.png b/textures/_6.png Binary files differindex 1eba38c..1eba38c 100644 --- a/digilines_lcd/textures/_6.png +++ b/textures/_6.png diff --git a/digilines_lcd/textures/_7.png b/textures/_7.png Binary files differindex dbcd2d1..dbcd2d1 100644 --- a/digilines_lcd/textures/_7.png +++ b/textures/_7.png diff --git a/digilines_lcd/textures/_8.png b/textures/_8.png Binary files differindex edf6ef5..edf6ef5 100644 --- a/digilines_lcd/textures/_8.png +++ b/textures/_8.png diff --git a/digilines_lcd/textures/_9.png b/textures/_9.png Binary files differindex c276c11..c276c11 100644 --- a/digilines_lcd/textures/_9.png +++ b/textures/_9.png diff --git a/digilines_lcd/textures/_a.png b/textures/_a.png Binary files differindex 8f3f59c..8f3f59c 100644 --- a/digilines_lcd/textures/_a.png +++ b/textures/_a.png diff --git a/digilines_lcd/textures/_a_.png b/textures/_a_.png Binary files differindex 4da193c..4da193c 100644 --- a/digilines_lcd/textures/_a_.png +++ b/textures/_a_.png diff --git a/digilines_lcd/textures/_am.png b/textures/_am.png Binary files differindex 75d0287..75d0287 100644 --- a/digilines_lcd/textures/_am.png +++ b/textures/_am.png diff --git a/digilines_lcd/textures/_ap.png b/textures/_ap.png Binary files differindex 5dd3325..5dd3325 100644 --- a/digilines_lcd/textures/_ap.png +++ b/textures/_ap.png diff --git a/digilines_lcd/textures/_as.png b/textures/_as.png Binary files differindex 3c7a25a..3c7a25a 100644 --- a/digilines_lcd/textures/_as.png +++ b/textures/_as.png diff --git a/digilines_lcd/textures/_at.png b/textures/_at.png Binary files differindex 4f9841c..4f9841c 100644 --- a/digilines_lcd/textures/_at.png +++ b/textures/_at.png diff --git a/digilines_lcd/textures/_b.png b/textures/_b.png Binary files differindex baf4eaa..baf4eaa 100644 --- a/digilines_lcd/textures/_b.png +++ b/textures/_b.png diff --git a/digilines_lcd/textures/_b_.png b/textures/_b_.png Binary files differindex b00a378..b00a378 100644 --- a/digilines_lcd/textures/_b_.png +++ b/textures/_b_.png diff --git a/digilines_lcd/textures/_bl.png b/textures/_bl.png Binary files differindex 546ca4e..546ca4e 100644 --- a/digilines_lcd/textures/_bl.png +++ b/textures/_bl.png diff --git a/digilines_lcd/textures/_br.png b/textures/_br.png Binary files differindex 5700fa6..5700fa6 100644 --- a/digilines_lcd/textures/_br.png +++ b/textures/_br.png diff --git a/digilines_lcd/textures/_c.png b/textures/_c.png Binary files differindex eedd639..eedd639 100644 --- a/digilines_lcd/textures/_c.png +++ b/textures/_c.png diff --git a/digilines_lcd/textures/_c_.png b/textures/_c_.png Binary files differindex cab6518..cab6518 100644 --- a/digilines_lcd/textures/_c_.png +++ b/textures/_c_.png diff --git a/digilines_lcd/textures/_ca.png b/textures/_ca.png Binary files differindex d359c88..d359c88 100644 --- a/digilines_lcd/textures/_ca.png +++ b/textures/_ca.png diff --git a/digilines_lcd/textures/_cl.png b/textures/_cl.png Binary files differindex 55396b9..55396b9 100644 --- a/digilines_lcd/textures/_cl.png +++ b/textures/_cl.png diff --git a/digilines_lcd/textures/_cm.png b/textures/_cm.png Binary files differindex 28beedf..28beedf 100644 --- a/digilines_lcd/textures/_cm.png +++ b/textures/_cm.png diff --git a/digilines_lcd/textures/_co.png b/textures/_co.png Binary files differindex b161819..b161819 100644 --- a/digilines_lcd/textures/_co.png +++ b/textures/_co.png diff --git a/digilines_lcd/textures/_cr.png b/textures/_cr.png Binary files differindex ac466a9..ac466a9 100644 --- a/digilines_lcd/textures/_cr.png +++ b/textures/_cr.png diff --git a/digilines_lcd/textures/_d.png b/textures/_d.png Binary files differindex a5f0699..a5f0699 100644 --- a/digilines_lcd/textures/_d.png +++ b/textures/_d.png diff --git a/digilines_lcd/textures/_d_.png b/textures/_d_.png Binary files differindex 9a0e3ed..9a0e3ed 100644 --- a/digilines_lcd/textures/_d_.png +++ b/textures/_d_.png diff --git a/digilines_lcd/textures/_dl.png b/textures/_dl.png Binary files differindex 72184ad..72184ad 100644 --- a/digilines_lcd/textures/_dl.png +++ b/textures/_dl.png diff --git a/digilines_lcd/textures/_dt.png b/textures/_dt.png Binary files differindex 61c1e4a..61c1e4a 100644 --- a/digilines_lcd/textures/_dt.png +++ b/textures/_dt.png diff --git a/digilines_lcd/textures/_dv.png b/textures/_dv.png Binary files differindex 996d7cd..996d7cd 100644 --- a/digilines_lcd/textures/_dv.png +++ b/textures/_dv.png diff --git a/digilines_lcd/textures/_e.png b/textures/_e.png Binary files differindex 29e32e6..29e32e6 100644 --- a/digilines_lcd/textures/_e.png +++ b/textures/_e.png diff --git a/digilines_lcd/textures/_e_.png b/textures/_e_.png Binary files differindex c7f19c1..c7f19c1 100644 --- a/digilines_lcd/textures/_e_.png +++ b/textures/_e_.png diff --git a/digilines_lcd/textures/_eq.png b/textures/_eq.png Binary files differindex daf8424..daf8424 100644 --- a/digilines_lcd/textures/_eq.png +++ b/textures/_eq.png diff --git a/digilines_lcd/textures/_ex.png b/textures/_ex.png Binary files differindex b5da8e9..b5da8e9 100644 --- a/digilines_lcd/textures/_ex.png +++ b/textures/_ex.png diff --git a/digilines_lcd/textures/_f.png b/textures/_f.png Binary files differindex 6835912..6835912 100644 --- a/digilines_lcd/textures/_f.png +++ b/textures/_f.png diff --git a/digilines_lcd/textures/_f_.png b/textures/_f_.png Binary files differindex 3698ed2..3698ed2 100644 --- a/digilines_lcd/textures/_f_.png +++ b/textures/_f_.png diff --git a/digilines_lcd/textures/_g.png b/textures/_g.png Binary files differindex 5a85cde..5a85cde 100644 --- a/digilines_lcd/textures/_g.png +++ b/textures/_g.png diff --git a/digilines_lcd/textures/_g_.png b/textures/_g_.png Binary files differindex cc7bbc5..cc7bbc5 100644 --- a/digilines_lcd/textures/_g_.png +++ b/textures/_g_.png diff --git a/digilines_lcd/textures/_gt.png b/textures/_gt.png Binary files differindex f30855a..f30855a 100644 --- a/digilines_lcd/textures/_gt.png +++ b/textures/_gt.png diff --git a/digilines_lcd/textures/_h.png b/textures/_h.png Binary files differindex 1a66a9e..1a66a9e 100644 --- a/digilines_lcd/textures/_h.png +++ b/textures/_h.png diff --git a/digilines_lcd/textures/_h_.png b/textures/_h_.png Binary files differindex 87beafc..87beafc 100644 --- a/digilines_lcd/textures/_h_.png +++ b/textures/_h_.png diff --git a/digilines_lcd/textures/_ha.png b/textures/_ha.png Binary files differindex 4618ced..4618ced 100644 --- a/digilines_lcd/textures/_ha.png +++ b/textures/_ha.png diff --git a/digilines_lcd/textures/_hs.png b/textures/_hs.png Binary files differindex 6f12bec..6f12bec 100644 --- a/digilines_lcd/textures/_hs.png +++ b/textures/_hs.png diff --git a/digilines_lcd/textures/_i.png b/textures/_i.png Binary files differindex f001142..f001142 100644 --- a/digilines_lcd/textures/_i.png +++ b/textures/_i.png diff --git a/digilines_lcd/textures/_i_.png b/textures/_i_.png Binary files differindex fc658b8..fc658b8 100644 --- a/digilines_lcd/textures/_i_.png +++ b/textures/_i_.png diff --git a/digilines_lcd/textures/_j.png b/textures/_j.png Binary files differindex 87d2f26..87d2f26 100644 --- a/digilines_lcd/textures/_j.png +++ b/textures/_j.png diff --git a/digilines_lcd/textures/_j_.png b/textures/_j_.png Binary files differindex c0d9ac2..c0d9ac2 100644 --- a/digilines_lcd/textures/_j_.png +++ b/textures/_j_.png diff --git a/digilines_lcd/textures/_k.png b/textures/_k.png Binary files differindex 34f9336..34f9336 100644 --- a/digilines_lcd/textures/_k.png +++ b/textures/_k.png diff --git a/digilines_lcd/textures/_k_.png b/textures/_k_.png Binary files differindex 86b623d..86b623d 100644 --- a/digilines_lcd/textures/_k_.png +++ b/textures/_k_.png diff --git a/digilines_lcd/textures/_l.png b/textures/_l.png Binary files differindex defe7ec..defe7ec 100644 --- a/digilines_lcd/textures/_l.png +++ b/textures/_l.png diff --git a/digilines_lcd/textures/_l_.png b/textures/_l_.png Binary files differindex 3fe1de2..3fe1de2 100644 --- a/digilines_lcd/textures/_l_.png +++ b/textures/_l_.png diff --git a/digilines_lcd/textures/_lt.png b/textures/_lt.png Binary files differindex ec7219d..ec7219d 100644 --- a/digilines_lcd/textures/_lt.png +++ b/textures/_lt.png diff --git a/digilines_lcd/textures/_m.png b/textures/_m.png Binary files differindex e0fe039..e0fe039 100644 --- a/digilines_lcd/textures/_m.png +++ b/textures/_m.png diff --git a/digilines_lcd/textures/_m_.png b/textures/_m_.png Binary files differindex 9164da6..9164da6 100644 --- a/digilines_lcd/textures/_m_.png +++ b/textures/_m_.png diff --git a/digilines_lcd/textures/_mn.png b/textures/_mn.png Binary files differindex 935a2fe..935a2fe 100644 --- a/digilines_lcd/textures/_mn.png +++ b/textures/_mn.png diff --git a/digilines_lcd/textures/_n.png b/textures/_n.png Binary files differindex ac10fd9..ac10fd9 100644 --- a/digilines_lcd/textures/_n.png +++ b/textures/_n.png diff --git a/digilines_lcd/textures/_n_.png b/textures/_n_.png Binary files differindex d4355c1..d4355c1 100644 --- a/digilines_lcd/textures/_n_.png +++ b/textures/_n_.png diff --git a/digilines_lcd/textures/_o.png b/textures/_o.png Binary files differindex 080e99d..080e99d 100644 --- a/digilines_lcd/textures/_o.png +++ b/textures/_o.png diff --git a/digilines_lcd/textures/_o_.png b/textures/_o_.png Binary files differindex 2d19051..2d19051 100644 --- a/digilines_lcd/textures/_o_.png +++ b/textures/_o_.png diff --git a/digilines_lcd/textures/_p.png b/textures/_p.png Binary files differindex 3050959..3050959 100644 --- a/digilines_lcd/textures/_p.png +++ b/textures/_p.png diff --git a/digilines_lcd/textures/_p_.png b/textures/_p_.png Binary files differindex 0cca011..0cca011 100644 --- a/digilines_lcd/textures/_p_.png +++ b/textures/_p_.png diff --git a/digilines_lcd/textures/_pr.png b/textures/_pr.png Binary files differindex b835141..b835141 100644 --- a/digilines_lcd/textures/_pr.png +++ b/textures/_pr.png diff --git a/digilines_lcd/textures/_ps.png b/textures/_ps.png Binary files differindex 1f4b5c1..1f4b5c1 100644 --- a/digilines_lcd/textures/_ps.png +++ b/textures/_ps.png diff --git a/digilines_lcd/textures/_q.png b/textures/_q.png Binary files differindex 945b6cf..945b6cf 100644 --- a/digilines_lcd/textures/_q.png +++ b/textures/_q.png diff --git a/digilines_lcd/textures/_q_.png b/textures/_q_.png Binary files differindex f3bf455..f3bf455 100644 --- a/digilines_lcd/textures/_q_.png +++ b/textures/_q_.png diff --git a/digilines_lcd/textures/_qo.png b/textures/_qo.png Binary files differindex 5d261e3..5d261e3 100644 --- a/digilines_lcd/textures/_qo.png +++ b/textures/_qo.png diff --git a/digilines_lcd/textures/_qu.png b/textures/_qu.png Binary files differindex 5eb597a..5eb597a 100644 --- a/digilines_lcd/textures/_qu.png +++ b/textures/_qu.png diff --git a/digilines_lcd/textures/_r.png b/textures/_r.png Binary files differindex 39e9fce..39e9fce 100644 --- a/digilines_lcd/textures/_r.png +++ b/textures/_r.png diff --git a/digilines_lcd/textures/_r_.png b/textures/_r_.png Binary files differindex 6c71c1e..6c71c1e 100644 --- a/digilines_lcd/textures/_r_.png +++ b/textures/_r_.png diff --git a/digilines_lcd/textures/_re.png b/textures/_re.png Binary files differindex 1614837..1614837 100644 --- a/digilines_lcd/textures/_re.png +++ b/textures/_re.png diff --git a/digilines_lcd/textures/_s.png b/textures/_s.png Binary files differindex a0ada1a..a0ada1a 100644 --- a/digilines_lcd/textures/_s.png +++ b/textures/_s.png diff --git a/digilines_lcd/textures/_s_.png b/textures/_s_.png Binary files differindex 9b018bb..9b018bb 100644 --- a/digilines_lcd/textures/_s_.png +++ b/textures/_s_.png diff --git a/digilines_lcd/textures/_sl.png b/textures/_sl.png Binary files differindex 08c9547..08c9547 100644 --- a/digilines_lcd/textures/_sl.png +++ b/textures/_sl.png diff --git a/digilines_lcd/textures/_sm.png b/textures/_sm.png Binary files differindex 385c64f..385c64f 100644 --- a/digilines_lcd/textures/_sm.png +++ b/textures/_sm.png diff --git a/digilines_lcd/textures/_sp.png b/textures/_sp.png Binary files differindex 4f38a35..4f38a35 100644 --- a/digilines_lcd/textures/_sp.png +++ b/textures/_sp.png diff --git a/digilines_lcd/textures/_sr.png b/textures/_sr.png Binary files differindex bc9c0a2..bc9c0a2 100644 --- a/digilines_lcd/textures/_sr.png +++ b/textures/_sr.png diff --git a/digilines_lcd/textures/_t.png b/textures/_t.png Binary files differindex c55731a..c55731a 100644 --- a/digilines_lcd/textures/_t.png +++ b/textures/_t.png diff --git a/digilines_lcd/textures/_t_.png b/textures/_t_.png Binary files differindex 773e666..773e666 100644 --- a/digilines_lcd/textures/_t_.png +++ b/textures/_t_.png diff --git a/digilines_lcd/textures/_tl.png b/textures/_tl.png Binary files differindex 059fe68..059fe68 100644 --- a/digilines_lcd/textures/_tl.png +++ b/textures/_tl.png diff --git a/digilines_lcd/textures/_u.png b/textures/_u.png Binary files differindex 98bf8e6..98bf8e6 100644 --- a/digilines_lcd/textures/_u.png +++ b/textures/_u.png diff --git a/digilines_lcd/textures/_u_.png b/textures/_u_.png Binary files differindex 35ce915..35ce915 100644 --- a/digilines_lcd/textures/_u_.png +++ b/textures/_u_.png diff --git a/digilines_lcd/textures/_un.png b/textures/_un.png Binary files differindex 01f547a..01f547a 100644 --- a/digilines_lcd/textures/_un.png +++ b/textures/_un.png diff --git a/digilines_lcd/textures/_v.png b/textures/_v.png Binary files differindex b692d11..b692d11 100644 --- a/digilines_lcd/textures/_v.png +++ b/textures/_v.png diff --git a/digilines_lcd/textures/_v_.png b/textures/_v_.png Binary files differindex 8049771..8049771 100644 --- a/digilines_lcd/textures/_v_.png +++ b/textures/_v_.png diff --git a/digilines_lcd/textures/_vb.png b/textures/_vb.png Binary files differindex 7fed7dc..7fed7dc 100644 --- a/digilines_lcd/textures/_vb.png +++ b/textures/_vb.png diff --git a/digilines_lcd/textures/_w.png b/textures/_w.png Binary files differindex 6a58b07..6a58b07 100644 --- a/digilines_lcd/textures/_w.png +++ b/textures/_w.png diff --git a/digilines_lcd/textures/_w_.png b/textures/_w_.png Binary files differindex 64904de..64904de 100644 --- a/digilines_lcd/textures/_w_.png +++ b/textures/_w_.png diff --git a/digilines_lcd/textures/_x.png b/textures/_x.png Binary files differindex b769e13..b769e13 100644 --- a/digilines_lcd/textures/_x.png +++ b/textures/_x.png diff --git a/digilines_lcd/textures/_x_.png b/textures/_x_.png Binary files differindex 2f6d067..2f6d067 100644 --- a/digilines_lcd/textures/_x_.png +++ b/textures/_x_.png diff --git a/digilines_lcd/textures/_y.png b/textures/_y.png Binary files differindex 777b55e..777b55e 100644 --- a/digilines_lcd/textures/_y.png +++ b/textures/_y.png diff --git a/digilines_lcd/textures/_y_.png b/textures/_y_.png Binary files differindex 0c40de9..0c40de9 100644 --- a/digilines_lcd/textures/_y_.png +++ b/textures/_y_.png diff --git a/digilines_lcd/textures/_z.png b/textures/_z.png Binary files differindex ae010fe..ae010fe 100644 --- a/digilines_lcd/textures/_z.png +++ b/textures/_z.png diff --git a/digilines_lcd/textures/_z_.png b/textures/_z_.png Binary files differindex 1c3e053..1c3e053 100644 --- a/digilines_lcd/textures/_z_.png +++ b/textures/_z_.png diff --git a/digilines/textures/digiline_std.png b/textures/digiline_std.png Binary files differindex 721797c..721797c 100644 --- a/digilines/textures/digiline_std.png +++ b/textures/digiline_std.png diff --git a/digilines/textures/digiline_std_bump.png b/textures/digiline_std_bump.png Binary files differindex 068a4a9..068a4a9 100644 --- a/digilines/textures/digiline_std_bump.png +++ b/textures/digiline_std_bump.png diff --git a/digilines/textures/digiline_std_inv.png b/textures/digiline_std_inv.png Binary files differindex f66f6c7..f66f6c7 100644 --- a/digilines/textures/digiline_std_inv.png +++ b/textures/digiline_std_inv.png diff --git a/digilines/textures/digiline_std_vertical.png b/textures/digiline_std_vertical.png Binary files differindex 1de0ead..1de0ead 100644 --- a/digilines/textures/digiline_std_vertical.png +++ b/textures/digiline_std_vertical.png diff --git a/digilines_lightsensor/textures/digilines_lightsensor.png b/textures/digilines_lightsensor.png Binary files differindex aa88495..aa88495 100644 --- a/digilines_lightsensor/textures/digilines_lightsensor.png +++ b/textures/digilines_lightsensor.png diff --git a/digilines_rtc/textures/digilines_rtc.png b/textures/digilines_rtc.png Binary files differindex a7b1d84..a7b1d84 100644 --- a/digilines_rtc/textures/digilines_rtc.png +++ b/textures/digilines_rtc.png diff --git a/digilines_lcd/textures/lcd_anyside.png b/textures/lcd_anyside.png Binary files differindex fe88e8d..fe88e8d 100644 --- a/digilines_lcd/textures/lcd_anyside.png +++ b/textures/lcd_anyside.png diff --git a/digilines_lcd/textures/lcd_lcd.png b/textures/lcd_lcd.png Binary files differindex c959fa1..c959fa1 100644 --- a/digilines_lcd/textures/lcd_lcd.png +++ b/textures/lcd_lcd.png 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 |