示例#1
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectCookingTable>();

            duration = CraftingDuration.VeryShort;

            inputItems.Add <ItemCactusFlesh>(count: 5);

            outputItems.Add <ItemCactusDrink>(count: 1);
        }
示例#2
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan craftDuration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectCookingTable>();

            craftDuration = CraftingDuration.VeryShort;

            inputItems.Add <ItemCorn>(count: 3);

            outputItems.Add <ItemCornFlour>(count: 1);
        }
示例#3
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectFarmingWorkbench>();

            duration = CraftingDuration.Medium;

            inputItems.Add <ItemPlastic>(count: 10);

            outputItems.Add <ItemWateringCanPlastic>(count: 1);
        }
示例#4
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectStove>();

            duration = CraftingDuration.Medium;

            inputItems.Add <ItemCorn>(count: 1);

            outputItems.Add <ItemCornOnCob>(count: 1);
        }
示例#5
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectChemicalLab>();

            duration = CraftingDuration.Short;

            inputItems.Add <ItemComponentsIndustrialChemicals>(count: 5);

            outputItems.Add <ItemSolvent>(count: 25);
        }
示例#6
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectWorkbench>();

            duration = CraftingDuration.Medium;

            inputItems.Add <ItemIngotIron>(count: 20);

            outputItems.Add <ItemCrowbar>();
        }
示例#7
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectDryingCabinet>();

            duration = CraftingDuration.VeryLong;

            inputItems.Add <ItemTobaccoDried>();

            outputItems.Add <ItemTobaccoAged>();
        }
示例#8
0
        private Task MakeMoveFromLastBase(FlightModel flight, int?stationId)
        {
            StationModel flightOldStation = StationsList.FirstOrDefault(s =>
            {
                {
                    return(s.Flight != null && s.Flight.ID == flight.ID);
                }
            });
            FlightModel flightToMove = flightOldStation.Flight;
            Image       plainToFly   = GetPlainImage(flightOldStation);

            RemoveFlightFromStation(flightToMove, flightOldStation);
            return(MoveOutFromStations(plainToFly, flightOldStation));
        }
示例#9
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectWorkbench>();

            duration = CraftingDuration.VeryShort;

            inputItems.Add <ItemGlassRaw>(count: 10);

            outputItems.Add <ItemBottleEmpty>();
        }
示例#10
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectStove>();

            duration = CraftingDuration.Short;

            inputItems.Add <ItemCoffeeBerries>(count: 10);

            outputItems.Add <ItemCoffeeBeans>(count: 10);
        }
示例#11
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectWorkbench>();

            duration = CraftingDuration.Second;

            inputItems.Add <ItemLeaf>(count: 1);

            outputItems.Add <ItemFibers>(count: 3);
        }
示例#12
0
 private void MusicPlayProcess_Exited(object sender, EventArgs e)
 {
     _consoleOutput = "Stopped";
     _playerState   = PlayerState.Stopped;
     if (!_closing)
     {
         Invoke((MethodInvoker) delegate
         {
             StatusLabel.Text = _consoleOutput;
             this.Text        = "TRadioPlayer";
             StationsList.Refresh();
         });
     }
 }
示例#13
0
        /// <summary>
        /// displays radio stations according to the selected category
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CategoryList_SelectedIndexChanged(object sender, EventArgs e)
        {
            LoadStations();
            int lastPlayedIndex = _radioCategories[CategoryList.SelectedIndex].LastPlayedStationIndex;

            if (lastPlayedIndex > -1 && lastPlayedIndex < _radioInfos.Count)
            {
                StationsList.Items[lastPlayedIndex].EnsureVisible();
                StationsList.Items[lastPlayedIndex].Selected = true;
                _currentRadioIndex = lastPlayedIndex;
            }
            StationsList.Refresh();
            StationsList.Update();
        }
示例#14
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectFurnace>();

            duration = CraftingDuration.Short;

            inputItems.Add <ItemClay>(count: 5);

            outputItems.Add <ItemBricks>(count: 5);
        }
