Pressure & volume pumps can be toggled on/off now. (#3046)

This tidbit might or might not be suitable for a separate component.
Tell me in PR comments I guess.
This commit is contained in:
20kdc
2021-02-04 09:47:04 +00:00
committed by GitHub
parent 29918b2810
commit b9aa789bc4
3 changed files with 11 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
#nullable enable
using System;
using Content.Server.Atmos;
using Content.Shared.Interfaces.GameObjects.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
@@ -9,6 +10,7 @@ namespace Content.Server.GameObjects.Components.Atmos.Piping.Pumps
{
[RegisterComponent]
[ComponentReference(typeof(BasePumpComponent))]
[ComponentReference(typeof(IActivate))]
public class VolumePumpComponent : BasePumpComponent
{
[ViewVariables(VVAccess.ReadWrite)]