Make Shortcut's disabled_small_icon default to disabled_icon instead of icon when not given

Post Reply
Xorimuth
Filter Inserter
Filter Inserter
Posts: 625
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Make Shortcut's disabled_small_icon default to disabled_icon instead of icon when not given

Post by Xorimuth »

Generally Factorio is very good at handling 'missing' graphics sizes, but this one tripped me up yesterday.

If disabled_small_icon is not defined, but disabled_icon and icon are, then instead of scaling disabled_icon down, it instead uses icon. IMO this is unintuitive and should be changed.

For reference: https://wiki.factorio.com/Prototype/Sho ... small_icon (an explanation of where each of the 4 icon types are used would be a useful addition to the wiki as well).
Attachments
DisabledShortcutTest_0.0.1.zip
(9.21 KiB) Downloaded 81 times
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Bilka
Factorio Staff
Factorio Staff
Posts: 3132
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Make Shortcut's disabled_small_icon default to disabled_icon instead of icon when not given

Post by Bilka »

For 1.1.37 it was changed to default to disabled_icon.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Xorimuth
Filter Inserter
Filter Inserter
Posts: 625
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: Make Shortcut's disabled_small_icon default to disabled_icon instead of icon when not given

Post by Xorimuth »

Thanks. 1.1.37 is stable now so I've updated the default info on the wiki.
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Post Reply

Return to “Implemented mod requests”