Common tasks
Check whether the player can buy bandages right now, and buy them if so. This only works while the doctor’s screen is open.
if (Medical.CanTreat(MedicalTreatment.Bandages))
Log.Info("Bought: " + Medical.Treat(MedicalTreatment.Bandages));
Show which treatments the doctor offers right now.
foreach (MedicalTreatmentInfo treatment in Medical.Treatments())
if (treatment.Available)
Log.Info(treatment.Kind + " costs " + treatment.Price + " " + treatment.Currency);