mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
* Initial commit * Unused access level * Update meta.json * Update SharedBiscuitComponent.cs * Unneeded DataField and VVAccess Editing it in VV does nothing anyways, it wont magically unlock the item slot * Big smart * Add safe sprite Thanks @TadJohnson00 Co-Authored-By: Tad "Taddy" Johnson <120885811+TadJohnson00@users.noreply.github.com> * Prevent faxing slips * Custom background for corperate slip * Localize crack verb * Update paperslips.yml * Update paperslips.yml * Remove default comments * Update paperslips.yml * Pro * Remove default id card * Update Resources/Prototypes/DeltaV/Entities/Objects/Specific/Command/safe.yml Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com> --------- Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com> Co-authored-by: Tad "Taddy" Johnson <120885811+TadJohnson00@users.noreply.github.com> Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
29 lines
818 B
C#
29 lines
818 B
C#
using Content.Shared.Paper;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Server.Paper;
|
|
|
|
[NetworkedComponent, RegisterComponent]
|
|
public sealed partial class PaperComponent : SharedPaperComponent
|
|
{
|
|
public PaperAction Mode;
|
|
[DataField("content")]
|
|
public string Content { get; set; } = "";
|
|
|
|
[DataField("contentSize")]
|
|
public int ContentSize { get; set; } = 6000;
|
|
|
|
[DataField("stampedBy")]
|
|
public List<StampDisplayInfo> StampedBy { get; set; } = new();
|
|
|
|
[DataField("canEdit")]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public bool CanEdit { get; set; } = true; // DeltaV - Used for paper slips
|
|
|
|
/// <summary>
|
|
/// Stamp to be displayed on the paper, state from beauracracy.rsi
|
|
/// </summary>
|
|
[DataField("stampState")]
|
|
public string? StampState { get; set; }
|
|
}
|