This repository was archived by the owner on Feb 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathConfig.cs
More file actions
131 lines (113 loc) · 3.64 KB
/
Config.cs
File metadata and controls
131 lines (113 loc) · 3.64 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
using CustomPlayerEffects;
using Exiled.API.Enums;
using Exiled.API.Interfaces;
using System.Collections.Generic;
using System.ComponentModel;
namespace Subclass
{
public sealed class Config : IConfig
{
public bool IsEnabled { get; set; } = true;
[Description("Enable debug logs?")]
public bool Debug { get; set; } = false;
[Description("Enable debug logs for class obtaining?")]
public bool ClassDebug { get; set; } = false;
[Description("Makes chance to get classes additive instead of individual.")]
public bool AdditiveChance { get; set; } = false;
[Description("Makes chance to get classes weighted instead of individual. additive_chance must be false for this to work.")]
public bool WeightedChance { get; set; }
public Dictionary<RoleType, float> BaseWeights { get; set; } = new Dictionary<RoleType, float>
{
{
RoleType.ChaosInsurgency,
0f
},
{
RoleType.ClassD,
0f
},
{
RoleType.FacilityGuard,
0f
},
{
RoleType.NtfCadet,
0f
},
{
RoleType.NtfCommander,
0f
},
{
RoleType.NtfLieutenant,
0f
},
{
RoleType.NtfScientist,
0f
},
{
RoleType.Scientist,
0f
},
{
RoleType.Scp049,
0f
},
{
RoleType.Scp0492,
0f
},
{
RoleType.Scp079,
0f
},
{
RoleType.Scp096,
0f
},
{
RoleType.Scp106,
0f
},
{
RoleType.Scp173,
0f
},
{
RoleType.Scp93953,
0f
},
{
RoleType.Scp93989,
0f
},
{
RoleType.Tutorial,
0f
}
};
[Description("The separator for spawn parameter arguments. Set this to (a) character(s) that are unique in class names, team names, etc.")]
public string SpawnParameterSeparator { get; set; } = "_";
[Description("The default time the got class broadcast lasts, still can be overridden by specific classes.")]
public float GlobalBroadcastTime { get; set; } = 5f;
[Description("The message shown to players when they try to go invisible, but already are.")]
public string AlreadyInvisibleMessage { get; set; } = "You're already invisible!";
[Description("The message shown to players when they fail to disguise.")]
public string DisguiseFailedMessage { get; set; } = "Disguise failed, your team, or SCPs, are the most within range.";
[Description("The message shown to players when their revive fails because they aren't near a dead body.")]
public string ReviveFailedNoBodyMessage { get; set; } = "You must be near a dead body.";
[Description("The message shown to players when their revive fails because the body is not revivable.")]
public string CantReviveMessage { get; set; } = "This player is not revivable.";
[Description("The message shown to players when they use the help command and the class provided is not found.")]
public string HelpNoClassFound { get; set; } = "Class not found!";
[Description("The message shown to players when they use the help command and the class provided has no help string.")]
public string HelpNoHelpFound { get; set; } = "Class has no help message!";
[Description("The message shown to players when they use the help command and provided no arguments.")]
public string HelpNoArgumentsProvided { get; set; } = "Please provide the class name if you don't have a subclass.";
[Description("The message shown to players when they use the an ability that requires spectators and there are none.")]
public string NoAvailableSpectators { get; set; } = "There are no available spectators.";
[Description("The message shown to players when they don't have enough stamina to do an action.")]
public string OutOfStaminaMessage { get; set; } = "You do not have enough stamina.";
}
}