* wip * heal on bite * more fixes and additions * don't crash * Update medicine.yml * zombie claw item and damage resist * ignoredcomponents.cs * Add zombie claw, fix infection, add immunities * fix * razzle dazzle * yaml fix * Update Content.Server/Disease/DiseaseZombieSystem.cs Co-authored-by: Moony <moonheart08@users.noreply.github.com> * Update Content.Server/Disease/DiseaseZombieSystem.cs Co-authored-by: Moony <moonheart08@users.noreply.github.com> * Update Content.Server/Disease/DiseaseZombieSystem.cs Co-authored-by: Moony <moonheart08@users.noreply.github.com> * Update Content.Server/Disease/DiseaseZombieSystem.cs Co-authored-by: Moony <moonheart08@users.noreply.github.com> * sdasadsadsadasd * Generalize DiseaseProgression.cs * final final final final final final cope seethe * Update medicine.yml * Update Content.Server/Disease/Components/DiseaseZombieComponent.cs Co-authored-by: mirrorcult <lunarautomaton6@gmail.com> * Update BloodstreamSystem.cs * Update Content.Server/Disease/Components/DiseaseZombieComponent.cs Co-authored-by: mirrorcult <lunarautomaton6@gmail.com> * Update Content.Server/Disease/DiseaseZombieSystem.cs Co-authored-by: mirrorcult <lunarautomaton6@gmail.com> * fixing until i die * folder + zombietransfer fix * smol fixe * the smallest of fixes * aaaa * Infection timer buff Co-authored-by: Moony <moonheart08@users.noreply.github.com> Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
20 lines
636 B
C#
20 lines
636 B
C#
namespace Content.Server.Disease.Components
|
|
{
|
|
/// <summary>
|
|
/// The component which records the buildup/progression of an infection
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class DiseaseBuildupComponent : Component
|
|
{
|
|
/// This could be served to be generalized to allow for multiple
|
|
/// diseases to build up at once, but it doesn't matter too much.
|
|
|
|
/// <summary>
|
|
/// The current amount of progression that has built up.
|
|
/// </summary>
|
|
[DataField("progression")]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float Progression = 0.00f;
|
|
}
|
|
}
|