Go to file
David G e5d0b9cf31 Update documentation. 2018-07-28 09:51:22 -07:00
images Remove water features and update documentation. 2018-07-19 14:05:49 -07:00
textures First pass with updown digging added. 2018-07-17 14:26:55 -07:00
LICENSE.txt Initial commit. 2017-04-21 09:40:51 -07:00
README.md Remove water features and update documentation. 2018-07-19 14:05:49 -07:00
changelog.txt Update documentation. 2018-07-28 09:51:22 -07:00
depends.txt Initial commit. 2017-04-21 09:40:51 -07:00
description.txt Shorten description. 2017-06-16 08:43:44 -07:00
init.lua Update documentation. 2018-07-28 09:51:22 -07:00
mod.conf Tweak digging pattern and add mod.conf 2018-07-15 17:29:51 -07:00
screenshot.png Increase tunnel width to 5 blocks, height to 5 blocks, and add reference block 2018-05-17 14:13:49 -07:00

README.md

Tunnelmaker Screenshot

A Minetest Mod to easily create arbitrarily curved tunnels.

Especially designed to make laying track for the advtrains mod easier.

by David G (kestral246@gmail.com)

Features

  • Digs "arched" tunnels (5 nodes wide and 5 nodes tall) in all sixteen possible advtrains track directions with one click. Also digs up or down in the eight possible advtrains slope track directions.
  • Fills in tunnel floor (central 3 nodes wide) with stone. Outside of tunnels this can be used to clear ground, provide cuts and fills, and build simple stone bridges. However, bridge supports will need to be added manually.
  • Requires "tunneling" privilege, checks protections, and only works in creative mode.

Simple Stone Bridge

How to enable

  • Enable creative mode. This mod is too overpowered for survival mode.
  • Give player "tunneling" privilege (/grant <player> tunneling).
  • To give player a tunnelmaker tool use (/give <player> tunnelmaker:1). Or see below for crafting recipe.

How to dig

See diagram below that shows track configurations supported by advtrains.

  • Move to digging location and highlight node at ground level. (Gray node in diagrams marked with an '×'.)
  • Point player in desired digging direction. (Inventory icon will change to show current direction.)
  • Right-click mouse to dig tunnel.

Digging for slopes

Note that advtrains only supports sloped track for orthogonal and diagonal track directions.

  • Move to digging location and highlight node at ground level.
  • Point player in desired digging direction.
  • Hold sneak key (shift on pc) and right-click mouse to select digging mode. Inventory icon will cycle through possible modes with each click: 'U' for digging up, 'D' for digging down, and no letter for default horizontal.
  • Release sneak key and right-click mouse to dig tunnel.
  • Mode will reset after each dig. It will also reset if player turns or moves.

Tunnelmaker Icons

Advtrains digging reference

The following diagrams show how to make curved tunnels that support the different track configurations used by advtrains. There are three basic directions that are supported: 0° (orthogonal, rook moves), 45° (diagonal, bishop moves), and 26.6° (knight moves, two blocks forward and one block to the side).

  • Note that it's always possible to dig in any direction, but turns with angles other than those shown won't be supported by advtrains track.
  • Also note that there are other limitations to advtrains slope track. Documentation TBD.

Turns from 0°

Turns from 26.6°

Turns from 45°

Other details

  • Using left-click digs similarly to a wooden pickaxe, which is useful for making minor adjustments.
  • Cobblestone references are placed to show where to continue digging for laying advtrains track.
  • If the ceiling is going to be a falling node, it is replaced with cobblestone before digging out below it.
  • Torches are placed only if ceiling is stone or desert_stone.
  • For minetest version 5.0+, when in desert biomes the fills will change to the desert versions of stone or cobble.
  • Won't dig advtrains track. Highlighting track will dig based on ground below it. However, be careful with slope track, since this probably isn't what you want. Also this won't work with ATC track, since it also uses right-click.

Crafting guide

  diamondblock   mese_block     diamondblock
  mese_block     diamondblock   mese_block
  diamondblock   mese_block     diamondblock

Crafting guide

License

  • textures: License CC0-1.0
  • code: My changes to original code are CC0-1.0
  • original compassgps license: Original code by Echo, PilzAdam, and TeTpaAka is WTFPL. Kilarin (Donald Hines) changes are CC0 (No rights reserved)

Thanks

  • advtrains / orwell96, et. al. - For providing the amazing advtrains mod that this mod tries to make just a little easier to use.
  • compassgps / Kilarin (Donald Hines), et. al. - Top level code to change icon based on direction player is pointing.