public static CropSeed CreateWheat() { CropSeed wheat = new CropSeed(); wheat.Name = "Wheat"; wheat.id = 2; wheat.ItemValue = 75; wheat.CurrentStackSize = 1; wheat.Description = "Used to make cereal, bread, and flour."; wheat.TimeNeededToMature = Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 3); wheat.StageLengths.Add(Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 1)); wheat.StageLengths.Add(Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 1)); wheat.StageLengths.Add(Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 1)); return(wheat); }
public static CropSeed CreateCorn() { CropSeed corn = new CropSeed(); corn.Name = "Corn"; corn.id = 1; corn.ItemValue = 100; corn.CurrentStackSize = 1; corn.Description = "Corn used for just about everything."; corn.TimeNeededToMature = Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 4); corn.StageLengths.Add(Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 1)); corn.StageLengths.Add(Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 1)); corn.StageLengths.Add(Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 1)); corn.StageLengths.Add(Calendar.TimeUnitValueHelper(Calendar.TimeUnit.Day, 1)); corn.Regrows = true; return(corn); }