Files
wwdpublic/Content.Server/DeltaV/Paper/SignAttemptEvent.cs
Mnemotechnican 476e6ded46 Port Paper Signatures (#456)
# 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>


![image](https://github.com/Simple-Station/Einstein-Engines/assets/69920617/50737402-a60d-425a-8938-f6e47427b22b)

(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>
2024-07-05 13:33:39 -04:00

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);