Esempio n. 1
0
 ///<summary>
 ///
 ///</summary>
 ///<param name="name"></param>
 ///<param name="volume"></param>
 ///<param name="unitsToRefine"></param>
 ///<param name="mineralsOut"></param>
 public Ore(string name, double volume, int unitsToRefine, MineralsOut mineralsOut)
 {
     Name               = name;
     Volume             = volume;
     this.unitsToRefine = unitsToRefine;
     MineralsOut        = mineralsOut;
 }
Esempio n. 2
0
        static OreList()
        {
            //Veldspar
            MineralsOut mOut = new MineralsOut(1000, 0, 0, 0, 0, 0, 0, 0);
            Ore ore = new Ore("Veldspar", 0.1, 333, mOut);
            DictOre.Add(ore.Name, ore);

            mOut = new MineralsOut(1050, 0, 0, 0, 0, 0, 0, 0);
            ore = new Ore("Concentrated Veldspar", 0.1, 333, mOut);
            DictOre.Add(ore.Name, ore);

            mOut = new MineralsOut(1100, 0, 0, 0, 0, 0, 0, 0);
            ore = new Ore("Dense Veldspar", 0.1, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Scordite
            mOut = new MineralsOut(833, 416, 0, 0, 0, 0, 0, 0);
            ore = new Ore("Scordite", 0.15, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(875, 437, 0, 0, 0, 0, 0, 0);
            ore = new Ore("Condensed Scordite", 0.15, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(916, 458, 0, 0, 0, 0, 0, 0);
            ore = new Ore("Massive Scordite", 0.15, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Pyroxeres
            mOut = new MineralsOut(844, 59, 120, 0, 11, 0, 0, 0);
            ore = new Ore("Pyroxeres", 0.3, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(886, 62, 126, 0, 12, 0, 0, 0);
            ore = new Ore("Solid Pyroxeres", 0.3, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(928, 65, 132, 0, 12, 0, 0, 0);
            ore = new Ore("Viscous Pyroxeres", 0.3, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Plagioclase
            mOut = new MineralsOut(256, 512, 256, 0, 0, 0, 0, 0);
            ore = new Ore("Plagioclase", 0.35, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(269, 538, 269, 0, 0, 0, 0, 0);
            ore = new Ore("Azure Plagioclase", 0.35, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(282, 563, 282, 0, 0, 0, 0, 0);
            ore = new Ore("Rich Plagioclase", 0.35, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Omber
            mOut = new MineralsOut(307, 123, 0, 307, 0, 0, 0, 0);
            ore = new Ore("Omber", 0.6, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(322, 129, 0, 322, 0, 0, 0, 0);
            ore = new Ore("Silvery Omber", 0.6, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(338, 135, 0, 338, 0, 0, 0, 0);
            ore = new Ore("Golden Omber", 0.6, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Kernite
            mOut = new MineralsOut(386, 0, 773, 386, 0, 0, 0, 0);
            ore = new Ore("Kernite", 1.2, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(405, 0, 812, 405, 0, 0, 0, 0);
            ore = new Ore("Luminous Kernite", 1.2, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(425, 0, 850, 425, 0, 0, 0, 0);
            ore = new Ore("Fiery Kernite", 1.2, 400, mOut);
            DictOre.Add(ore.Name, ore);

            //Jaspet
            mOut = new MineralsOut(259, 437, 518, 0, 259, 8, 0, 0);
            ore = new Ore("Jaspet", 2.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(272, 459, 544, 0, 272, 8, 0, 0);
            ore = new Ore("Pure Jaspet", 2.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(285, 481, 570, 0, 285, 9, 0, 0);
            ore = new Ore("Pristine Jaspet", 2.0, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Hemorphite
            mOut = new MineralsOut(650, 260, 60, 212, 424, 28, 0, 0);
            ore = new Ore("Hemorphite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(683, 273, 63, 223, 445, 29, 0, 0);
            ore = new Ore("Vivid Hemorphite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(715, 286, 66, 233, 466, 31, 0, 0);
            ore = new Ore("Radiant Hemorphite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Hedbergite
            mOut = new MineralsOut(0, 290, 0, 708, 354, 32, 0, 0);
            ore = new Ore("Hedbergite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 305, 0, 743, 372, 34, 0, 0);
            ore = new Ore("Vitric Hedbergite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 319, 0, 779, 389, 35, 0, 0);
            ore = new Ore("Glazed Hedbergite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Gneiss
            mOut = new MineralsOut(3700, 0, 3700, 700, 0, 171, 0, 0);
            ore = new Ore("Gneiss", 5.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(3885, 0, 3885, 735, 0, 180, 0, 0);
            ore = new Ore("Iridescent Gneiss", 5.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(4070, 0, 4070, 770, 0, 188, 0, 0);
            ore = new Ore("Prismatic Gneiss", 5.0, 400, mOut);
            DictOre.Add(ore.Name, ore);

            //Dark Ochre
            mOut = new MineralsOut(25500, 0, 0, 0, 500, 250, 0, 0);
            ore = new Ore("Dark Ochre", 8.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(26775, 0, 0, 0, 525, 263, 0, 0);
            ore = new Ore("Onyx Ochre", 8.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(28050, 0, 0, 0, 550, 275, 0, 0);
            ore = new Ore("Obsidian Ochre", 8.0, 400, mOut);
            DictOre.Add(ore.Name, ore);

            //Spodumain
            mOut = new MineralsOut(71000, 9000, 0, 0, 0, 0, 140, 0);
            ore = new Ore("Spodumain", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(74550, 9450, 0, 0, 0, 0, 147, 0);
            ore = new Ore("Bright Spodumain", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(78100, 9900, 0, 0, 0, 0, 154, 0);
            ore = new Ore("Gleaming Spodumain", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);

            //Crokite
            mOut = new MineralsOut(38000, 0, 0, 0, 331, 663, 0, 0);
            ore = new Ore("Crokite", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(39900, 0, 0, 0, 348, 696, 0, 0);
            ore = new Ore("Sharp Crokite", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(41800, 0, 0, 0, 364, 729, 0, 0);
            ore = new Ore("Crystalline Crokite", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);

            //Bistot
            mOut = new MineralsOut(0, 12000, 0, 0, 0, 341, 170, 0);
            ore = new Ore("Bistot", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 12600, 0, 0, 0, 358, 179, 0);
            ore = new Ore("Triclinic Bistot", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 13200, 0, 0, 0, 375, 187, 0);
            ore = new Ore("Monoclinic Bistot", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);

            //Arkonor
            mOut = new MineralsOut(10000, 0, 0, 0, 0, 166, 333, 0);
            ore = new Ore("Arkonor", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(10500, 0, 0, 0, 0, 174, 350, 0);
            ore = new Ore("Crimson Arkonor", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(11000, 0, 0, 0, 0, 183, 366, 0);
            ore = new Ore("Prime Arkonor", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);

            //Mercoxit
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 530);
            ore = new Ore("Mercoxit", 40.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 557);
            ore = new Ore("Magma Mercoxit", 40.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 583);
            ore = new Ore("Vitreous Mercoxit", 40.0, 250, mOut);
            DictOre.Add(ore.Name, ore);

            //ICE
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 0);
            ore = new Ore("Ice", 1000.0, 1, mOut);
            DictOre.Add(ore.Name, ore);
            //GAS
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 0);
            ore = new Ore("Gas", 10.0, 1, mOut);
            DictOre.Add(ore.Name, ore);
        }
Esempio n. 3
0
        /// <summary>
        /// Refreshes the histogram.
        /// </summary>
        /// <param name="minerals">The minerals.</param>
        private void RefreshHistogram(MineralsOut minerals)
        {
            histogram1.Suffix = "k Isk";
            histogram1.ListBars.Clear();
            Bar bar = new Bar
                          {
                              Color1 = Color.FromArgb(255, 228, 175),
                              Color2 = Color.FromArgb(88, 61, 31),
                              Name = "Tritanium",
                              Value = minerals.Tritanium*Config<Settings>.Instance.PriceTritanium/1000
                          };
            histogram1.ListBars.Add(bar);

            bar = new Bar
                      {
                          Color1 = Color.FromArgb(0xff, 0xa3, 0x66),
                          Color2 = Color.FromArgb(0x5c, 0x2c, 0x18),
                          Name = "Pyerite",
                          Value = minerals.Pyerite*Config<Settings>.Instance.PricePyerite/1000
                      };
            histogram1.ListBars.Add(bar);

            bar = new Bar
                      {
                          Color1 = Color.FromArgb(0xf2, 0xff, 0xc7),
                          Color2 = Color.FromArgb(0x3c, 0x50, 0x18),
                          Name = "Mexallon",
                          Value = minerals.Mexallon*Config<Settings>.Instance.PriceMexallon/1000
                      };
            histogram1.ListBars.Add(bar);

            bar = new Bar
                      {
                          Color1 = Color.FromArgb(0xe4, 0xf3, 0xf7),
                          Color2 = Color.FromArgb(0x2a, 0x80, 0x9c),
                          Name = "Isogen",
                          Value = minerals.Isogen*Config<Settings>.Instance.PriceIsogen/1000
                      };
            histogram1.ListBars.Add(bar);

            bar = new Bar
                      {
                          Color1 = Color.Silver,
                          Name = "Nocxium",
                          Value = minerals.Nocxium*Config<Settings>.Instance.PriceNocxium/1000
                      };
            histogram1.ListBars.Add(bar);
            bar = new Bar
                      {
                          Color1 = Color.FromArgb(0x54, 0x98, 0x3a),
                          Color2 = Color.FromArgb(0x0b, 0x30, 0x10),
                          Name = "Zydrine",
                          Value = minerals.Zydrine*Config<Settings>.Instance.PriceZydrine/1000
                      };
            histogram1.ListBars.Add(bar);
            bar = new Bar
                      {
                          Color1 = Color.FromArgb(0xc7, 0xbb, 0xa8),
                          Color2 = Color.FromArgb(0x44, 0x37, 0x24),
                          Name = "Megacyte",
                          Value = minerals.Megacyte*Config<Settings>.Instance.PriceMegacyte/1000
                      };
            histogram1.ListBars.Add(bar);
            bar = new Bar
                      {
                          Color1 = Color.FromArgb(0xda, 0x4e, 0x40),
                          Color2 = Color.FromArgb(0x48, 0x04, 0x03),
                          //Color1 = Color.DarkRed,
                          Name = "Morphite",
                          Value = minerals.Morphite*Config<Settings>.Instance.PriceMorphite/1000
                      };
            histogram1.ListBars.Add(bar);

            histogram1.Invalidate();
            textBoxProfit.Text = Resources.CalculatorForm_RefreshHistogram_Total_Profit__ + minerals.GetMineralProfit().ToString("#,#.##") + Resources.CalculatorForm_RefreshHistogram__ISK;
        }
Esempio n. 4
0
        static OreList()
        {
            //Veldspar
            MineralsOut mOut = new MineralsOut(1000, 0, 0, 0, 0, 0, 0, 0);
            Ore         ore  = new Ore("Veldspar", 0.1, 333, mOut);

            DictOre.Add(ore.Name, ore);

            mOut = new MineralsOut(1050, 0, 0, 0, 0, 0, 0, 0);
            ore  = new Ore("Concentrated Veldspar", 0.1, 333, mOut);
            DictOre.Add(ore.Name, ore);

            mOut = new MineralsOut(1100, 0, 0, 0, 0, 0, 0, 0);
            ore  = new Ore("Dense Veldspar", 0.1, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Scordite
            mOut = new MineralsOut(833, 416, 0, 0, 0, 0, 0, 0);
            ore  = new Ore("Scordite", 0.15, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(875, 437, 0, 0, 0, 0, 0, 0);
            ore  = new Ore("Condensed Scordite", 0.15, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(916, 458, 0, 0, 0, 0, 0, 0);
            ore  = new Ore("Massive Scordite", 0.15, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Pyroxeres
            mOut = new MineralsOut(844, 59, 120, 0, 11, 0, 0, 0);
            ore  = new Ore("Pyroxeres", 0.3, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(886, 62, 126, 0, 12, 0, 0, 0);
            ore  = new Ore("Solid Pyroxeres", 0.3, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(928, 65, 132, 0, 12, 0, 0, 0);
            ore  = new Ore("Viscous Pyroxeres", 0.3, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Plagioclase
            mOut = new MineralsOut(256, 512, 256, 0, 0, 0, 0, 0);
            ore  = new Ore("Plagioclase", 0.35, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(269, 538, 269, 0, 0, 0, 0, 0);
            ore  = new Ore("Azure Plagioclase", 0.35, 333, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(282, 563, 282, 0, 0, 0, 0, 0);
            ore  = new Ore("Rich Plagioclase", 0.35, 333, mOut);
            DictOre.Add(ore.Name, ore);

            //Omber
            mOut = new MineralsOut(307, 123, 0, 307, 0, 0, 0, 0);
            ore  = new Ore("Omber", 0.6, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(322, 129, 0, 322, 0, 0, 0, 0);
            ore  = new Ore("Silvery Omber", 0.6, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(338, 135, 0, 338, 0, 0, 0, 0);
            ore  = new Ore("Golden Omber", 0.6, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Kernite
            mOut = new MineralsOut(386, 0, 773, 386, 0, 0, 0, 0);
            ore  = new Ore("Kernite", 1.2, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(405, 0, 812, 405, 0, 0, 0, 0);
            ore  = new Ore("Luminous Kernite", 1.2, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(425, 0, 850, 425, 0, 0, 0, 0);
            ore  = new Ore("Fiery Kernite", 1.2, 400, mOut);
            DictOre.Add(ore.Name, ore);

            //Jaspet
            mOut = new MineralsOut(259, 437, 518, 0, 259, 8, 0, 0);
            ore  = new Ore("Jaspet", 2.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(272, 459, 544, 0, 272, 8, 0, 0);
            ore  = new Ore("Pure Jaspet", 2.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(285, 481, 570, 0, 285, 9, 0, 0);
            ore  = new Ore("Pristine Jaspet", 2.0, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Hemorphite
            mOut = new MineralsOut(650, 260, 60, 212, 424, 28, 0, 0);
            ore  = new Ore("Hemorphite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(683, 273, 63, 223, 445, 29, 0, 0);
            ore  = new Ore("Vivid Hemorphite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(715, 286, 66, 233, 466, 31, 0, 0);
            ore  = new Ore("Radiant Hemorphite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Hedbergite
            mOut = new MineralsOut(0, 290, 0, 708, 354, 32, 0, 0);
            ore  = new Ore("Hedbergite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 305, 0, 743, 372, 34, 0, 0);
            ore  = new Ore("Vitric Hedbergite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 319, 0, 779, 389, 35, 0, 0);
            ore  = new Ore("Glazed Hedbergite", 3.0, 500, mOut);
            DictOre.Add(ore.Name, ore);

            //Gneiss
            mOut = new MineralsOut(3700, 0, 3700, 700, 0, 171, 0, 0);
            ore  = new Ore("Gneiss", 5.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(3885, 0, 3885, 735, 0, 180, 0, 0);
            ore  = new Ore("Iridescent Gneiss", 5.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(4070, 0, 4070, 770, 0, 188, 0, 0);
            ore  = new Ore("Prismatic Gneiss", 5.0, 400, mOut);
            DictOre.Add(ore.Name, ore);

            //Dark Ochre
            mOut = new MineralsOut(25500, 0, 0, 0, 500, 250, 0, 0);
            ore  = new Ore("Dark Ochre", 8.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(26775, 0, 0, 0, 525, 263, 0, 0);
            ore  = new Ore("Onyx Ochre", 8.0, 400, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(28050, 0, 0, 0, 550, 275, 0, 0);
            ore  = new Ore("Obsidian Ochre", 8.0, 400, mOut);
            DictOre.Add(ore.Name, ore);

            //Spodumain
            mOut = new MineralsOut(71000, 9000, 0, 0, 0, 0, 140, 0);
            ore  = new Ore("Spodumain", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(74550, 9450, 0, 0, 0, 0, 147, 0);
            ore  = new Ore("Bright Spodumain", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(78100, 9900, 0, 0, 0, 0, 154, 0);
            ore  = new Ore("Gleaming Spodumain", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);

            //Crokite
            mOut = new MineralsOut(38000, 0, 0, 0, 331, 663, 0, 0);
            ore  = new Ore("Crokite", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(39900, 0, 0, 0, 348, 696, 0, 0);
            ore  = new Ore("Sharp Crokite", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(41800, 0, 0, 0, 364, 729, 0, 0);
            ore  = new Ore("Crystalline Crokite", 16.0, 250, mOut);
            DictOre.Add(ore.Name, ore);

            //Bistot
            mOut = new MineralsOut(0, 12000, 0, 0, 0, 341, 170, 0);
            ore  = new Ore("Bistot", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 12600, 0, 0, 0, 358, 179, 0);
            ore  = new Ore("Triclinic Bistot", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 13200, 0, 0, 0, 375, 187, 0);
            ore  = new Ore("Monoclinic Bistot", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);

            //Arkonor
            mOut = new MineralsOut(10000, 0, 0, 0, 0, 166, 333, 0);
            ore  = new Ore("Arkonor", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(10500, 0, 0, 0, 0, 174, 350, 0);
            ore  = new Ore("Crimson Arkonor", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(11000, 0, 0, 0, 0, 183, 366, 0);
            ore  = new Ore("Prime Arkonor", 16.0, 200, mOut);
            DictOre.Add(ore.Name, ore);

            //Mercoxit
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 530);
            ore  = new Ore("Mercoxit", 40.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 557);
            ore  = new Ore("Magma Mercoxit", 40.0, 250, mOut);
            DictOre.Add(ore.Name, ore);
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 583);
            ore  = new Ore("Vitreous Mercoxit", 40.0, 250, mOut);
            DictOre.Add(ore.Name, ore);


            //ICE
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 0);
            ore  = new Ore("Ice", 1000.0, 1, mOut);
            DictOre.Add(ore.Name, ore);
            //GAS
            mOut = new MineralsOut(0, 0, 0, 0, 0, 0, 0, 0);
            ore  = new Ore("Gas", 10.0, 1, mOut);
            DictOre.Add(ore.Name, ore);
        }
Esempio n. 5
0
 ///<summary>
 /// 
 ///</summary>
 ///<param name="name"></param>
 ///<param name="volume"></param>
 ///<param name="unitsToRefine"></param>
 ///<param name="mineralsOut"></param>
 public Ore(string name, double volume, int unitsToRefine, MineralsOut mineralsOut)
 {
     Name = name;
     Volume = volume;
     this.unitsToRefine = unitsToRefine;
     MineralsOut = mineralsOut;
 }