Zoom user's eye when piloting a shuttle (#6171)
This commit is contained in:
@@ -2,6 +2,8 @@ using System.Collections.Generic;
|
||||
using Content.Shared.Shuttles;
|
||||
using Content.Shared.Shuttles.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Shuttles.Components
|
||||
@@ -18,5 +20,11 @@ namespace Content.Server.Shuttles.Components
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public bool Enabled { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// How much should the pilot's eye be zoomed by when piloting using this console?
|
||||
/// </summary>
|
||||
[DataField("zoom")]
|
||||
public Vector2 Zoom = new(1.5f, 1.5f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user