// Player sells goods to the market. public bool PlayerSells(Good item) { if (item.MinTechToUse <= planetTech) { player.Ship.Cargo.Remove(item); Supply.Add(item); player.Money += purchasePrices[item]; return(true); } else { return(false); } }
public void PutToWarehouse(Product productToPut, int number) => Supply.Add(new BoxedProduct(productToPut, number));
public void AddSupply(Product product) => Supply.Add(product);