[Help] Power production monitoring

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
69759
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Mar 27, 2017 8:37 am
Contact:

[Help] Power production monitoring

Post by 69759 »

So I want to make a mod that either adds a Virtual circuit or an entity (maybe even both) that measures the amount of power production in Watts, I was trying to dig through mod codes and even base game code to find how to do this but I haven't the slightest Idea how to do this as there isn't a straight forward way to do it and I would like some help with working this out.

Yoyobuae
Filter Inserter
Filter Inserter
Posts: 499
Joined: Fri Nov 04, 2016 11:04 pm
Contact:

Re: [Help] Power production monitoring

Post by Yoyobuae »

Only way I know of is making power go thru the entity. I made a proof of concept mod a while ago:
https://mods.factorio.com/mods/Yoyobuae ... ransformer

Post Reply

Return to “Modding discussion”