Valens added a new file:
QuoteDisplay MoreI never liked the fact that after you threw power on for a location that it suddenly is gone the next raid.
So this mod will allow you to configure a Percentage Chance for power to be set to On at the start of a Raid for all Maps that currently allow for this. Currently this is Customs, Interchange, and Reserve.
All extracts, and objects linked to power are working and operable (like OBJ21 Container, and ZB-013 extract on Interchange, and Customs respectively).
Configuration Manager Implemented!
In order to use the configuration manager you have two means of access.
In game you can press F12 to access the GUI provided by the BepInEx Configuration Manager and set your values there
OR
You can navigate to SPT-Aki/BepInEx/config/com.Valens.HasThePower.cfg and edit the values manually in here.
## Percentage Chance that Power will be On at Raid Start for the Customs Map. Default is 100.
# Setting type: Int32
# Default value: 100
Customs = 100
You would want to edit the part in Blue for each Green Map. Where Blue is the Percent Chance you desire for every map.
Will Raiders Spawn?!
Raiders will still spawn given that the switches their spawns are tied to (D2 on Reserve for instance) as the script that is run when you for example manually throw Power on is ran at Raid Start instead.
So yes raiders will still appear where appropriate if the %chance is hit. Currently I believe the %chance for D2 when power is thrown on is 50% so you have a 50% chance that Raiders will spawn.
To Install: all you need do is extract the BepInEx folder to your SPT installation.
To UnInstall: all you need to do is delete the ValensHasThePower.dll from your SPT-Aki/BepInEx/plugins folder, and remove ValensHasThePower-x.x.x (Where x.x.x is the version number you have) from your SPT-Aki/user/mods folder.
Thanks to CWX, and Clodan (that Alex) for their help in coding, and testing.
ALL SUPPORT IS DONE ON THE GITHUB FOR THE REPOSITORY/PROJECT YOU'RE HAVING THE ISSUE WITH.
CLICK HERE FOR SUPPORT OR TO REQUEST A FEATURE