100, 'clay' => 100, 'iron' => 100, ]; public array $resourceRequirementsFactor = [ 'wood' => 1.0, 'clay' => 1.0, 'iron' => 1.0, ]; public string $resourceType = 'food'; public function getResourceIncrementor(): int { $populationDemand = Village::getPopulationDemand($this->villageId); return parent::getResourceIncrementor() - $populationDemand; } }