When the power goes out
In the default Apocalypse preset the grid fails at a random point in the first month; PinDrop lists 14 to 30 days, counted from the default start of 9 July 1993. Water uses its own timer. The Six Months Later preset starts without power. You cannot switch the town grid back on in the base game: generators are the only way, and only near the generator.
Opinion Eat the fridge food first, and start looking for a generator in week one, not when the lights go.
