The glowing forest anomaly (#24351)

* sans

* Papyrus

* add to game

* tweak stick

* fixes

* Update Resources/Prototypes/Entities/Objects/Misc/kudzu.yml

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* Update Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml

Co-authored-by: Kara <lunarautomaton6@gmail.com>

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
Ed
2024-01-21 04:31:12 +03:00
committed by GitHub
parent 691c3d55b8
commit b3b64e6cf2
36 changed files with 368 additions and 40 deletions

View File

@@ -17,28 +17,33 @@ public sealed partial class KudzuComponent : Component
/// <summary>
/// Chance to spread whenever an edge spread is possible.
/// </summary>
[DataField("spreadChance")]
[DataField]
public float SpreadChance = 1f;
/// <summary>
/// How much damage is required to reduce growth level
/// </summary>
[DataField("growthHealth")]
[DataField]
public float GrowthHealth = 10.0f;
/// <summary>
/// How much damage is required to prevent growth
/// </summary>
[DataField("growthBlock")]
[DataField]
public float GrowthBlock = 20.0f;
/// <summary>
/// How much the kudzu heals each tick
/// </summary>
[DataField("damageRecovery")]
[DataField]
public DamageSpecifier? DamageRecovery = null;
[DataField("growthTickChance")]
[DataField]
public float GrowthTickChance = 1f;
/// <summary>
/// number of sprite variations for kudzu
/// </summary>
[DataField]
public int SpriteVariants = 3;
}