Skip to content

ona-li-toki-e-jan-Epiphany-tawa-mi/gigatools

Repository files navigation

screenshot

Gigatools

A mod pack for Luanti https://www.luanti.org that adds an API for creating tools that can dig large areas, and some user-focused content mods to go along with it.

Licensing

LEGAL.md contains the information on licensing for source code and other assets.

gigatools

The main mod, and is an API that makes it easy to implement tools that can dig large areas.

Tools can be set to dig lines, planes, and cuboids of arbitrary size.

This can be set as part of a tool definition to apply to all tools of a paticular name, or dynamically applied to individual item stacks using metadata.

See the API in gigatools/api.lua for more details.

gigatools_hammers

gigatools_excavators

gigatools_lumber_axes

Mods provided with gigatools that uses the API to add hammers and excavators, which are like pickaxes and shovels, but dig in a 3x3 plane, and lumber axes, which are like axes, but dig in a 3x3x3 cuboid.

They are made with the same materials as their single-node counterparts, but with blocks instead of ingots/gems.

If the mod default (i.e. Minetest Game) is present, adds tools for the following materials:

  • Bronze.
  • Steel.
  • Diamond.
  • Mese.

If the mod mcl_tools (i.e. Mineclonia, VoxeLibre) is present, adds tools for the following materials:

  • Iron.
  • Gold.
  • Diamond.
  • Netherite.

How to install

You can place this directory, or symlink it, into the mods folder in your Luanti directory.

How to test

Dependencies:

There is a flake.nix you can use with nix develop to generate a development enviroment.

Then, run the following command(s):

.tools/static-analysis.lua