Meat kudzu (from anomoly) more killable, telegraphs better (#16107)

This commit is contained in:
Tom Leys
2023-05-06 17:08:50 +12:00
committed by GitHub
parent 7d31c1daf2
commit eef3c6a5c7
14 changed files with 145 additions and 17 deletions

View File

@@ -1,3 +1,5 @@
using Content.Shared.Damage;
namespace Content.Server.Spreader;
/// <summary>
@@ -11,4 +13,26 @@ public sealed class KudzuComponent : Component
/// </summary>
[DataField("spreadChance")]
public float SpreadChance = 1f;
/// <summary>
/// How much damage is required to reduce growth level
/// </summary>
[DataField("growthHealth")]
public float GrowthHealth = 10.0f;
/// <summary>
/// How much damage is required to prevent growth
/// </summary>
[DataField("growthBlock")]
public float GrowthBlock = 20.0f;
/// <summary>
/// How much the kudzu heals each tick
/// </summary>
[DataField("damageRecovery")]
public DamageSpecifier? DamageRecovery = null;
[DataField("growthTickChance")]
public float GrowthTickChance = 1f;
}