Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
30 lines
940 B
C#
30 lines
940 B
C#
using JetBrains.Annotations;
|
|
|
|
namespace Content.Shared.Disease
|
|
{
|
|
[ImplicitDataDefinitionForInheritors]
|
|
[MeansImplicitUse]
|
|
public abstract class DiseaseCure
|
|
{
|
|
/// <summary>
|
|
/// This returns true if the disease should be cured
|
|
/// and false otherwise
|
|
/// </summary>
|
|
public abstract bool Cure(DiseaseEffectArgs args);
|
|
/// <summary>
|
|
/// What stages the cure applies to.
|
|
/// probably should be all, but go wild
|
|
/// </summary>
|
|
[DataField("stages")]
|
|
public readonly int[] Stages = { 0 };
|
|
/// <summary>
|
|
/// This is used by the disease diangoser machine
|
|
/// to generate reports to tell people all of a disease's
|
|
/// special cures using in-game methods.
|
|
/// So it should return a localization string describing
|
|
/// the cure
|
|
/// </summary>
|
|
public abstract string CureText();
|
|
}
|
|
}
|