I'm thinking of doing a build that will depend on how long it takes for a research lab to consume a science pack (ie. if its 30 sec it opens one branch of labs allows science packs in, but if it's 15 secs that branch closes). I'm not sure if it is possible and my cursory browsing of the in game api on the wiki has yielded no obvious results to me.
If some one could find a way to expose the information I would be appreciative for the mod.
Mod that exposes time to consume a science pack to the circuit network
Re: Mod that exposes time to consume a science pack to the circuit network
game.player.force.current_research?
game.player.force.current_research.research_unit_energy to get the time required, I think.
game.player.force.current_research.research_unit_energy to get the time required, I think.
Re: Mod that exposes time to consume a science pack to the circuit network
I'm not good at modding, I've never done it before. So I would have no idea how to create a mod that would interface correctly with the circuit network while not impacting the game significantly
Re: Mod that exposes time to consume a science pack to the circuit network
You can detect it in-game in vanilla, just measure interval between swings of the input inserter on one of the labs.
Re: Mod that exposes time to consume a science pack to the circuit network
That's not really what I'm going for with the build I have in mind. I don't want to have to measure that with an obtuse build in vanilla and would rather have a mod that makes the information available in a more usable way. And anyway I think that it should be exposed in the base game without having to have a janky build that relies on comparatively unstable clock via an inserter.