How do I specify the quality of tile or entity item products?

Place to get help with not working mods / modding interface.
Monkeylordz
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Nov 24, 2024 1:30 am
Contact:

How do I specify the quality of tile or entity item products?

Post by Monkeylordz »

I'm trying to create an ore tile that produces ore with quality when mined, but not sure how to do that.

I found that the TilePrototype.mineable and EntityPrototype.mineable properties allow specifying a MineableProperties object, in which we can specify the results as an array of ItemProductPrototype. However, I don't see anywhere in these objects that allows me to set the quality.

I want to know how I can achieve this, or if this is even possible in the first place. I really hope this can be done in the prototype phase, I feel like it'll be a million times simpler than trying to manage this through scripting.
Last edited by Monkeylordz on Sun Nov 24, 2024 6:36 pm, edited 1 time in total.
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 467
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

Re: How do I specify the quality of tile or entity item products?

Post by IsaacOscar »

Hmm, so the tile/entity itself won't have quality?
Because I'm pretty sure tiles don't have quality as it would cause performance problems.
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 192
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: How do I specify the quality of tile or entity item products?

Post by LCStark »

Weird. I'd expect the `ItemProductPrototype` to accept quality like similar classes do. Might want to post it in Modding interface requests forum.
Post Reply

Return to “Modding help”