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
A recipe category that a player cannot craft
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: A recipe category that a player cannot craft
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.
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
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
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?
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?
- DedlySpyder
- Filter Inserter
- Posts: 254
- Joined: Fri Jun 20, 2014 11:42 am
- Contact:
Re: A recipe category that a player cannot craft
I think that is just so that you can plan things out for the base game recipes.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?
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
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.