42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
using Terraria.ModLoader.Config;
|
|
using System.ComponentModel;
|
|
|
|
namespace UnCalamityModMusic.Common.Configs
|
|
{
|
|
[BackgroundColor(49, 32, 36, 216)]
|
|
public class MusicConfig : ModConfig
|
|
{
|
|
public override ConfigScope Mode => ConfigScope.ClientSide;
|
|
|
|
[Header("$Mods.UnCalamityModMusic.Configs.MusicConfig.MusicTogglesHeader")]
|
|
|
|
[Range(10f, 50f)]
|
|
[Increment(1f)]
|
|
[BackgroundColor(192, 54, 64, 192)]
|
|
[SliderColor(224, 165, 56, 128)]
|
|
[DefaultValue(30f)]
|
|
public float WorkshopRange { get; set; }
|
|
|
|
[BackgroundColor(192, 54, 64, 192)]
|
|
[DefaultValue(true)]
|
|
public bool WorkshopThemes { get; set; }
|
|
|
|
[BackgroundColor(192, 54, 64, 192)]
|
|
[DefaultValue(true)]
|
|
public bool HardmodeInterlude { get; set; }
|
|
|
|
[Header("$Mods.UnCalamityModMusic.Configs.MusicConfig.ConditionChangesHeader")]
|
|
|
|
[BackgroundColor(192, 54, 64, 192)]
|
|
[DefaultValue(false)]
|
|
public bool OverrideOtherworldlyMusic { get; set; }
|
|
|
|
[BackgroundColor(192, 54, 64, 192)]
|
|
[DefaultValue(false)]
|
|
public bool OverrideAnahitasLureMusic { get; set; }
|
|
|
|
[BackgroundColor(192, 54, 64, 192)]
|
|
[DefaultValue(false)]
|
|
public bool PrioritizeMusicFromOtherMods { get; set; }
|
|
}
|
|
} |