-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
95 lines (75 loc) · 3.19 KB
/
Copy pathConfig.cs
File metadata and controls
95 lines (75 loc) · 3.19 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
using System.Collections.Generic;
using System.ComponentModel;
using Exiled.API.Interfaces;
using PlayerRoles;
namespace CandyChances
{
public class Config : IConfig
{
public bool IsEnabled { get; set; } = true;
public bool Debug { get; set; } = false;
[Description("Global Scp330 Bowl settings.")]
public bool OverrideCandyTakeCooldown { get; set; } = false;
public float ModifiedCandyTakeCooldown { get; set; } = 2;
public bool OverrideGlobalUseLimit { get; set; } = false;
public int ModifiedGlobalUseLimit { get; set; } = 3;
[Description("Modified candy types in SCP-330 bowl.")]
public bool OverrideBowlCandys { get; set; } = false;
[Description("List of candy types that will appear in SCP-330 bowl.(All Types )")]
public List<string> ModifiedBowlCandys { get; set; } = new()
{
"CandyBlue",
"CandyPink",
"CandyRed",
"CandyBlack",
"CandyYellow",
"HauntedCandyGray",
"HauntedCandyWhite",
"HauntedCandyBrown",
"HauntedCandyGreen",
"HauntedCandyOrange",
"HauntedCandyPurple",
"HauntedCandyRainbow",
};
[Description("Modifie candy spawn chances.")]
public bool OverrideCandyChances { get; set; } = true;
[Description("Modified candy spawn chances in SCP-330 bowl.")]
public Dictionary<string, float> CandyChances { get; set; } = new()
{
{"CandyBlue", 1},
{"CandyPink", 0.2f},
{"CandyRed", 1},
{"CandyYellow", 1},
{"HauntedCandyBlack", 1},
{"HauntedCandyWhite", 1},
{"HauntedCandyBrown", 1},
{"HauntedCandyGray", 1},
{"HauntedCandyGreen", 1},
{"HauntedCandyOrange", 1},
{"HauntedCandyPurple", 1},
{"HauntedCandyRainbow", 1},
};
[Description("Try replicate Hallowen candy behaviors.")]
public bool TryReplicateHalloweenCandys { get; set; } = true;
[Description("Hint duration and visibility options.")]
public float HintTime { get; set; } = 3;
public float HintPositionRuei { get; set; } = 300;
public bool ShowCandyHint { get; set; } = true;
public bool ShowRemainingUseHint { get; set; } = true;
public bool ShowHandsSeveredHint { get; set; } = true;
public bool ShouldPlayTakeSound { get; set; } = true;
[Description("Role based SCP-330 Bowl use limits.")]
public bool OverrideUseLimitsforRoles { get; set; } = false;
public Dictionary<RoleTypeId, int> ModifiedUseLimits { get; set; } = new()
{
{ RoleTypeId.Tutorial, 99 },
};
public bool OverrideUseLimitsforCustomRoles { get; set; } = false;
public Dictionary<string, int> ModifiedUseLimitsforCustomRoles { get; set; } = new()
{
{ "Example Role Name", 5 },
};
[Description("List of candy types names.")]
public string[] CandyNames { get; set; } = [.. Data.CandyNametoTypes.Keys];
}
}