Tests.SpeechTests.TestDamage C# (CSharp) Method

TestDamage() private method

private TestDamage ( ) : void
return void
        public void TestDamage()
        {
            Ship ship = ShipDefinitions.FromEliteID(128049363);
            ship.health = 100;
            SpeechService.Instance.Say(ship, "Systems fully operational.", true);
            ship.health = 80;
            SpeechService.Instance.Say(ship, "Systems at 80%.", true);
            ship.health = 60;
            SpeechService.Instance.Say(ship, "Systems at 60%.", true);
            ship.health = 40;
            SpeechService.Instance.Say(ship, "Systems at 40%.", true);
            ship.health = 20;
            SpeechService.Instance.Say(ship, "Systems at 20%.", true);
            ship.health = 0;
            SpeechService.Instance.Say(ship, "Systems critical.", true);
        }