Fuel category for choose-elem-button

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
dockmeister
Inserter
Inserter
Posts: 48
Joined: Tue Feb 26, 2019 5:49 pm
Contact:

Fuel category for choose-elem-button

Post by dockmeister »

Hi,

i would like the user to select a fuel type via a choose-elem-button.

It would be a lot cleaner to have the category "Fuel" as a possible elem_type available.

cheers

Rseding91
Factorio Staff
Factorio Staff
Posts: 13175
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Fuel category for choose-elem-button

Post by Rseding91 »

I could do this, but fuel categories don't have icons so they would all be red "X"s.
If you want to get ahold of me I'm almost always on Discord.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3699
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Fuel category for choose-elem-button

Post by DaveMcW »

Rseding91 wrote:
Thu Sep 05, 2019 7:44 pm
fuel categories don't have icons
Bonus request: optional icon property for fuel categories. :D

Rseding91
Factorio Staff
Factorio Staff
Posts: 13175
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Fuel category for choose-elem-button

Post by Rseding91 »

Again, I could do that - but it's not going to work well fir 95%+ of the mods out there that try to use it because the base game doesn't have any icons and mods would have to fill them in - everyone conflicting with what icons they chose - it just doesn't seem like a good idea.
If you want to get ahold of me I'm almost always on Discord.

User avatar
mat1k
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sat Dec 22, 2018 8:48 am
Contact:

Re: Fuel category for choose-elem-button

Post by mat1k »

Rseding91 wrote:
Thu Sep 05, 2019 8:05 pm
Again, I could do that - but it's not going to work well fir 95%+ of the mods out there that try to use it because the base game doesn't have any icons and mods would have to fill them in - everyone conflicting with what icons they chose - it just doesn't seem like a good idea.
Solution: Someone with more time than me creates a base set you could include in the game as defaults.

I'd make them but I'm doing 60-80 hour weeks until after the Christmas ham season ends.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Fuel category for choose-elem-button

Post by eradicator »

Rseding91 wrote:
Thu Sep 05, 2019 8:05 pm
Again, I could do that - but it's not going to work well fir 95%+ of the mods out there that try to use it because the base game doesn't have any icons and mods would have to fill them in - everyone conflicting with what icons they chose - it just doesn't seem like a good idea.
Base game only has two categories. One of which only has a single item. Just use rocket fuel and the nuclear fuel cell respectively as default symbols to give a hint to modders. They won't be visible in vanilla anyway.

And i'll pretend that vanilla doesn't already have visible red x'es... :P
RedEx.png
RedEx.png (16.99 KiB) Viewed 1991 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

dockmeister
Inserter
Inserter
Posts: 48
Joined: Tue Feb 26, 2019 5:49 pm
Contact:

Re: Fuel category for choose-elem-button

Post by dockmeister »

Rseding91 wrote:
Thu Sep 05, 2019 7:44 pm
I could do this, but fuel categories don't have icons so they would all be red "X"s.
Below is a picture of what i am looking for. The red "X"s would be two item groups "chemical" and "nuclear"? If so, its not pretty, but i would use it. Its more helpful than the whole item list. Its for this mod.

Image

Post Reply

Return to “Modding interface requests”