How do I downscale or remove alt info icons from robots?

Place to get help with not working mods / modding interface.
Post Reply
bathrobehero
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Sep 25, 2018 10:39 pm
Contact:

How do I downscale or remove alt info icons from robots?

Post by bathrobehero »

Hey, I'd like to heavily downscale or even remove the icons of what robots are carrying but keep everything else in alt info mode.


Image

Which files should I modify?

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

Re: How do I downscale or remove alt info icons from robots?

Post by eradicator »

A simple custom mod with just data.lua should be able to disable all robot icons:

Code: Select all

for _,robot in data.raw["logistic-robot"] do
  robot.flags = robot.flags or {}
  table.insert(robot.flags,"hide-alt-info")
  end
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.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: How do I downscale or remove alt info icons from robots?

Post by bobingabout »

I don't think modding would fix this... perhaps there should be an option in the game options to turn them off, similar to how there's one for inserter pickup and drop locations.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Modding help”