Modname with image

Place to get help with not working mods / modding interface.
Post Reply
ixu
Fast Inserter
Fast Inserter
Posts: 105
Joined: Sun May 29, 2016 6:18 pm
Contact:

Modname with image

Post by ixu »

In my mod I added the following to localization files:

Code: Select all

[mod-name]
ingteb=[img=ingteb] Ingame Technology browser
This looks nice in settings screen:
modname with image.1.PNG
modname with image.1.PNG (36.27 KiB) Viewed 1118 times

but not so nice in mod list screen:
modname with image.2.PNG
modname with image.2.PNG (24.45 KiB) Viewed 1118 times
Is there a way to solve this conflict?
Or do I have to bury this idea?

P.S.: Looking on the detail side of mod list screen shows that just resolving the image in mod list will probably not do. The desired image will appear here too, which may be too much probably:
modname with image.3.PNG
modname with image.3.PNG (29.2 KiB) Viewed 1108 times
Last edited by ixu on Wed Mar 31, 2021 8:47 pm, edited 2 times in total.
Mods: ingteb, ixuClock, ixuAutoSave, NoCheating, hardCrafting (Maintainer) and more
Desperately tried to implement redo :)

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: Modname with image

Post by ptx0 »

well i know that we used to be able to show that kind of thing in error messages but that changed sometime in 1.x-1.1.

it's probably not going to change because the prototypes... well, i dunno. the ore icons show up in the map generator. maybe they should show up here too.

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

Re: Modname with image

Post by eradicator »

ixu wrote:
Wed Mar 31, 2021 8:37 pm
Is there a way to solve this conflict?
No. Because that's on purpose. The rich-text support was removed from the mod browser because of people like you :P.
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.

ixu
Fast Inserter
Fast Inserter
Posts: 105
Joined: Sun May 29, 2016 6:18 pm
Contact:

Re: Modname with image

Post by ixu »

I'm hoping for something like:

Code: Select all

[mod-name-external]
ingteb=Ingame Technology browser

[mod-name-internal]
ingteb=[img=ingteb] Ingame Technology browser

Having icons by the settings I find very intuitive - especially if you use a lot of mods.
Mods: ingteb, ixuClock, ixuAutoSave, NoCheating, hardCrafting (Maintainer) and more
Desperately tried to implement redo :)

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: Modname with image

Post by ptx0 »

ixu wrote:
Thu Apr 01, 2021 1:54 am
I'm hoping for something like:

Code: Select all

[mod-name-external]
ingteb=Ingame Technology browser

[mod-name-internal]
ingteb=[img=ingteb] Ingame Technology browser

Having icons by the settings I find very intuitive - especially if you use a lot of mods.
right now it's easy because of your mod being the only one but if everyone did it, might look cluttered. regardless, Ctrl+F (search) is the way to go here. though it'd be nice to filter by mod.

you could make a feature request for settings icons that way you don't have to embed it in localisation. otherwise i think the fix here is for wube to strip out these tags and simply not show them in the mod browser but allow you to leave it in locale for the in-game UI.

Post Reply

Return to “Modding help”