public override void SpawnSetup(Map map, bool respawningAfterLoad) { base.SpawnSetup(map, respawningAfterLoad); powerComp = GetComp <CompPowerTrader>(); stateDependentPowerComp = GetComp <CompStateDependentPowerUse>(); AllowedAnimalFeedDefs = def.building.fixedStorageSettings.filter.allowedDefs.ToList(); volumePerAnimalFeed = ReplimatUtility.ConvertMassToFeedstockVolume(CurrentAnimalFeedDef.BaseMass); }
public override void SpawnSetup(Map map, bool respawningAfterLoad) { base.SpawnSetup(map, respawningAfterLoad); powerComp = GetComp <CompPowerTrader>(); stateDependentPowerComp = GetComp <CompStateDependentPowerUse>(); }