[1.0.0] Recipe properties don't propagate to normal and expensive
Posted: Sun Nov 01, 2020 11:59 am
If you set a property on a recipe which has normal and expensive modes, that property does not apply to those modes.
For example, the following has no effect in-game except to show that the recipe has been modded:
To actually hide the recipe, the following is required:
I'm not sure if this is intentional or not, but it was very confusing when I encountered it.
My suggestion is that a property definition should be automatically applied to normal/expensive modes unless those mode definitions also define that property.
For example, the following has no effect in-game except to show that the recipe has been modded:
Code: Select all
data.raw.recipe["burner-mining-drill"].hidden = true
Code: Select all
data.raw.recipe["burner-mining-drill"].normal.hidden = true
data.raw.recipe["burner-mining-drill"].expensive.hidden = true
My suggestion is that a property definition should be automatically applied to normal/expensive modes unless those mode definitions also define that property.