Updates for Release 1.1.0 with full Configuration implementation.
This commit is contained in:
parent
e80a097865
commit
130de8a998
13
README.md
13
README.md
@ -1,3 +1,14 @@
|
||||
# ValensHasThePower
|
||||
|
||||
Allows you to configure power switches on maps to be off or on by default.
|
||||
Allows you to configure power switches on maps to be a percentage chance. By default percentage chance is 100%.
|
||||
|
||||
While in game, and at the main menu before raid start press F12 on the keyboard to access the configuration in-game.
|
||||
|
||||
Alternatively if you prefer a file with which you can edit you can navigate to Aki/BepInEx/config/com.Valens.HasThePower.cfg and edit the config manually. It should look like the following
|
||||
|
||||
## 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
|
||||
|
||||
To edit the value you would want to edit where it says "Customs = 100" and change the 100 to whatever percentage you desire.
|
@ -25,20 +25,23 @@ namespace ValensHasThePower
|
||||
"Hello, world!", // The default value
|
||||
"A greeting text to show when the game is launched"); // Description of the option to show in the config file*/
|
||||
|
||||
configCustoms = Config.Bind("General.Toggles",
|
||||
"Customs Power On Chance",
|
||||
configCustoms = Config.Bind("General.Maps",
|
||||
"Customs",
|
||||
100,
|
||||
"Percentage Chance that Power will be On at Raid Start for the Customs Map. Default is 100.");
|
||||
"Percentage Chance that Power will be On at Raid Start for the Customs Map." +
|
||||
" Default is 100.");
|
||||
|
||||
configInterchange = Config.Bind("General.Toggles",
|
||||
"Interchange Power On Chance",
|
||||
configInterchange = Config.Bind("General.Maps",
|
||||
"Interchange",
|
||||
100,
|
||||
"Percentage Chance that Power will be On at Raid Start for the Interchange Map. Default is 100.");
|
||||
"Percentage Chance that Power will be On at Raid Start for the Interchange Map." +
|
||||
" Default is 100.");
|
||||
|
||||
configReserve = Config.Bind("General.Toggles",
|
||||
"Reserve Power On Chance",
|
||||
configReserve = Config.Bind("General.Maps",
|
||||
"Reserve",
|
||||
100,
|
||||
"Percentage Chance that Power will be On at Raid Start for the Reserve Map. Default is 100.");
|
||||
"Percentage Chance that Power will be On at Raid Start for the Reserve Map." +
|
||||
" Default is 100.");
|
||||
|
||||
Logger.LogInfo($"Valens...has the POWER!!!");
|
||||
new PatchThePower().Enable();
|
||||
|
@ -0,0 +1,28 @@
|
||||
## Settings file was created by plugin ValensHasThePower v1.1.0
|
||||
## Plugin GUID: com.Valens.HasThePower
|
||||
|
||||
[General.Maps]
|
||||
|
||||
## 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
|
||||
|
||||
## Percentage Chance that Power will be On at Raid Start for the Interchange Map. Default is 100.
|
||||
# Setting type: Int32
|
||||
# Default value: 100
|
||||
Interchange = 100
|
||||
|
||||
## Percentage Chance that Power will be On at Raid Start for the Reserve Map. Default is 100.
|
||||
# Setting type: Int32
|
||||
# Default value: 100
|
||||
Reserve = 100
|
||||
|
||||
[General.Toggles]
|
||||
|
||||
Customs Power On Chance = 100
|
||||
|
||||
Interchange Power On Chance = 100
|
||||
|
||||
Reserve Power On Chance = 100
|
||||
|
@ -5,5 +5,6 @@
|
||||
"license": "CC BY-NC-SA 4.0",
|
||||
"main": "package.js",
|
||||
"akiVersion": "2.3.1"
|
||||
"thanks to": "CWX, Clodan/Alex"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user