示例#1
0
文件: Enums.cs 项目: hooperk/Starship
        /// <summary>
        /// Just special rules to display as text
        /// </summary>
        /// <param name="self">Complication</param>
        /// <returns>Special rules to print</returns>
        public static string Special(this MachineSpirit self)
        {
            switch (self)
            {
            case MachineSpirit.ANoseForTrouble:
                return("Ship looks for battles crew might wish to avoid");

            case MachineSpirit.BlasphemousTendencies:
                return("-5 to willpower tests");

            case MachineSpirit.MartialHubris:
                return("-15 to pilot tests to escape combat");

            case MachineSpirit.Rebellious:
                return("Components can randomly become unpowered no more than once per combat. On receiving critical, ignore on an 8+");

            case MachineSpirit.Stoic:
                return("-1 profit factor from endeavours, when component is unpowered or damaged ignore on 7+");

            case MachineSpirit.Skittish:
                return("-1 speed in combat, reduce long distance travels by 1d5 weeks min 1");

            case MachineSpirit.Wrothful:
                return("+1 speed and 7 manoeuvrability in combat, -1 speed and -5 manoeuvrability and detection otherwise");

            case MachineSpirit.Resolute:
                return(null);

            case MachineSpirit.Adventurous:
                return("+10 detection while in an endeavour, -10 when not");

            case MachineSpirit.AncientAndWise:
                return(null);

            default:
                return(null);
            }
        }
示例#2
0
文件: Enums.cs 项目: hooperk/Starship
        /// <summary>
        /// Get the name for printing of this complication
        /// </summary>
        /// <param name="self">Complication</param>
        /// <returns>Enum name as printable name</returns>
        public static string Name(this MachineSpirit self)
        {
            switch (self)
            {
            case MachineSpirit.ANoseForTrouble:
                return("A Nose For Trouble");

            case MachineSpirit.BlasphemousTendencies:
                return("Blasphemous Tendencies");

            case MachineSpirit.MartialHubris:
                return("Martial Hubris");

            case MachineSpirit.Rebellious:
                return("Rebellious");

            case MachineSpirit.Stoic:
                return("Stoic");

            case MachineSpirit.Skittish:
                return("Skittish");

            case MachineSpirit.Wrothful:
                return("Wrothful");

            case MachineSpirit.Resolute:
                return("Resolute");

            case MachineSpirit.Adventurous:
                return("Adventurous");

            case MachineSpirit.AncientAndWise:
                return("Ancient and Wise");

            default:
                return(null);
            }
        }