Change plant clipping mechanics (#25326)
Make seeds from clipped plants inherit the decreased health from parents. Also require one growth stage before clipping.
This commit is contained in:
@@ -15,6 +15,12 @@ namespace Content.Server.Botany.Components
|
||||
[DataField("seed")]
|
||||
public SeedData? Seed;
|
||||
|
||||
/// <summary>
|
||||
/// If not null, overrides the plant's initial health. Otherwise, the plant's initial health is set to the Endurance value.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public float? HealthOverride = null;
|
||||
|
||||
/// <summary>
|
||||
/// Name of a base seed prototype that is used if <see cref="Seed"/> is null.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user