epic merge fail
This commit is contained in:
parent
d0d52e88fb
commit
562a15efb3
|
|
@ -0,0 +1,20 @@
|
|||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared._DV.Movement;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class CursorOffsetActionComponent : Component
|
||||
{
|
||||
[DataField("cursorOffsetActionId",
|
||||
customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>),
|
||||
required: true)]
|
||||
public string? CursorOffsetActionId;
|
||||
|
||||
[DataField("cursorOffsetActionEntity")]
|
||||
public EntityUid? CursorOffsetActionEntity;
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
public bool Active = false;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
using Content.Shared.Actions;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._DV.Movement;
|
||||
|
||||
public sealed partial class CursorOffsetActionEvent : InstantActionEvent;
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
- type: entity
|
||||
parent: BaseAction
|
||||
id: ActionAvaliZoom
|
||||
name: Zoom
|
||||
description: Look further away!
|
||||
components:
|
||||
- type: Action
|
||||
icon: _Impstation/Interface/Emotes/blink.png
|
||||
useDelay: 0.5
|
||||
- type: InstantAction
|
||||
event: !type:CursorOffsetActionEvent
|
||||
Loading…
Reference in New Issue