crafting_entity.show_in_recipes_made_in

Things that already exist in the current mod API
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 716
Joined: Sun Nov 23, 2014 11:57 am
Contact:

crafting_entity.show_in_recipes_made_in

Post by Earendel »

This request is to have of property that can be set on crafting entity prototypes (character, assembling machine, furnace, rocket silo).

The property would be would be the entity equivalent of a recipe's "always_show_made_in" property.

The default value would be true, but can be set if set to false then the entity won't appear in the recipe tooltip even if the recipe is set to show entities that can use it.

It could also be implemented the other way around with a hide_from_made_in property instead.

The reason for the request is to avoid situations like this:
Factorio_0.18.19_25_04_2020_17_06_12.png
Factorio_0.18.19_25_04_2020_17_06_12.png (195.59 KiB) Viewed 2101 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: crafting_entity.show_in_recipes_made_in

Post by Bilka »

Use the "hidden" prototype flag:
https://wiki.factorio.com/Types/EntityPrototypeFlags#.22hidden.22 wrote:Hides the entity from the bonus GUI (button above the map) and from the made in property of recipe tooltips.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 716
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Re: crafting_entity.show_in_recipes_made_in

Post by Earendel »

Thanks.
Post Reply

Return to “Already exists”