NBloodServerSupervisor/Common/Constants.cs
CommonLoon102 2879b1ce1b
update Ira mod (#15)
* update twoira mod

* fix linux paths
2020-02-01 22:50:59 +00:00

27 lines
1.0 KiB
C#

using Model;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Common
{
public class Constants
{
public const long FileSizeLimit = 1024 * 1024;
private const string workingDirectory = "WD";
private static readonly string iraArt = Path.Combine(workingDirectory, "IRA");
private static readonly string iraRff = Path.Combine(workingDirectory, "BLOOD.RFF");
private static readonly string iraSound = Path.Combine(workingDirectory, "SOUNDS.RFF");
public static readonly IReadOnlyDictionary<string, Mod> SupportedMods = new Dictionary<string, Mod>()
{
{ "BLOOD", new Mod("BLOOD", "Blood", "") },
{ "CRYPTIC", new Mod("CRYPTIC", "Cryptic Passage", "-ini CRYPTIC.INI") },
{ "DW", new Mod("DW", "Death Wish", "-ini dw.ini") },
{ "TWOIRA", new Mod("TWOIRA", "The Way of Ira", $"-game_dir IRA -ini ira.ini -art {iraArt} -rff {iraRff} -snd {iraSound}") },
};
}
}