Example #1
0
 public override string Log()
 {
     if (Level == 1000)
     {
         return("Writing tractatus on " + Topic.AbilityName + " worth " + Desire.ToString("0.000"));
     }
     return("Writing summa on " + Topic.AbilityName + " worth " + Desire.ToString("0.000"));
 }
Example #2
0
        private static void DrawWithParameters(int[] Arr)
        {
            int X, Y, Shirt, Pants, State, Moving, Desire;

            X      = Arr[0];
            Y      = Arr[1];
            Shirt  = Arr[2];
            Pants  = Arr[3];
            State  = Arr[4];
            Moving = Arr[5];
            Desire = Arr[6];
            LogicsCanvas.FillRectangle(DrawingClass.GetColor(Shirt), X, Y, 40, 100);
            LogicsCanvas.DrawRectangle(Pens.Black, X, Y, 40, 100);
            LogicsCanvas.DrawRectangle(Pens.Black, X + 10, Y + 15, 20, 80);
            LogicsCanvas.FillRectangle(DrawingClass.GetColor(Pants), X + 5, Y + 100, 30, 100);
            LogicsCanvas.DrawRectangle(Pens.Black, X + 5, Y + 100, 30, 100);
            LogicsCanvas.DrawEllipse(Pens.Black, X + 5, Y - 30, 30, 30);
            Rectangle Rect = new Rectangle(X - 5, Y - 100, 50, 50);

            switch (State)
            {
            case 1: //Только идет
                LogicsCanvas.FillEllipse(Brushes.Yellow, Rect);
                LogicsCanvas.FillRectangle(Brushes.Black, X + 10, Y - 65, 20, 3);
                break;

            case 2: //Получил
                LogicsCanvas.FillEllipse(Brushes.LightGreen, Rect);
                LogicsCanvas.FillClosedCurve(Brushes.Black, new Point[6] {
                    new Point(X + 10, Y - 68),
                    new Point(X + 20, Y - 65),
                    new Point(X + 30, Y - 68),
                    new Point(X + 30, Y - 65),
                    new Point(X + 20, Y - 62),
                    new Point(X + 10, Y - 65)
                });
                break;

            case 3: //Не получил
                LogicsCanvas.FillEllipse(Brushes.Red, Rect);
                LogicsCanvas.FillClosedCurve(Brushes.Black, new Point[6] {
                    new Point(X + 10, Y - 65),
                    new Point(X + 20, Y - 68),
                    new Point(X + 30, Y - 65),
                    new Point(X + 30, Y - 62),
                    new Point(X + 20, Y - 65),
                    new Point(X + 10, Y - 62)
                });
                break;
            }
            if (Moving == 3)
            {
                LogicsCanvas.DrawEllipse(Pens.Black, X + 25, Y - 20, 4, 4);
            }
            else
            {
                LogicsCanvas.DrawEllipse(Pens.Black, X + 10, Y - 20, 4, 4);
            }
            LogicsCanvas.FillEllipse(Brushes.Black, X + 5, Y - 85, 10, 10);
            LogicsCanvas.FillEllipse(Brushes.Black, X + 25, Y - 85, 10, 10);
            LogicsCanvas.DrawString(Desire.ToString() + " p.", new Font("Arial", 10), Brushes.Black, X + 5, Y - 50);
            LogicsCanvas.DrawEllipse(Pens.Black, Rect);
        }
Example #3
0
 public override string Log()
 {
     return("Extracting vis worth " + Desire.ToString("0.000"));
 }
Example #4
0
 public override string Log()
 {
     return("Gauntleting apprentice worth " + Desire.ToString("0.000"));
 }
Example #5
0
 public override string Log()
 {
     return("Studying " + Art.AbilityName + " vis worth " + Desire.ToString("0.000"));
 }
Example #6
0
 public override string Log()
 {
     return("Training worth " + Desire.ToString("0.000"));
 }
Example #7
0
 public override string Log()
 {
     return("Finding vis source worth " + Desire.ToString("0.000"));
 }
Example #8
0
 public override string Log()
 {
     return("Finding a new aura worth " + Desire.ToString("0.000"));
 }
Example #9
0
 public override string Log()
 {
     return("Exposing " + Ability.AbilityName + " worth " + Desire.ToString("0.000"));
 }
Example #10
0
 public override string Log()
 {
     return("Longevity Ritual worth " + Desire.ToString("0.000"));
 }
Example #11
0
 public override string Log()
 {
     return("Inventing " + Spell.BaseArts.Technique.AbilityName + " " + Spell.BaseArts.Form.AbilityName + " spell worth " + Desire.ToString("0.000"));
 }
Example #12
0
 public override string Log()
 {
     return("Refining lab worth " + Desire.ToString("0.000"));
 }