I built a power plant but some houses stay dark and I cannot see why
A plant somewhere on the map does not help a house that is not connected to it, and a connected plant can still be too small. This entry gives your AI a checker that names each dark house and the reason, so it fixes the line or the plant.
Why this works
Power is shared only inside a connected group, so the map-wide sum of supply and demand tells you nothing. Splitting into groups first, then checking each, separates a broken line from an undersized plant.
When not to use it
Skip it if your game has no network at all and power is global. A single number compared with a single number is enough there.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- A diagram of every state
- 55 lines of example code with 4 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "I built a power plant but some houses stay dark and I cannot see why" (read_entry strategy-houses-without-power-next-to-a-plant) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP