mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-11 03:11:14 +03:00
* 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>
19 lines
510 B
C#
19 lines
510 B
C#
namespace Content.Shared.Botany.Traits.Components;
|
|
|
|
/// <summary>
|
|
/// Base class for plant trait components.
|
|
/// </summary>
|
|
public abstract partial class PlantTraitsComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Localization key describing the plant trait state.
|
|
/// </summary>
|
|
[DataField]
|
|
public virtual LocId? TraitState { get; set; }
|
|
|
|
/// <summary>
|
|
/// Localization key for the name of the trait.
|
|
/// </summary>
|
|
[DataField]
|
|
public virtual LocId? TraitName { get; set; }
|
|
}
|