CatStation/Content.Shared/Botany/Traits/Components/PlantTraitSampledComponent.cs
ahandleman c46f74c355
Various small botany bugfixes and reverts to prior behavior (#45842)
* Various small botany bugfixes and reverts to prior behavior

* oops rainbow cannabis needs it too

* oops, need to keep remove around for stuff like phal and plant-b-gone

* fix comment

* Fixed to make it selectable

* No need for plantPhalaxEntityEffect

* Ok moving removing this to its own PR because actually the guidebook stuff is weird and I wanna get this out the door.

* endless fixes to the botany

* renaming methods

* Refactored to remove PlantPhalanximineEntityEffectSystem because it's just a trait.

* removed the actual file

* renamed to noun/description for clarity

---------

Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com>
2026-09-06 17:46:38 +00:00

15 lines
565 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Botany.Traits.Components;
/// <summary>
/// A plant trait that indicates the plant has already been sampled, preventing it from being sampled again.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class PlantTraitSampledComponent : PlantTraitsComponent
{
/// <inheritdoc/>
public override LocId? TraitState { get; set; } = "mutation-plant-description-sampled";
/// <inheritdoc/>
public override LocId? TraitName { get; set; } = "mutation-plant-noun-sampled";
}