Derpumu / Pacifist

A Factorio mod to remove military items, recipes, and technologies so you can concentrate on building useful things in peaceful mode.
MIT License
2 stars 1 forks source link

Hide combat-related icons from signals/rich text menus #55

Closed dperelman closed 3 months ago

dperelman commented 3 months ago
  1. The active defense dummy was not marked hidden, so its signal was usable.
  2. In the rich text item selection menu (e.g. when naming a train stop), I noticed there were a lot of icons related to things that had been removed from the game, including remnants of military entities, so I added functions to hide all of those.
  3. The compilatron icon is under "Enemies", so I renamed that category to "Units" and used that icon for the category. units.png is just the base game's compilatron.png scaled 2x. There might be a better way to handle that. Or we could just accept removing the compilatron icon so that category would go away entirely.

There might be a cleaner and/or more mod-friendly way to do this.

dperelman commented 3 months ago

Definitely free feel to take the parts that you think make sense. I was worried the more aggressive part of this change might be going too far in hiding things that shouldn't actually be hidden.

Derpumu commented 3 months ago

Do you have a preferred name I should use in the changelog for your contributions? Otherwise, I would go with "dperelman"

dperelman commented 3 months ago

My Factorio username is anyoneeb, so that's probably the best way to credit me.

Derpumu commented 3 months ago

Done, version 0.4.5 is released, thanks a lot for your contributions! I hope to come to tackle the signals/rich text icons soon.