This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -11,8 +11,6 @@ namespace Content.Server.Botany.Components
[RegisterComponent]
public class LogComponent : Component, IInteractUsing
{
public override string Name => "Log";
async Task<bool> IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs)
{
if (!EntitySystem.Get<ActionBlockerSystem>().CanInteract(eventArgs.User))

View File

@@ -47,8 +47,6 @@ namespace Content.Server.Botany.Components
[Dependency] private readonly IGameTiming _gameTiming = default!;
[Dependency] private readonly IEntityManager _entMan = default!;
public override string Name => "PlantHolder";
[ViewVariables] private int _lastProduce;
[ViewVariables(VVAccess.ReadWrite)] private int _missingGas;

View File

@@ -16,7 +16,6 @@ namespace Content.Server.Botany.Components
[RegisterComponent]
public class ProduceComponent : Component, ISerializationHooks
{
public override string Name => "Produce";
[DataField("targetSolution")] public string SolutionName { get; set; } = "food";
[DataField("seed")] private string? _seedName;

View File

@@ -14,8 +14,6 @@ namespace Content.Server.Botany.Components
public class SeedComponent : Component, IExamine
#pragma warning restore 618
{
public override string Name => "Seed";
[DataField("seed")]
private string? _seedName;

View File

@@ -15,8 +15,6 @@ namespace Content.Server.Botany.Components
[Dependency] private readonly IEntityManager _entMan = default!;
[Dependency] private readonly IRobustRandom _random = default!;
public override string Name => "SeedExtractor";
// TODO: Upgradeable machines.
private int _minSeeds = 1;
private int _maxSeeds = 4;