[Request] Separate disabled_recipe_slot_tint use for red crafting slots and ingredient-less ones

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 1393
Joined: Fri Nov 06, 2015 7:41 pm

[Request] Separate disabled_recipe_slot_tint use for red crafting slots and ingredient-less ones

Post by Deadlock989 » Tue Sep 17, 2019 9:06 pm

Oioi,

In utility constants, disabled_recipe_slot_tint controls the tint for both crafting grid slots with a light grey background that are disabled because you don't have the ingredients to craft it, and the red background slots that are never handcraftable because they're not in a player crafting category. The default value is mid-grey, mid-alpha.

My tired old eyes can't see the icons very well on the red background. I was super-hoping to be able to make those icons solid and readable again, but keep the "greyed out" fade effect for things you could craft if you had the ingredients. No dice, the constant applies to both ...

Would be super handy if they were two separate constants.

Another bonus would be that taking the alpha away on red slots stops any layered icons from looking weird - because each layer has the alpha applied, you can see through layers to the layer underneath.

Cheers big ears

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 1393
Joined: Fri Nov 06, 2015 7:41 pm

Re: [Request] Separate disabled_recipe_slot_tint use for red crafting slots and ingredient-less ones

Post by Deadlock989 » Fri Sep 20, 2019 6:51 pm

Just to add - there is actually some precedent for this in the base game - red slots on the crafting tab are both a red background and the faded icon, but red slots in the "total raw" calculations have the fully opaque icon:
Attachments
disabled.png
disabled.png (314.24 KiB) Viewed 56 times

Post Reply

Return to “Modding interface requests”

Who is online

Users browsing this forum: No registered users