private void GeneratePlastic(string id, string name) { Plastics.Add(id, new Plastic() { Id = id, Name = name }); }
private void GenerateMaterial(int id, string name, string manufacturer, string manufacturerId, string type) { Material material = new Material() { Id = id, Name = name, Manufacturer = manufacturer, ManufacturerSpecificId = manufacturerId, Type = Plastics.GetValueOrDefault(type), CustomProps = new List <CustomMaterialPropValue>() }; Materials.Add(material.Id, material); }
public SSComponent() : base(16) { Name = "SS Component"; RequiredTech = new Plastics(); Type = Building.SSComponent; }