Skip to content

Allow tags in recipes #1348

@Argmaster

Description

@Argmaster

Description

Currently recipes can only use BaseItem as input and output. It would be nice to have a system that would allow using tags to specify input and output of recipe to avoid duplicating all the recipes for all the wood types and alike. In UI Input/output specified via tag would be displayed like normal one, but would cycle through all the items matching given tag, changing e.g. every second.
Just to be clear: Idea is to not generate all the variants of eg. log to panks recipe, but to have one recipe that can take any log type and spits out correct plank type.

Advantages:

  • Reduced length of crafting list.
  • Less boilerplate in recipe definitons.

Problems:

  • how to map log type to correct plank type?

Alternatives:

  • Allow tags just in recipe definitions and automatically generate all recipes based on those tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa new feature or improvementideasa collection of ideas, feel free to add your ownui/ux

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions