-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.cs
37 lines (28 loc) · 910 Bytes
/
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
using System.ComponentModel;
using Terraria.ModLoader.Config;
namespace MerchantsPlus;
[BackgroundColor(0, 0, 0, 100)]
public class Config : ModConfig
{
public static Config Instance { get; private set; }
public override ConfigScope Mode => ConfigScope.ServerSide;
public override void OnLoaded() => Instance = this;
[DefaultValue(1.0f)]
[BackgroundColor(0, 0, 0, 100)]
public float ShopPriceMultiplier = 1.0f;
[DefaultValue(true)]
[BackgroundColor(0, 0, 0, 100)]
public bool ToggleExtraLife;
[DefaultValue(false)]
[BackgroundColor(0, 0, 0, 100)]
public bool ToggleDialog;
[DefaultValue(true)]
[BackgroundColor(0, 0, 0, 100)]
public bool ToggleDrops;
[DefaultValue(true)]
[BackgroundColor(0, 0, 0, 100)]
public bool ToggleProjectiles;
[DefaultValue(true)]
[BackgroundColor(0, 0, 0, 100)]
public bool ToggleScaling;
}