Remove result and count from MinableProperties

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 270
Joined: Thu Jul 05, 2018 9:48 am
Contact:

Remove result and count from MinableProperties

Post by KiwiHawk »

Request: Remove result and count from MinableProperties
MinablePropertes can have results OR result and count. Having multiple ways of defining minable properties causes confusion and mod compatibility issues. Removing result and count would be almost exactly the same change that was already made (for 2.0) to RecipePrototype: removing result and result_count.

MinableProperties.png
MinableProperties.png (60.47 KiB) Viewed 458 times
Secondary Request: Remove short syntax for ItemIngredientPrototype
ItemIngredientPrototype can be specified as a table with named or numbered keys. Short syntax ({"item-name", 39}) has been removed for 2.0 for ItemProductPrototype. Please apply this change to ingredients as well! It will make our life as modders much simpler when updating recipes.

ResultResultCount.png
ResultResultCount.png (38.79 KiB) Viewed 458 times

Screenshot posted on Discord by boskid.
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2647
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Remove result and count from MinableProperties

Post by boskid »

I am not touching item ingredients because it creates insane amount of diffs around cost in technology prototype. If you have good arguments maybe other dev would do it.

curiosity
Filter Inserter
Filter Inserter
Posts: 433
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Remove result and count from MinableProperties

Post by curiosity »

boskid wrote:
Sun Jul 21, 2024 9:36 am
I am not touching item ingredients because it creates insane amount of diffs around cost in technology prototype.
Why is this a problem, exactly?

Alternatively, if you are so opposed to changing technology prototype definition, split it off. Technology costs can only be tool prototypes anyway.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2647
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Remove result and count from MinableProperties

Post by boskid »

Bilka made an executive decision, IngredientPrototype will no longer support short syntax. IngredientPrototype's type will be mandatory. Those changes will be released with 2.0.

To not mess up with technologies, since technologies only support items they wont be using IngredientPrototype but instead will be using ResearchIngredient that only supports short syntax (at prototype stage).

However MinableProperties result/count... it an extremally controversial change

Post Reply

Return to “Modding interface requests”