energy_source.type = 'null' to not require energy

Post Reply
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 2285
Joined: Tue Jul 12, 2016 9:03 am

energy_source.type = 'null' to not require energy

Post by eradicator » Tue Feb 13, 2018 11:34 am

What?
An new energy source type that does not require fuel / a connection to the electricity network and instead runs entities for free.
Why?
Mods often require the use of hidden entities such as assemblers, furnaces, beacons, inserters, etc, to implement new functionality. But all of these prototypes can not be used in a way that makes them function without some sort of energy source ("energy_usage = '0W'" doesn't work). The only current workaround is to specify a really low energy_usage and hide with connection icons, but this still has some major problems:
1) The hidden entity shows up on the energy network page where it confuses the player.
2) The hidden entity has to have the exact same collision box and position as the visible parent entity to ensure that it is always connected when the parent is.
3) The hidden entity might stop due to energy shortage when it should still be running.
4) Usage of hidden entities is limited to usecases where the player connects the parent entity to the electricity network (unless one wants to spawn in an additional power pole + eei for everything outside the network).

Being able to simply specify that an entity does not require external energy would fix all of those three problems (and maybe as a side-effect some memory too?) :).

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

Re: energy_source.type = 'null' to not require energy

Post by bobingabout » Tue Feb 13, 2018 1:27 pm

Sounds reasonable to me.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.

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

Re: energy_source.type = 'null' to not require energy

Post by darkfrei » Fri Apr 06, 2018 11:57 am

Ammo turrets now don't need fuel, only ammo. If it possible, they are need burrning fuel or electricity.

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

Re: energy_source.type = 'null' to not require energy

Post by eradicator » Fri Apr 06, 2018 8:51 pm

darkfrei wrote:Ammo turrets now don't need fuel, only ammo. If it possible, they are need burrning fuel or electricity.
If you want gun turrents that use fuel/energy please make a seperate thread for that. That's the opposite of what this request is about.

Villfuk02
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Mon Apr 30, 2018 7:23 am

Re: energy_source.type = 'null' to not require energy

Post by Villfuk02 » Tue May 01, 2018 5:41 am

That would be very useful!

Rseding91
Factorio Staff
Factorio Staff
Posts: 7858
Joined: Wed Jun 11, 2014 5:23 am

Re: energy_source.type = 'null' to not require energy

Post by Rseding91 » Tue May 01, 2018 7:21 am

This is something we've had planned for a few years now. I'll be doing it for 0.17.
If you want to get ahold of me I'm almost always on IRC and Discord.

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

Re: energy_source.type = 'null' to not require energy

Post by bobingabout » Tue May 01, 2018 7:59 am

Rseding91 wrote:This is something we've had planned for a few years now. I'll be doing it for 0.17.
Cool.
Though I was going to give it a try as practice for doing the other types of energy I've been talking about trying to do.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.

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

Re: energy_source.type = 'null' to not require energy

Post by eradicator » Wed May 02, 2018 12:04 am

Rseding91 wrote:This is something we've had planned for a few years now. I'll be doing it for 0.17.
Yay! With the advent of power-free beacons i can finally implement a certain mod idea i've had for a long time :D.

Post Reply

Return to “Implemented mod requests”