public ProductionBaySlot(RegeneratingBank pool, RegeneratingBank reserve, ResourceBank resources, uint seats) { Pool = pool; Reserve = reserve; Resources = resources; Workers = new CappedList <Citizen>(seats); WorkPairings = new Dictionary <Citizen, Ingredient <Resource> >( ); Lineup = new List <Recipe <Resource, Resource> >( ); }
public ResearchBay(Location loc, uint occLimit, uint researcherLim, List <Knowledge> Supported, uint cargoSize, List <IPowerSource> energySources, uint maxEnergyDraw) : base(loc, occLimit) { SupportedResearches = new List <Knowledge>(Supported); Resources = new ResourceBank(cargoSize); Recovering = new List <Citizen>( ); Researchers = new CappedList <Citizen>(researcherLim); KnowledgeRepo = new List <Knowledge>(); EnergySources = energySources; EnergyMaxDraw = maxEnergyDraw; }
public RoleListBuilder() { RoleSlots = new(15); }
/// <summary> /// Create a new bay. /// </summary> /// <param name="loc">Where the bay is located</param> /// <param name="occLimit">The maximum occupant limit for the bay</param> public Bay(Location loc, uint occLimit) { Location = loc; Occupants = new CappedList <Citizen>(occLimit); }