Add optional dependency on ethereal and allow to compress
crystal ingots into blocks. Request by KatzEyez.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
This eliminates issues and warnings for transparent textures when running
minetest version 5.4 or newer.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
This fix brings machine back into player inventory when dug instead
of destroying it completely. Thanks to Joe7575 and TechWolf.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Apparently in recent versions of TechPack API after_dig_node() method
has been functionally replaced by on_dig_node(), so all Biogas Machines
caused server to crash during removal. This commit fixes that problem.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Update geothermometer function is_mineral() so it properly recognizes
new mineral nodes from quartz and technic mods.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Minerchest accepts via API only combination recipes that are simple
(one-type crafting) and reversible. If this condition cannot be
fulfilled, be verbose and log a warning.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
All-in-one mining computers (PMC, AMA and UMG) have been upgraded with
Distance Meter function (selectable in computer menu). This lidar device
measures distance to pointed solid node with .1 accuracy. Maximum range
is 50 for PMC, 100 for AMA and 200 for UMG. Upgrade is automatical and
does not require any additional crafting.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Miner Chest can now be deployed even without TechPack enabled.
In this case it does not support I/O tube transport, acts as
a standalone chest but retain all processing functionality
(item stacking and reordering, visual status etc).
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Known mineral list for scanners and finders updated, all ores
from mods 'quartz' and 'technic' are now recognized, that is:
* quartz (quartz mod)
* lead (technic mod)
* zinc (technic mod)
* sulfur (technic mod)
* chromium (technic mod)
* uranium (technic mod)
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
farming.registered_plants table for farming_redo mod differs slightly from
default (vanilla) Minetest game farming mod. Redo adds 'crop' value and indexes
elements by full name ("farming:wheat") while vanilla one creates entries
with simple labels ("wheat") and does not provide 'crop' field.
This causes game to crash for vanilla farming addon with following error:
cropswatcher.lua:80: attempt to concatenate field 'crop' (a nil value)
Code has been updated to correctly handle either of farming mods.
This fixes issue #1 by neoh4x0r.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
CropsWatcher could return incomplete data if running on partially
loaded area. This patch ensures that whole field area is loaded
before scanning begins.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
New mod is added in this commit and it contains one element:
minerchest. The idea behind this self-organizing storage node
is to eliminate burden of manual combination of ingots and other
items mined and produced in large quantities. Putting such items
in this chest will automatically compact them into blocks.
Version changed to 2.8.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Local implementation of is_member_of() function removed, array membership
checks now use Minetest own table.indexof() function instead.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Vector calculations for node traversal in mineral finder logic is now
replaced with new function minetest.raycast() introduced in minetest 5.0.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Digilines mod added as optional dependency for mod but it is
a must-have for Digilines Message Relay.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Digilines Message Relay Chip is a simple low-level device that
interconnects Tubelib/SmartLine and Digilines networks. Chip forwards
text messages between Tubelib SaferLua Controllers and Mesecons Lua
Microcontrollers connected to Digilines bus.
Version changed to v2.7.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
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>
Version 5.0.0 apparently modified inventory box so height value
0.9 for color background area in active tray was too big. Changed
to 0.88 which looks ok now.
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>
Device registers new SaferLua command: $get_crops_status(NUM)
which returns 3 values: state (as for $get_status() function)
and 2 counters - total number of crops and how many are fully
grown.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Crops Watcher device added. This scanner node is designed to help in farming
automation by providing info when crops in the area are ready for harvest.
All slmodules components have been moved into separate files.
Version changed to 2.6.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Biogas Tank is a dedicated storage for Biogas units. It comes in
3 sizes: Small (2 slots), Medium (32 slots) and Large (72 slots).
It supports Tubelib stack pulling and status query (like HighPerf
Chest). In addition, storage tank provides both visual indication
and infotext information about current capacity usage.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Biogas Torch comes in 4 variations, depending on handle material:
steel, tin, copper and bronze. It is a replacement for standard
coal torch with additional snow and ice melting feature.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
AutoSieve Sensor is a read-only proxy between Tubelib messaging and
Automated Gravel Sieve, performing the same function that Furnace
Monitor does for Minetest standard furnace - with additional feature
of reading Sieve item counter.
Mod dependencies updated to include gravelsieve.
Modpack version changed to 2.3.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Remove "Tubelib" string from infotext, we all know that these are
Tubelib devices. Keep this information in node description though
so searching in updated inventory managers shows these as Tubelib
items.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Digital Switch is a multi-state panel that provide SaferLua
Controller with configurable input (selectable values from 0
to 9).
Minor updates to Furnace Monitor: protection check when diging,
code reformatting.
Modpack version bump to v2.2.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
furnacemonitor renamed to slmodules, this mod is intented
to include more smartline devices in the future so it is
more reasonable to keep them together.
Migration lbm action included to automatically convert
all old furnacemonitor nodes to new module name.
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>
fuel_countdown_to_halt() function has been ported from Compactor
to remaining BiogasMachines consuming fuel - variable replaced
with direct metadata function call.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Call to keep_running() function from Tubelib2 API now always
uses default value of 1 regardless of machine type and actual
number of processed items. This has been ported from Compactor
to other BiogasMachines.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Biogasmachines descriptions changed in README.md.
Modpack version set to 2.0.
Tasks in TODO file updated as well.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>