Body camera (#585)
* Initial commit * removed jumpsuit slot component, system * sprite fixes * Локализация для телевизора и роутера * Removed separate router and tv for body cameras. Now they're public. Added localizations. * +cargo buying, sprites finale
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace Content.Server.SurveillanceCamera;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class SurveillanceBodyCameraComponent : Component
|
||||
{
|
||||
[DataField("wattage"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float Wattage = 0.3f;
|
||||
|
||||
public bool lastState = false;
|
||||
}
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.SurveillanceCamera;
|
||||
|
||||
[RegisterComponent]
|
||||
[Access(typeof(SurveillanceCameraSystem))]
|
||||
[Access(typeof(SurveillanceCameraSystem), typeof(SurveillanceBodyCameraSystem))]
|
||||
public sealed partial class SurveillanceCameraComponent : Component
|
||||
{
|
||||
// List of active viewers. This is for bookkeeping purposes,
|
||||
|
||||
Reference in New Issue
Block a user