177 Commits

Author SHA1 Message Date
Michal Cieslakiewicz
b6405e361b README.md: bump version to 2.9.4.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2023-07-26 23:01:17 +02:00
Michal Cieslakiewicz
28c2053ffb minerchest: add crystal ingots/blocks from ethereal.
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>
2023-07-26 22:57:46 +02:00
Michal Cieslakiewicz
c9e466e65e TODO: rewrite line. 2023-07-26 22:09:45 +02:00
Michal Cieslakiewicz
7f202f4301 Always set 'use_texture_alpha' field for nodes.
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>
2021-04-14 15:02:28 +02:00
Michal Cieslakiewicz
7955410900 README.md: update version info.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2020-09-25 09:35:47 +02:00
Michal Cieslakiewicz
22dee39390 biogasmachines: drop item when dug.
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>
2020-09-25 09:33:17 +02:00
Michal Cieslakiewicz
bc8f65b29e biogasmachines: fix crash when digging a machine.
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>
2020-09-24 10:47:48 +02:00
Michal Cieslakiewicz
2d488aaa21 minertools: geothermometer fix for quartz and technic minerals.
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>
2019-11-24 14:22:09 +01:00
Michal Cieslakiewicz
a80a431ba5 minerchest: add Pipeworks tube support.
Minerchest now accepts items transported via Pipeworks pneumatic tubes.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-09-09 16:35:46 +02:00
Michal Cieslakiewicz
40ee72f8be minerchest: log when combination recipe is invalid.
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>
2019-08-20 10:01:05 +02:00
Michal Cieslakiewicz
f2ef341f79 README.md updated.
Version changed to 2.9.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-08-19 17:49:03 +02:00
Michal Cieslakiewicz
7de826b1a2 minerchest: enable technic metals combination.
Non-radioactive metals from technic mod added: iron alloys,
zinc, lead and chromium.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-08-19 17:44:55 +02:00
Michal Cieslakiewicz
8704a7b710 minertools: add distance meter function to computers.
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>
2019-08-19 16:54:09 +02:00
Michal Cieslakiewicz
f0441c76dc minerchest: change tubelib dependency to optional.
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>
2019-08-19 13:19:15 +02:00
Michal Cieslakiewicz
9afc1b5bed minertools: add support for quartz and technic minerals.
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>
2019-08-19 11:21:28 +02:00
Michal Cieslakiewicz
311639ee11 slmodules: cropswatcher: fix crash when using default farming mod.
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>
2019-07-09 16:32:30 +02:00
Michal Cieslakiewicz
80b2844d24 slmodules: cropswatcher: load area before scan.
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>
2019-06-03 09:41:55 +02:00
Michal Cieslakiewicz
3a2e07f620 Minerchest mod added to modpack.
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>
2019-05-24 21:45:57 +02:00
Michal Cieslakiewicz
be846a7bc4 minertools: table.indexof() function used.
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>
2019-05-20 17:52:31 +02:00
Michal Cieslakiewicz
a2bc26992f minertools: use minetest.raycast() function for mineral finder.
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>
2019-05-20 17:41:37 +02:00
Michal Cieslakiewicz
4fc146cf57 slmodules: add optional dependency on digilines mod.
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>
2019-03-21 18:58:30 +01:00
Michal Cieslakiewicz
cf70797ecd slmodules: Digilines Message Relay added.
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>
2019-03-21 18:43:38 +01:00
Michal Cieslakiewicz
76fb0885cf slprogtools: improve ID collecting logic in programmer.
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>
2019-03-18 10:24:32 +01:00
Michal Cieslakiewicz
3055531cbb Update modpack and mod configuration files for 5.0.0.
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>
2019-03-10 12:33:49 +01:00
Michal Cieslakiewicz
e2b125e2ac biogasmachines: add tooltips to recipe hintbar icons.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-03-09 23:38:20 +01:00
Michal Cieslakiewicz
b90cbbe409 README.md updated.
Be more specific about which version targets which game engine.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-03-09 19:59:45 +01:00
Michal Cieslakiewicz
76ce8aca1b README.md updated, version changed to 2.62.
Information updated as development was moved to Minetest 5.0.0.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-03-09 19:33:09 +01:00
Michal Cieslakiewicz
b30cff939c biogasmachines: active tray color box adjusted for 5.0.0.
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>
2019-03-09 19:24:36 +01:00
Michal Cieslakiewicz
846cf32a5d Module presence checks now use minetest.global_exists().
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>
2019-03-09 19:12:46 +01:00
Michal Cieslakiewicz
5ce4b0b2fb README.md reformatted, version updated.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-03-03 22:17:14 +01:00
Michal Cieslakiewicz
f00bf97b77 slmodules: cropswatcher: add extended status command.
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>
2019-03-03 22:07:39 +01:00
Michal Cieslakiewicz
03814af39e slmodules: fix missing files in commit.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-27 14:52:34 +01:00
Michal Cieslakiewicz
128e8a783d slmodules: files reorganization, Crops Watcher added.
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>
2019-02-27 12:40:55 +01:00
Michal Cieslakiewicz
ca5c7b8601 biogasmachines: tank: fix medium tank side texture.
Removed artifact 4x4 screw bitmap from middle of texture.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-22 18:32:40 +01:00
Michal Cieslakiewicz
095821a9e7 biogasmachines: add Biogas Tank.
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>
2019-02-22 18:24:38 +01:00
Michal Cieslakiewicz
823a1dcf7e biogasmachines: add Biogas Torch.
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>
2019-02-19 13:12:23 +01:00
Michal Cieslakiewicz
23261a9574 slmodules: add AutoSieve Sensor.
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>
2019-02-16 21:12:38 +01:00
Michal Cieslakiewicz
c4d8b46a25 biogasmachines: make infotext shorter.
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>
2019-02-15 17:46:01 +01:00
Michal Cieslakiewicz
315882b40c slmodules: add Digital Switch multi-state panel.
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>
2019-02-12 15:19:25 +01:00
Michal Cieslakiewicz
91a933cc9a README.md updated with slmodules mod information.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-11 11:37:42 +01:00
Michal Cieslakiewicz
11e230339f slmodules: correctly migrate param2 orientation.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-11 11:25:27 +01:00
Michal Cieslakiewicz
883e5b7722 slmodules: fix wrong node parameter in swap_node.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-11 11:19:18 +01:00
Michal Cieslakiewicz
99a5c35fef furnacemonitor mod changed to slmodules.
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>
2019-02-11 11:07:11 +01:00
Michal Cieslakiewicz
2792a98455 biogasmachines: change tube to v2 in crafting recipes.
'tubelib:tube1' changed to 'tubelib:tubeS' in all crafting recipes.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-11 10:20:00 +01:00
Michal Cieslakiewicz
4e99b884c4 Dependencies updated for furnacemonitor and slprogtools.
Added tubelib2 as a hard dependency for above mods.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-03 16:44:46 +01:00
Michal Cieslakiewicz
372c2f46f2 slprogtools: Tubelib v2 adaptation, minor changes.
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>
2019-02-03 16:04:16 +01:00
Michal Cieslakiewicz
6ec6fda0e5 furnacemonitor: Tubelib v2 adaptation, minor changes.
States reported updated to Tubelib v2. Minor code cleanup.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-02-01 18:52:30 +01:00
Michal Cieslakiewicz
728e443364 biogasmachines: minor code cleanup in function.
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>
2019-02-01 17:36:57 +01:00
Michal Cieslakiewicz
2201310971 biogasmachines: keep_running call unified to default value.
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>
2019-02-01 17:27:01 +01:00
Michal Cieslakiewicz
874b7c207c README.md and TODO files updated.
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>
2019-01-31 23:14:00 +01:00