Closed dperelman closed 3 months ago
I tried to see if there was a way to programmatically change the strings based on whether there exists tool "guns"/"ammo" or not, but I don't see a way to do so. (At least some localized strings can be changed, but I don't see options for those ones.)
This is an initial version of #51. It replaces the gun/ammo slot icons with X's (actually the
set-bar-slot
icon). It also replaces the text for the tooltips and errors when you try to equip a non gun/ammo in those slots with empty strings, effectively disabling those tooltips and errors.If you want it to indicate that those are "tool" slots for mods that put tools in the gun slots, maybe you could use the old pickaxe icon I pulled out of an old Factorio's graphics directory: Not sure what the appropriate tool "ammo" icon would be.
Possibly the choice of which icon could be configurable? EDIT: Actually, you could probably just check if there exist any guns/ammo that haven't been removed and chose the icon based on that. EDIT2: Done.