epic merge fail

This commit is contained in:
kotobdev 2025-09-14 23:11:40 -07:00
parent d0d52e88fb
commit 562a15efb3
3 changed files with 37 additions and 0 deletions

View File

@ -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;
}

View File

@ -0,0 +1,6 @@
using Content.Shared.Actions;
using Robust.Shared.Serialization;
namespace Content.Shared._DV.Movement;
public sealed partial class CursorOffsetActionEvent : InstantActionEvent;

View File

@ -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