private static function GetLevelBasedName($level, $adjectivesPath, $filePath, $levelAbove) { $adjective = NameGenerator::GetSingleLine($adjectivesPath, $level, $level + $levelAbove); // Stay in the same vague area of difficulty as the level we're on. $object = NameGenerator::GetSingleLine($filePath, $level, $level + $levelAbove); $output = $adjective . " " . $object; return $output; }