Smaller Alert Icons


Resize alert icons to bottom left quadrant so they don't render on top of recipe and filter icons etc. Inspired by the Less Unplugged mod.

Tweaks
a month ago
2.1
219
Logistic network Power Storage

b Error on launch without Space Age enabled

a month ago
(updated a month ago)

Hello, I get an error on launch when trying to launch the game with this mod and without Space Age.

Failed to load mods: __anora-smaller-alerts__/data-updates.lua:4: attempt to index field 'food' (a nil value)
stack traceback:
    __anora-smaller-alerts__/data-updates.lua:4: in main chunk

I assume this is due to the mod trying to call warnings that don't exist if Space Age isn't enabled. Specifically, "no fuel" for food/nutrient fuels.
A simple check to see if space age is enabled before trying to modify the "food" and "nutrient" warnings should fix this.

a month ago

Thanks for the report I'll fix it soon ^^

a month ago
(updated a month ago)

A simple check to see if space age is enabled before trying to modify the "food" and "nutrient" warnings should fix this.

Should be fixed now, let me know if it doesn't work.
I decided to check for nil instead, so if a mod adds those warnings outside of space-age (I've seen it happen), you can still make them smaller.

a month ago

Perfect, the game launches fine. Thanks :)

a month ago

It turns out, the warning notification for "missing fuel" is just not resized.

[deleted message]
a month ago

fuel_icon in particular is off by default. Most of them are.

I can resize it just fine, after enabling it in startup settings.

If it still doesn't work for you, can you be more specific, including steps to reproduce?

New response