Project Zomboid

Project Zomboid

643 ratings
Blackouts
3
4
2
3
5
5
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
459.032 KB
Feb 7, 2024 @ 7:12pm
May 15, 2024 @ 7:28pm
11 Change Notes ( view )

Subscribe to download
Blackouts

Description
How it Works

- Adds a small chance for power outages to occur randomly at any time of day, and for the power to come back on after a while. Customizable in sandbox settings.
- Adds a 1 point cost trait that spawns you with a hand torch.
- The permanent shutoff date still happens, based on the random shutoff date from vanilla, but it can be overridden with my mod in sandbox settings.
- Now compatible with multiplayer!

Recommended with The Long Night and other horror mods!

Events

You can trigger Blackout events using Lua mods or the debug console. The following commands are used to trigger events; hopefully their names are self-explanatory:
triggerEvent("BlackoutsForceShutoff") triggerEvent("BlackoutsForceRestore") triggerEvent("BlackoutsRequestServerData")

Thanks to the Project Zomboid Discord for helping with the code!

Latest Upgrades

Recently added features:
- Added multiplayer compatibility! Thanks to the help of Burryaga!
- Added weather effect option in sandbox (on by default)!
- Added manual blackout trigger for playtests, modders, and server admins!
- Easy new way to check whether this mod has triggered a blackout:
print(powerDisabledByBlackouts)

Compatibility

Though we have gone to significant lengths to make this mod play nicely with countless other mods, we cannot guarantee with absolute certainty that our mod will never have a conflict of interest with other mods that rely on adjustments to the hydro power state of the map or ElecShutModifier, because these are the fundamental variables of most power grid management in Zomboid as far as we can tell. Our mod does seem to be playing nicely with Restore Utilities according to recent reports, but please reach out to us on Discord if you have any issues, and we will attempt to help as soon as possible.



Check Out My Other Mods!
Specialists Occupations and Traits
Bitten Trait Mod
Immunity Mod

Workshop ID: 3156268584
Mod ID: TomaroBlackouts01
Popular Discussions View All (3)
18
Aug 1, 2024 @ 10:02am
PINNED: Bug Reports & Compatibility (4/26/2024 Patch)
Burryaga
233 Comments
Silver Star Apr 11 @ 2:02pm 
b42?
RudyTheNinja Apr 5 @ 2:35pm 
Date ranges better than "Vanilla's too soon I just spawned" or "too late I started a new save" options :steamthumbsup:
ChipR Mar 9 @ 7:47pm 
i was chilling, making a salad in the kitchen when the power went out, the sound it made scared the hell out of me, 10/10 mod
3milysarah Mar 9 @ 5:00am 
Please add water shut off to correspond with blackouts! PLEEEEEASE!
Joy Tomaro  [author] Feb 6 @ 8:22pm 
it's not out yet
cdavid1905 Feb 5 @ 8:39pm 
42? :steamsad:
Joy Tomaro  [author] Feb 1 @ 11:05am 
I think that was something we had in the past and thought was resolved. I've been on hiatus for a long time but I do keep mental notes of the comments made.

Try unsubscribing from the mod, verifying integrity of files, and then resubscribing. If the issue still persists, please report it in the bug report thread so we can look at it again some day. Thanks!
Bayrain Jan 31 @ 8:56pm 
Dumb thing, Having an issue where the power will go out until I load back into the game, have you seen the issue before? only started happening recently
Joy Tomaro  [author] Jan 26 @ 8:18pm 
That's a really neat idea! I hope someone gives it a spin some time!
Come and See Jan 24 @ 9:46am 
I'd love to see random water outages as its own separate thing from blackouts. Definitely would keep you on your toes if the water shuts off randomly.