200, 'clay' => 200, 'iron' => 200, 'food' => 200, ]; public array $resourceRequirementsFactor = [ 'wood' => 2.0, 'clay' => 2.0, 'iron' => 2.0, 'food' => 2.0, ]; public static function getResourceCapabilities(Village|int $village): int { $postOffice = Village::getBuilding($village->id ?? $village, 'PostOffice'); return $postOffice->level * 100; } }