forked from PaRRoT-tm/Overdose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.cs
50 lines (36 loc) · 2.17 KB
/
Config.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using Exiled.API.Interfaces;
using System.ComponentModel;
namespace Overdose
{
public sealed class Config : IConfig
{
public bool IsEnabled { get; set; } = true;
[Description("Sets the min uses before possible chance of getting poisoned (It's impossible to be poisoned before this number). Must be greater than 1.")]
public int MinUses { get; set; } = 2;
[Description("Sets the initial starting chance of getting poisoned. 0-100")]
public double BaseChance { get; set; } = 5;
[Description("Sets whether the chance increase is exponential or not (Exponential meaning BaseChance^(Medical items used - MinUses)).")]
public bool ChanceIncreaseExponential { get; set; } = false;
[Description("Sets the amount of increase each use (Medical item used - MinUses). Disregarded if exponential.")]
public double ChanceIncreasePer { get; set; } = 5;
[Description("Sets the amount of health to drain per second.")]
public double HealthDrainPerSecond { get; set; } = 0.08;
[Description("Sets the amount of increase to health drain on multiple poison.")]
public double HealthDrainPerSecondIncrease { get; set; } = 0.2;
[Description("Sets whether this plugin works on painkillers.")]
public bool PainkillerEnabled { get; set; } = true;
[Description("Sets whether this plugin works on adrenaline.")]
public bool AdrenalineEnabled { get; set; } = true;
[Description("Sets whether this plugin works on medkits.")]
public bool MedKitEnabled { get; set; } = false;
[Description("Sets whether this plugin works on SCP-207.")]
public bool SCP207Enabled { get; set; } = false;
[Description("Sets whether SCP-500 cleanses the effect.")]
public bool CanBeCleansed { get; set; } = true;
[Description("Sets the message the player sees when they begin to drain health.")]
public string OverdoseMessage { get; set; } = "<color=red><b>You begin to feel sick</b></color>";
[Description("Show debug messages?")]
public bool Debug { get; set; } = false;
}
}