A modular tunnel boring/construction machine mod for Minetest.
Go to file
Hans von Smacker 3f9ca87269
Master builder node (#60)
* broken layout check

* broken layout check

* broken layout check

* introducing master builder module

* fix drops for mb

---------

Co-authored-by: h-v-smacker <hans-von-smacker+github@gmail.com>
2023-05-24 08:00:00 +02:00
locale Add block count to default crate title 2019-01-09 00:39:40 -07:00
nodes Master builder node (#60) 2023-05-24 08:00:00 +02:00
sounds add inventory ejector 2017-10-14 14:55:39 -06:00
textures Master builder node (#60) 2023-05-24 08:00:00 +02:00
.gitattributes 🎊 Added .gitattributes & .gitignore files 2016-12-30 23:34:57 -07:00
.gitignore 🎊 Added .gitattributes & .gitignore files 2016-12-30 23:34:57 -07:00
awards.lua Add block count to default crate title 2019-01-09 00:39:40 -07:00
class_fakeplayer.lua fakeplayer for callbacks, switch to whitelist for on_place calls 2017-10-16 21:35:24 -06:00
class_layout.lua Change after_dig_node() callbacks to supply metadata as table (#68) 2020-07-31 18:33:09 +02:00
class_pointset.lua a little more optimization, and sounds when placing nodes on builders and diggers 2019-01-09 00:20:02 -07:00
config.lua limit size of the digtron with config option: digtron_size_limit, default to 1000 nodes (#52) 2019-06-09 23:15:27 -06:00
depends.txt Support for RE batteries for fuel 2017-10-10 22:02:35 +03:00
description.txt Add wiki link to description 2017-01-22 11:35:52 -07:00
doc.lua documentation and locale update 2017-10-24 21:37:02 -06:00
entities.lua Replace deprecated function calls (#70) 2020-08-12 21:15:36 +02:00
init.lua add Digtron duplicator block 2017-10-22 19:50:11 -06:00
intllib.lua Internationalization support 2017-02-04 23:08:38 -07:00
LICENSE.txt Switching to MIT license 2017-10-10 20:39:33 -06:00
mod.conf Add (soft) dependencies to "mod.conf" (#58) 2019-09-22 23:34:19 -05:00
README.md Fix links in the README (#82) 2022-06-03 19:33:54 +02:00
screenshot.png Add screenshot 2017-01-21 21:22:54 -07:00
settingtypes.txt Optimization of table allocation, more sophisticated entity damage (#37) 2019-01-04 22:06:12 -07:00
upgrades.lua add automation option to item ejector 2017-10-21 22:29:18 -06:00
util_execute_cycle.lua Fix no fuel bug, fix rotation axles and simple controllers being single-use. 2022-10-29 21:45:08 +02:00
util_item_place_node.lua validate parameters 2019-01-01 23:22:52 -07:00
util.lua Fix deprecated minetest.env calls (#86) 2023-02-21 20:41:49 +01:00

Modular Tunnel Boring Machine

aka The Almighty Digtron

This mod contains a set of blocks that can be used to construct highly customizable and modular tunnel-boring machines, bridge-builders, road-pavers, wall-o-matics, and other such construction/destruction contraptions.

A digging machine's components must be connected to the control block via a path leading through the faces of the blocks - diagonal connections across edges and corners don't count.

The basic block types that can be assembled into a functioning digging machine are:

  • Digger heads, which excavate material in front of them when the machine is triggered
  • Builder heads, which build a user-configured node in the direction they're facing
  • Inventory modules, which hold material produced by the digger and provide material to the builders
  • Fuel modules, which holds flammable materials to feed the beast
  • Control block, used to trigger the machine and move it in a particular direction.

Diggers mine out blocks and shunt them into the Digtron's inventory, or drop them on the ground if there isn't room in the inventory to store them.

Builder heads can be used to lay down a solid surface as the Digtron moves, useful for situations where a tunnel-borer intersects a cavern. Builder heads can be set to construct their target block "intermittently", allowing for regularly-spaced structures to be constructed. Common uses include building support arches at regular intervals in a tunnel, adding a torch on the wall at regular intervals, laying rails with regularly-spaced powered rails interspersed, and adding stairs to vertical shafts.

The auto-controller block is able to trigger automatically for a user-selected number of cycles. A player can ride their Digtron as it goes.

Other specialized Digtron blocks include:

  • An "axle" block that allows an assembled Digtron to be rotated into new orientations without needing to be rebuilt block-by-block
  • A crate that can store an assembled Digtron and allow the player to transport it to a new location
  • A duplicator that can create a copy of an existing Digtron (if provided with enough spare parts)
  • An item ejector to clear Digtron's inventory of excavated materials and inject it into pipeworks tubes if that mod is installed.
  • A light that can be mounted on a Digtron to illuminate the workspace as it moves
  • Structural components to make it look cool

The Digtron mod only depends on the default mod, but includes optional support for several other mods:

  • doc, an in-game documentation mod. Detailed documentation for all of the Digtron's individual blocks are included as well as pages of general concepts and design tips.
  • pipeworks, a set of pneumatic tubes that allows inventory items to be extracted from or inserted into Digtron inventories.
  • hopper, a different mod for inserting into and extracting from Digtron inventories. Note that only the most recent version of hopper is Digtron-capable, earlier versions lack a suitable API.
  • awards, a mod that adds achievements to the game. Over thirty Digtron-specific achievements are included.
  • technic, which adds rechargeable batteries and power cables to the game that Digtron can use instead of fuel.