Skip to main content

apply_medicine

Function apply_medicine 

Source
fn apply_medicine(
    health: &mut Health,
    id: &str,
    edit: MedicineEdit,
    now: &Zoned,
    words: &Translator,
) -> Result<String, String>
Expand description

A medicine made (id empty) or changed in health, as its form gives it: its id, or what is wrong, nothing changed then.