Disable Burglar Alarms
This mod allows for the detection and disabling of burglar alarms installed throughout Project Zomboid.
I want to give a shout to planetalgol, I borrowed a lot of their code and it was thanks to their code I was able to expand and include the disabling capability of this mod. You can find there mod here: https://steamcommunity.com/sharedfiles/filedetails/?id=2197887340
How it works:
Much like the "Burglars Can Detect Alarms" mod, the player must be up against a window and right-click inside the building looking for the context menu to show "No Alarm Detected" or "Alarm Detected". Buildings without a way to see inside them are basically impossible to detect if alarms are present, they must have a window or other way to view inside.
Alarm Detection Functionality:
You must be a Burglar or have Electrical 3 to detect if a building has a burglar alarm.
Alarm Disable Functionality:
You must be a Burglar or have Electrical 5 and either a credit card or screwdriver plus a pair of scissors to effectively disable a burglar alarm. If you see "Alarm Detected" you should also see an option for "Disable Alarm". Now, you have a base chance to succeed equal to ~25% + 5% every level above 5 in Electrical to succeed. If you are a Burglar your base chance is ~50%. Regardless of whether or not you are successful, your character will assume that they have disabled the alarm. Unfortunately, the only way to know for sure is to make your way inside and see if the alarm goes off. This mechanic was added because it would ruin a lot of the surprise involving alarm systems, but if you get Electrical 10 and are a Burglar, you will have a ~100% chance to succeed. If you are not a Burglar, but have Electrical 10 you have a ~75% chance ot succeed.
Motion Sensor Acquisition:
This has been rebalanced to only distribute a motion sensor occasionally based on the same chance you had of disarming, but is not based on success or failure of disarming the alarm.
Workshop ID: 2653025458
Mod ID: DisarmAlarmMod