absolument / CC-UUMatter-recipes

With ComputerCraft, test and record every possible crafting recipes with UU-Matter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CC-UUMatter-recipes

With ComputerCraft, test and record every possible crafting recipes with UU-Matter.

UU-Matter is an item added by IndustrialCraft2 which is used to craft many different resources. It can be combined at a Crafting Table in various arrangements to make new materials.

Usage

Setup a crafty turtle between 2 chest. Feed up chest with some stacks of UU-Matter (more or less 5 stacks). Down chest is output.

pastebin get 2E8PRaYp UUMatter.lua

UUMatter

Every successful craft will be saved in a settings file.

UU.lua

Example

{
  UURecipes = {
    {
      i = 1,
      name = "minecraft:dirt",
      cost = 1,
      pattern = {
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        1,
      },
      count = 16,
      damage = 0,
    },
  • i: iterator (1 = 000000001)
  • name, damage: item datas resulted bay turtle.getItemDetails()
  • count: nb of items resulted
  • cost: nb of UU-Matter items used
  • pattern: (table) Binary representation of the recipe, correspond with slots {1, 2, 3, 5, 6, 7, 9, 10, 11}

Screenshots

Setup

Screenshot

Result

Credits

Integer to binary function: https://stackoverflow.com/a/26702880

About

With ComputerCraft, test and record every possible crafting recipes with UU-Matter.

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%