1000, 'clay' => 1000, 'iron' => 800, ]; public array $resourceRequirementsFactor = [ 'wood' => 10.0, 'clay' => 10.0, 'iron' => 8.0, ]; public static function getResourceCapabilities(Village $village): int { $merchants = Village::getUnit($village, 'Merchant', Village::FETCH_UNIT_RESIDENCE, Village::RETURN_UNIT_EXISTING); return Merchant::getResourceCapabilities($village) * $merchants->amount; } }