Ammo Level Indicator

This is the place to request new mods or give ideas about what could be done.
Post Reply
User avatar
MrBadDragon
Inserter
Inserter
Posts: 38
Joined: Thu Jan 31, 2019 3:33 am
Contact:

Ammo Level Indicator

Post by MrBadDragon »

I want to make a mod which will display the number of mags in a turret as you wander by. This would allow you to quickly glance at your turrets and see how well stocked they were. I also want a UI option to allow you to set the "Alert" setting which would display an amber light when you are at or below that level (like the bottle neck mod does).

I've had a look at the modding instructions, and can see how I derive a new item from an existing one, but am not clear how i write the code to extend an item. I want to add a feature to the existing turrets.

CheeseMcBurger
Inserter
Inserter
Posts: 48
Joined: Sun May 19, 2019 9:57 pm
Contact:

Re: Ammo Level Indicator

Post by CheeseMcBurger »

If turrets could be read by the circuit network, this would be a fun circuit to build. Too bad you cannot connect turrets to the circuit network.

pleegwat
Filter Inserter
Filter Inserter
Posts: 258
Joined: Fri May 19, 2017 7:31 pm
Contact:

Re: Ammo Level Indicator

Post by pleegwat »

If you feed the turret from a chest, you could then use the circuit network to read the amount of ammo in the chest. Does mean there's an amount of ammo you're not seeing, and there's more ammo in the system.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Ammo Level Indicator

Post by darkfrei »

MrBadDragon wrote:
Wed Jan 29, 2020 12:43 am
I want to make a mod which will display the number of mags in a turret as you wander by.
https://mods.factorio.com/mod/Inventory%20Sensor
https://mods.factorio.com/mod/SantasNixieTubeDisplay

Post Reply

Return to “Ideas and Requests For Mods”