示例#15
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectWorkbench>();

            duration = CraftingDuration.VeryShort;

            inputItems.Add <ItemTobaccoAged>(count: 5);

            outputItems.Add <ItemCigarPremium>(count: 1);
        }
示例#16
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan craftDuration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectCookingTable>();

            craftDuration = CraftingDuration.Medium;

            inputItems.Add <ItemMilk>(count: 2);

            outputItems.Add <ItemCheese>(count: 1);
        }
示例#17
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectMedicalLab>();

            duration = CraftingDuration.VeryShort;

            inputItems.Add <ItemComponentsPharmaceutical>(count: 5);

            outputItems.Add <ItemHemostatic>(count: 1);
        }
示例#18
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectMedicalLab>();

            duration = CraftingDuration.VeryShort;

            inputItems.Add <ItemHerbRed>(count: 2);

            outputItems.Add <ItemPainkiller>(count: 1);
        }
示例#19
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectFurnace>();

            duration = CraftingDuration.Medium;

            inputItems.Add <ItemOreIron>(count: 5);

            outputItems.Add <ItemIngotIron>();
        }
示例#20
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectCampfire>();

            duration = CraftingDuration.Short;

            inputItems.Add <ItemYucca>(count: 1);

            outputItems.Add <ItemYuccaCharred>();
        }
示例#21
0
        protected override void SetupRecipe(
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems,
            StationsList optionalStations)
        {
            optionalStations.Add <ObjectWorkbench>();

            duration = CraftingDuration.Second;

            inputItems.Add <ItemFibers>(count: 10);

            outputItems.Add <ItemRope>(count: 1);
        }
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectCampfire>();

            duration = CraftingDuration.Medium;

            inputItems.Add <ItemMushroomPennyBun>(count: 1);

            outputItems.Add <ItemRoastedMushrooms>();
        }
示例#23
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan craftDuration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectCookingTable>();

            craftDuration = CraftingDuration.VeryShort;

            inputItems.Add <ItemInsectMeatRaw>(count: 4);

            outputItems.Add <ItemFishingBaitInsect>(count: 10);
        }
示例#24
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectMedicalLab>();

            duration = CraftingDuration.VeryShort;

            inputItems.Add <ItemCharcoal>(count: 10);

            outputItems.Add <ItemAntiNausea>(count: 1);
        }
示例#25
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectWorkbench>();

            duration = CraftingDuration.Medium;

            inputItems.Add <ItemIngotCopper>(count: 15);

            outputItems.Add <ItemWateringCanCopper>(count: 1);
        }
示例#26
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectMedicalLab>();

            duration = CraftingDuration.VeryShort;

            inputItems.Add <ItemThread>(count: 10);
            inputItems.Add <ItemCement>(count: 1);

            outputItems.Add <ItemPlasterCast>(count: 1);
        }
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectGeneratorSteam>();

            duration = CraftingDuration.Instant;

            this.inputItem = GetProtoEntity <ItemBottleWater>();
            inputItems.Add(this.inputItem);

            outputItems.Add <ItemBottleEmpty>();
        }
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.AddAll <ProtoObjectOilCrackingPlant>();

            duration = CraftingDuration.Instant;

            this.inputItem = GetProtoEntity <ItemCanisterMineralOil>();
            inputItems.Add(this.inputItem);

            outputItems.Add <ItemCanisterEmpty>();
        }
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectStove>();

            duration = CraftingDuration.Medium;

            inputItems.Add <ItemBerriesOrange>(count: 3);
            inputItems.Add <ItemSugar>(count: 3);

            outputItems.Add <ItemJamBerries>();
        }
示例#30
0
        protected override void SetupRecipe(
            StationsList stations,
            out TimeSpan duration,
            InputItems inputItems,
            OutputItems outputItems)
        {
            stations.Add <ObjectWorkbench>();

            duration = CraftingDuration.Short;

            inputItems.Add <ItemIngotIron>(count: 1);
            inputItems.Add <ItemPlastic>(count: 1);

            outputItems.Add <ItemCanEmpty>(count: 10);
        }