Commit Graph

6 Commits

Author SHA1 Message Date
HybridDog
a5e2f05d92 Use new minetest.settings (#51)
Use new minetest.settings.
2019-03-05 21:35:36 -08:00
Diego Martínez
7530df494f Backwards compat code. 2017-03-14 21:57:01 -07:00
Diego Martínez
f5e6a7d181 Change to .. 2017-03-14 21:57:01 -07:00
Diego Martínez
6a2fa5a3e4 Rename global table to digilines.
This also adds a backwards compat alias so other mods
shouldn't break.
2017-03-14 21:57:01 -07:00
Christopher Head
84133a10df Use minetest.hash_node_position for searches.
Previously, Digilines used concatenations of X/Y/Z coordinates into
strings as keys to check for repeatedly visiting the same node during a
graph search. Replace them with integer keys generated by
`minetest.hash_node_position`, which should be more efficient.
2017-02-28 22:13:19 -08:00
Auke Kok
7ecb29e87f 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.
2016-05-27 16:08:53 -07:00