mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 05:59:03 +03:00
# Description Ports delta-v paper signatures implemented by me in https://github.com/DeltaV-Station/Delta-v/pull/1172, including the changes later introduced by deltanedas in https://github.com/DeltaV-Station/Delta-v/pull/1345. Everything should be pretty self-explanatory, see the original PR for details. --- <!-- This is default collapsed, readers click to expand it and see all your media The PR media section can get very large at times, so this is a good way to keep it clean The title is written using HTML tags The title must be within the <summary> tags or you won't see it --> <details><summary><h1>Media</h1></summary> <p>  (see the original PR for a video demonstation) </p> </details> --- # Changelog 🆑 - add: You can now sign paper by alt-clicking it while holding a pen. --------- Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com> Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
9 lines
280 B
C#
9 lines
280 B
C#
namespace Content.Server.DeltaV.Paper;
|
|
|
|
/// <summary>
|
|
/// Raised on the pen when trying to sign a paper.
|
|
/// If it's cancelled the signature wasn't made.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct SignAttemptEvent(EntityUid Paper, EntityUid User, bool Cancelled = false);
|