Go to file
Robert Zenz 0220ab8483 artisanryui is now using itemutil.blop to drop items. 2015-10-31 15:11:21 +01:00
deps Updated dependencies. 2015-09-26 14:52:09 +02:00
doc Documented group support. 2015-10-04 14:04:20 +02:00
mods artisanryui is now using itemutil.blop to drop items. 2015-10-31 15:11:21 +01:00
test Extracted util functions into artinsaryutil. 2015-04-18 18:19:30 +02:00
textures Replaced the default textures with PD ones. 2015-05-07 23:24:29 +02:00
.gitmodules Added everything. 2015-02-15 13:08:17 +01:00
LICENSE Added everything. 2015-02-15 13:08:17 +01:00
Makefile Updated Makefile. 2015-09-24 20:54:56 +02:00
README Added group support. 2015-10-04 14:25:39 +02:00
README.md Added everything. 2015-02-15 13:08:17 +01:00

README.md

minetest-australopithecus-artisanry

A replacement for the builtin crafting system of Minetest, with the main goal to support multiple identical receipts with different output.

Features

  • 5x5 crafting grid (instead of 3x3)
  • Support for identical receipts with different output
  • Support for groups
  • Custom inventory screen (optional)

Planned Features

  • Support for multiple outputs of one receipt (f.e. explode a pickaxe)
  • Custom size of the crafting grid
  • Support for inventories of nodes (f.e. chest/furnace)
  • Chaining/Inheriting of multiple Artisanry objects

Dependencies

The currently only dependency is the minetest-australopithecus-utils mod.

Usage

-- Instanciate a new Artinsary object.
local artisanry = Artisanry:new()

-- Activate the inventory replacement.
artisanryui.activate(artisanry)

-- You can register crafts like this.
-- As input is a 2D table expected.
artinsary:register("My Group", "yourmod:output", {
    { "yourmod:input" }
})

artinsary:register("My Group", "yourmod:output", {
    { "yourmod:different_input" }
})

-- And here is the complete input.
artinsary:register("My Group", "yourmod:output", {
    { "", "", "yourmod:different_input", "", "" },
    { "", "", "", "", "" },
    { "", "", "", "", "" },
    { "", "", "", "", "" },
    { "", "", "", "", "" }
})