forked from gardenappl/OmniSwing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.cs
34 lines (30 loc) · 984 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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using Terraria.ModLoader.Config;
using Terraria.ID;
namespace OmniSwing
{
[Label("$Mods.OmniSwing.Config")]
public class Config : ModConfig
{
public override ConfigScope Mode => ConfigScope.ClientSide;
[Label("$Mods.OmniSwing.Config.EnableWeapons")]
[Tooltip("$Mods.OmniSwing.Config.EnableWeapons.Description")]
[DefaultValue(true)]
public bool EnableWeapons;
[Label("$Mods.OmniSwing.Config.Whitelist")]
[Tooltip("$Mods.OmniSwing.Config.Whitelist.Description")]
public List<ItemDefinition> Whitelist = new List<ItemDefinition>();
[Label("$Mods.OmniSwing.Config.Blacklist")]
[Tooltip("$Mods.OmniSwing.Config.Blacklist.Description")]
public List<ItemDefinition> Blacklist = new List<ItemDefinition>
{
new ItemDefinition(ItemID.MagicDagger),
new ItemDefinition(ItemID.PhoenixBlaster)
};
}
}