<?php

require_once __DIR__ . '/../../src/Database/Database.php';

class Injury
{
    private static $cureMap = [
        'wound' => 'basic_medicine',
        '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;
    }
}
