* Move entity effects to shared * relocate spawning to server * Generic version of EntityEffect for just raising event. * genericise everything * oops forgot to push you * some condensation * finish rebas * unwhite the space * oops forgot nuke * bad rebase fix * useless annotations begone --------- Co-authored-by: EmoGarbage404 <retron404@gmail.com>
40 lines
1016 B
C#
40 lines
1016 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Random;
|
|
using System.Linq;
|
|
|
|
namespace Content.Shared.EntityEffects.Effects;
|
|
|
|
/// <summary>
|
|
/// changes the gases that a plant or produce create.
|
|
/// </summary>
|
|
public sealed partial class PlantMutateExudeGasses : EventEntityEffect<PlantMutateExudeGasses>
|
|
{
|
|
[DataField]
|
|
public float MinValue = 0.01f;
|
|
|
|
[DataField]
|
|
public float MaxValue = 0.5f;
|
|
|
|
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
|
|
{
|
|
return "TODO";
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// changes the gases that a plant or produce consumes.
|
|
/// </summary>
|
|
public sealed partial class PlantMutateConsumeGasses : EventEntityEffect<PlantMutateConsumeGasses>
|
|
{
|
|
[DataField]
|
|
public float MinValue = 0.01f;
|
|
|
|
[DataField]
|
|
public float MaxValue = 0.5f;
|
|
|
|
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
|
|
{
|
|
return "TODO";
|
|
}
|
|
}
|