Page 1 of 1

[2.x] fixed_quality in ItemProductPrototype/ItemIngredientPrototype

Posted: Sun Nov 24, 2024 6:35 pm
by Monkeylordz
I want to modify existing/create new tiles and world-generated entities that drop quality items when mined, and it seems like ItemProductPrototype is the way to do that, but it doesn't allow specifying the quality.

I was thinking something like:
fixed_quality :: QualityID (optional)
on the ItemProductPrototype and ItemIngredientPrototype.

I understand that quality is kind of meant to be separate from ItemProductPrototype / ItemIngredientPrototype, but I think adding a fixed_quality would allow for what I want without being too intrusive, and also allow things like modding in quality-varied recipes, etc. Additionally, there is precedent for fixed_quality in the AssemblingMachinePrototype.

Lastly, if there is some other way of doing what I want (tiles/entities drop quality products) that doesn't require this change, let me know.