-
Notifications
You must be signed in to change notification settings - Fork 1
/
Config.cs
105 lines (78 loc) · 1.92 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
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
using System.ComponentModel;
using Terraria.ModLoader.Config;
namespace PlentifulOres;
[BackgroundColor(0, 0, 0, 200)]
public class Config : ModConfig
{
public override ConfigScope Mode => ConfigScope.ServerSide;
[DefaultValue(true)]
public bool KillingMoonLordSpawnsLuminiteOre;
[DefaultValue(false)]
public bool FastChlorophyte;
[DefaultValue(false)]
public bool NearSurface;
[DefaultValue(false)]
public bool NotOnlyReplaceButAdd;
[DefaultValue(false)]
public bool NoYChange;
[DefaultValue(true)]
public bool Override_OnlyChangeIfYouKnowWhatYouAreDoing;
[DefaultValue(0)]
public int SpeedX;
[DefaultValue(0)]
public int SpeedY;
[DefaultValue(0)]
[Range(0, 30)]
public int AdditionalStrength;
[DefaultValue(0)]
[Range(0, 30)]
public int AdditionalSteps;
// Ores
[DefaultValue(3)]
[Range(0, 100)]
public int CopperBias;
[DefaultValue(10)]
[Range(0, 100)]
public int SilverBias;
[DefaultValue(15)]
[Range(0, 100)]
public int IronBias;
[DefaultValue(20)]
[Range(0, 100)]
public int GoldBias;
[DefaultValue(3)]
[Range(0, 100)]
public int CrimtaneBias;
[DefaultValue(15)]
[Range(0, 100)]
public int CobaltBias;
[DefaultValue(15)]
[Range(0, 100)]
public int MythrilBias;
[DefaultValue(15)]
[Range(0, 100)]
public int TitaniumBias;
// Gems
[DefaultValue(3)]
[Range(0, 100)]
public int DiamondBias;
[DefaultValue(3)]
[Range(0, 100)]
public int RubyBias;
[DefaultValue(3)]
[Range(0, 100)]
public int EmeraldBias;
[DefaultValue(3)]
[Range(0, 100)]
public int SapphireBias;
[DefaultValue(3)]
[Range(0, 100)]
public int TopazBias;
[DefaultValue(3)]
[Range(0, 100)]
public int AmethystBias;
public override void OnLoaded()
{
PlentifulOres.Config = this;
}
}