SL Programmer's number list metadata changed from serialized array
to comma-separated string of Tubelib IDs. Programmer now records
only unique IDs so no duplicates are allowed on list. This helps
building really big machines.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
modpack.conf and mod.conf files have been expanded to contain
new information that follows modding rules introduced in Minetest
version 5.0.0. Old txt files are still present for compatibility
reasons.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
minetest.get_modpath() and generic Lua global variable checks
changed to minetest.global_exists() function for all mods
in modpack.
This is the first change after moving modpack development from
Minetest version 0.4.17.1 to 5.0.0.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Both programmers support new 'func' tab in SaferLua Controller.
Empty data fields are really zero-length now instead of set to "--".
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Crafting recipe for Memory Copier can contain silver instead of gold
if moreores mod is installed.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Memory Copier description can now be changed via formspec the same
way books are titled. Setting empty label resets name to default text.
TODO and README.md updated. Modpack version changed to 0.92.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Explicit call to formspec_close() removed as it is handled
automatically by button_exit.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Programmer device has all functionality of Memory Copier while at
the same time can perform similar task to Smartline Programmer.
It is designed to speed up SaferLua Controller redeployments
(for example moving mobile mining controllers for Quarries).
Minor code adjustments of copier part was also required.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
This mod contains Memory Copier for SaferLua Controller which
can download and upload init, loop and notes sections of device
and is perfect for cloning or moving Controllers to a new location
(as they do not preserve metadata when put back in inventory)
Notice: controller uses formspec metadata so it's active right-click
menu is not updated on display - current tab metadata is also not
read then; workaround is to switch to outp or help tab before uploading
code.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>