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); }
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); }
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); }
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); }
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); }
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>(); }
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>(); }
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)); }
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>(); }
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); }
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); }
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(); }); } }
/// <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(); }
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); }
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); }
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); }
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); }
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); }
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>(); }
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>(); }
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>(); }
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); }
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); }
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); }
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>(); }
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); }