Page 1 of 1

A recipe category that a player cannot craft

Posted: Wed Jun 08, 2016 6:10 pm
by DRY411S
In a bug report I made, I've been told that it is possible to have a recipe category that can only appear in a 'machine' not the player's crafting menu (when you press the 'E' key).

Can anybody help me with how I do this please?

The bug report where I was told this, is at this link

Re: A recipe category that a player cannot craft

Posted: Thu Jun 09, 2016 9:28 am
by bobingabout
Crafting categories is a method of restricting certain things to certain machines. the "crafting" category is the one the player AND Assembling machine can craft. "crafting-with-fluid" is an example of an assembling machine category that the player can't craft.

You can add your own custom categories (defined in the game files) and make your newly created machines use that category.

Re: A recipe category that a player cannot craft

Posted: Thu Jun 09, 2016 10:08 am
by DaveMcW
crafting-with-fluid still appears in the player menu though. I don't think it's possible to hide a recipe.

Re: A recipe category that a player cannot craft

Posted: Thu Jun 09, 2016 11:07 am
by DRY411S
My 'Reverse recipe' for my recycling machines all are assigned to a category that my recycling machines can craft. That I understand and it all works perfectly.

The recipes can only be crafted in the recycling machines. So why do they appear in the players crafting menu, when the player cannot craft them? That's the bit I don't understand.

And before anybody suggests that the recipes must not be in a vanilla item-group or item-subgroups, they aren't! I've created new groups and subgroups for them, and added them to the recipe definitions.

It appears to me that every recipe-category that is assigned to an assembling machine also appears in the players crafting menu. Is it only recipes used in smelting machines that don't?

Re: A recipe category that a player cannot craft

Posted: Thu Jun 09, 2016 11:33 am
by DedlySpyder
DRY411S wrote:My 'Reverse recipe' for my recycling machines all are assigned to a category that my recycling machines can craft. That I understand and it all works perfectly.

The recipes can only be crafted in the recycling machines. So why do they appear in the players crafting menu, when the player cannot craft them? That's the bit I don't understand.

And before anybody suggests that the recipes must not be in a vanilla item-group or item-subgroups, they aren't! I've created new groups and subgroups for them, and added them to the recipe definitions.

It appears to me that every recipe-category that is assigned to an assembling machine also appears in the players crafting menu. Is it only recipes used in smelting machines that don't?
I think that is just so that you can plan things out for the base game recipes.

Imagine if you wanted to make batteries the first time you played, but you couldn't look up the recipe. It would be nearly impossible to figure it out (you would have to either know to, or accidentally, place a chem plant and see the recipe there).

Re: A recipe category that a player cannot craft

Posted: Thu Jun 09, 2016 11:38 am
by DRY411S
I guess. But it's really cluttering the players crafting menu when I have a 'reverse' tab for every tab that is already present. With Bob's mods installed, that's a heck of a lot of tabs.