-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCalTestHelperConfig.cs
More file actions
56 lines (43 loc) · 1.69 KB
/
CalTestHelperConfig.cs
File metadata and controls
56 lines (43 loc) · 1.69 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
using System.ComponentModel;
using Terraria.Localization;
using Terraria.ModLoader.Config;
namespace CalTestHelpers
{
//[BackgroundColor(0, 50, 78, 216)] //Default
[BackgroundColor(49, 32, 36, 216)] //Calamity
public class CalTestHelperConfig : ModConfig
{
public static CalTestHelperConfig Instance;
public override ConfigScope Mode => ConfigScope.ClientSide;
[Header("Configs")]
//[BackgroundColor(128, 129, 225, 192)] default Terraria
[BackgroundColor(192, 54, 64, 192)] // Calamity
[DefaultValue(true)]
public bool BossDeathStatMessages { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(true)]
public bool InstantBossSummoning { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[SliderColor(224, 165, 56, 128)]
[Range(0.8f, 1.5f)]
[DefaultValue(1f)]
[Increment(0.05f)]
[DrawTicks]
public float UISize { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(true)]
public bool FreeReforges { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(true)]
public bool ManualLocalizationOverride { get; set; }
[Header("Deprecated")]
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(40)]
[Range(20, 80)] //Over 80 it gets outside the box vertically
public int StuffAmountDisplay { get; set; }
[BackgroundColor(192, 54, 64, 192)]
[DefaultValue(false)]
public bool StoreFightInformation { get; set; }
public override bool AcceptClientChanges(ModConfig pendingConfig, int whoAmI, ref NetworkText message) => false;
}
}