'medicine', 'cut' => 'bandage', 'bruise' => 'bruise-salve', 'fracture' => 'bone-setting', 'infection' => 'healing-herbs', 'poison' => 'antidote', 'burn' => 'burn-salve', 'malnourished' => 'food', // Cured by having enough food 'old-age' => null // Cannot be cured ]; public static function getCureForCategory($category) { return self::$cureMap[$category] ?? null; } public static function getStatRequiredToCure($severity) { if ($severity === null) { return null; } $sev = (int) $severity; if ($sev <= 0) { return 0; } return $severity * 20; } }