Skip to content

Commit 3c8fc1e

Browse files
committed
Added config descriptions
1 parent 957f9f6 commit 3c8fc1e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

scp035/Config.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,54 @@
11
using Exiled.API.Interfaces;
22
using System.Collections.Generic;
3+
using System.ComponentModel;
34

45
namespace scp035
56
{
67
public class Config : IConfig
78
{
9+
[Description("Determines if the plugin is enabled or not.")]
810
public bool IsEnabled { get; set; } = true;
911

12+
[Description("The items that are possible to spawn as SCP-035.")]
1013
public List<int> PossibleItems { get; set; } = new List<int>() { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 23, 24, 25, 26, 27, 30, 33, 34 };
1114

15+
[Description("The health fo SCP-035")]
1216
public int Health { get; set; } = 300;
17+
[Description("The amount of infected items on the map at any given time.")]
1318
public int InfectedItemCount { get; set; } = 1;
19+
[Description("The amount of damage done to players nearby SCP-035 every corrosion interval.")]
1420
public int CorrodeDamage { get; set; } = 5;
21+
[Description("The amount of footsteps before corrosion is placed beneath SCP-035.")]
1522
public int CorrodeTrailInterval { get; set; } = 5;
23+
[Description("The amount of damage done to SCP-035 every corrode host interval.")]
1624
public int CorrodeHostAmount { get; set; } = 5;
1725

26+
[Description("Determines if SCP-035 and SCPs can hurt each other.")]
1827
public bool ScpFriendlyFire { get; set; } = false;
28+
[Description("Determines if SCP-035 and Tutorials can hurt each other.")]
1929
public bool TutorialFriendlyFire { get; set; } = false;
30+
[Description("Determines if SCP-035 and Tutorial should win together.")]
2031
public bool WinWithTutorial { get; set; } = false;
32+
[Description("Determines if SCP-035 should corrode nearby players.")]
2133
public bool CorrodePlayers { get; set; } = true;
34+
[Description("Determines if SCP-035 should heal the corrosion damage he deals to other players.")]
2235
public bool CorrodeLifeSteal { get; set; } = true;
36+
[Description("Determines if SCP-035 should leave behind a trail of corrosion where he walks.")]
2337
public bool CorrodeTrail { get; set; } = false;
38+
[Description("Determines if SCP-035 will corrode his host body.")]
2439
public bool CorrodeHost { get; set; } = false;
40+
[Description("Determines if SCP-035 can use medical items.")]
2541
public bool CanUseMedicalItems { get; set; } = true;
42+
[Description("Determines if SCP-035 can use medical items to heal past the max health of his host body up to his maximum health.")]
2643
public bool CanHealBeyondHostHp { get; set; } = true;
2744

45+
[Description("The distance SCP-035 can corrode other players from.")]
2846
public float CorrodeDistance { get; set; } = 1.5f;
47+
[Description("The internal in which infected items refresh.")]
2948
public float RotateInterval { get; set; } = 120f;
49+
[Description("The interval in which SCP-035 corrodes other players")]
3050
public float CorrodeInterval { get; set; } = 1f;
51+
[Description("The interval in which SCP-035 corrodes his host body.")]
3152
public float CorrodeHostInterval { get; set; } = 6f;
3253
}
3354
}

0 commit comments

Comments
 (0)