multiple recipe categories

Things that we aren't going to implement
judos
Filter Inserter
Filter Inserter
Posts: 270
Joined: Mon Dec 08, 2014 11:17 am
Contact:

multiple recipe categories

Post by judos »

Hi there,

Currently it's only possible to defiine one category per recipe. E.g.:

Code: Select all

{
  type = "recipe",
  name = "smelt-iron",
  category = "smelting"
}
However it would be useful to have the possibility of multiple categories per recipe.
Currently I have to do a workaround:
If a recipe should support two recipe categories:
- add a new recipe-category
- extend all necessary machines to support this recipe-category

I mean it's feasible, but still not so nice...
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: multiple recipe categories

Post by bobingabout »

Indeed, I have a similar problem, I want me electronics to be hand craftable, and craftable in the normal crafting machines, and a special electronics crafting machine. My solution was to create 2 new electronics categories, one for able to be crafted by hand, and another machine only. I then added the hand crafting version to the player entity, and both to the machine, and all assembling machines.

The issue here though is... well, if you're playing sandbox mode, they don't have access to the new hand crafting category, so the work around doesn't work.

If I was able to have 2 categories, Crafting/Crafting-machine and Electronics/Electronics-machine, then it would work without adding the extra category to the player entity..
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
judos
Filter Inserter
Filter Inserter
Posts: 270
Joined: Mon Dec 08, 2014 11:17 am
Contact:

Re: multiple recipe categories

Post by judos »

You mean in God mode it's not possible to craft it?
Is there a special table for supportes categories in sandbox or god mode maybe..?
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: multiple recipe categories

Post by bobingabout »

judos wrote:You mean in God mode it's not possible to craft it?
Is there a special table for supportes categories in sandbox or god mode maybe..?
Hardcoded to be "crafting" only, which basically means that if you want anything to be hand craftable in godmode, it needs to be in the standard "crafting" category.

But yeah, it would be useful if you could specify multiple categories on both recipe and machine.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Won't implement”