Files @ 6a6817b17a06
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/Util/Constants.cs - annotation

Jason Maltzen
Simulator view updates: new warning when the recipe is below minimum concentration. Add the missing reactions to the warning about missing reactions. Show the current saved recipe for a color, and allow replacing/saving the current simulated recipe as the recipe for that color.
using DesertPaintCodex.Models;

namespace DesertPaintCodex.Util
{
    public static class Constants
    {
        public static int DefaultPixelMultiplier = 1;
        public static int DefaultScreenWidth = 1920;
        public static int DefaultScreenHeight = 1080;
        public static int DefaultScreenX = 0;
        public static int DefaultScreenY = 0;

        private static ReactionTest? _stubReactionTest = null;

        public static ReactionTest StubReactionTest
        {
            get
            {
                if (_stubReactionTest == null)
                {
                    _stubReactionTest = new ReactionTest(
                        new Reagent("Toad Skin", "ToadSkin", 48, 96, 48, 0), 
                        new Reagent("Falcons Bait", "FalconBait", 128, 240, 224, 1), 
                        null, ClipType.None, true);
                }

                return _stubReactionTest;
            }
            
        }
    }
}