Search found 5 matches
- Tue Aug 06, 2024 1:17 pm
- Forum: Wiki Talk
- Topic: Suggestions for the Wiki regarding Factorio Expansion Add-ons
- Replies: 16
- Views: 10020
Suggestion: Version selector for the wiki
As more and more information about 2.0 and Space Age gets released, it seems like it would be useful to segment the documentation on the wiki according to the game version being referenced, much like documentation for python packages for example that usually let you select the documentation version ...
- Tue Mar 19, 2019 11:55 pm
- Forum: Modding discussion
- Topic: Entity electric power consumption
- Replies: 2
- Views: 968
Re: Entity electric power consumption
Do you think my modding interface request was too narrow then? The explanation seemed to indicate that what I asked for wasn't possible, so maybe I didn't ask for exactly the right thing? I'm pretty new to this.
- Sat Mar 16, 2019 6:06 pm
- Forum: Modding discussion
- Topic: Entity electric power consumption
- Replies: 2
- Views: 968
Entity electric power consumption
So after receiving a response to a modding interface request: https://forums.factorio.com/viewtopic.php?f=221&t=67648 I'm still trying to figure out the best way to calculate an entity's (near-real-time, e.g. previous tick) power consumption. How does the game provide power consumption statistic...
- Fri Mar 15, 2019 12:37 pm
- Forum: Won't implement
- Topic: LuaEntity.electric_supply_poles() for entities powered by electricity
- Replies: 2
- Views: 984
Re: LuaEntity.electric_supply_poles() for entities powered by electricity
That's exactly what the game engine does to show which electric poles are connected to an entity. It entity-searches around the entity using MAX(all-electric-pole-connection-distance) for the radius and checks which ones it finds to be connected to that entity. That's fair, I'll do that then, and t...
- Thu Mar 14, 2019 1:11 am
- Forum: Won't implement
- Topic: LuaEntity.electric_supply_poles() for entities powered by electricity
- Replies: 2
- Views: 984
LuaEntity.electric_supply_poles() for entities powered by electricity
Hi, I'm working on a mod that depends on the association between electric-poles and the entities that they are powering. Without a programmatic way to leverage the association between entities and the electric-poles that supply them, I would have to calculate the taxicab distance between the entity ...