Skip to content

Commit

Permalink
Fix oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
TsjipTsjip committed Jun 18, 2024
1 parent bb56b39 commit 30fba16
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
4 changes: 0 additions & 4 deletions Content.Server/Paper/PaperSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ private void OnInteractUsing(EntityUid uid, PaperComponent paperComp, InteractUs
if (TryComp<StampComponent>(args.Used, out var stampComp) &&
TryStamp(uid, GetStampInfo(stampComp), stampComp.StampState, paperComp))
{
if (stampComp.StampedPersonal) // Frontier
stampComp.StampedName =
Loc.GetString("stamp-component-signee-name", ("user", args.User)); // Frontier

// successfully stamped, play popup
var stampPaperOtherMessage = Loc.GetString("paper-component-action-stamp-paper-other",
("user", args.User), ("target", args.Target), ("stamp", args.Used));
Expand Down
15 changes: 0 additions & 15 deletions Content.Shared/Paper/StampComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,4 @@ public sealed partial class StampComponent : Component
[DataField("sound")]
public SoundSpecifier? Sound = null;

/// <summary>
/// Frontier - The stamp using the person name on it
/// </summary>
[DataField("stampedPersonal")]
public bool StampedPersonal = false;

[DataField("stampedBorderless")]
public bool StampedBorderless = false;

[ViewVariables]
public EntityUid? StampedIdUser = null;

[ViewVariables(VVAccess.ReadWrite)]
[DataField("nameSetUser")]
public bool NameSetUser { get; set; }
}
10 changes: 0 additions & 10 deletions Resources/Prototypes/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,6 @@
- type: PhysicalComposition
materialComposition:
Steel: 25
- type: Stamp
stampedColor: "#000001"
stampState: "paper_stamp-generic"
stampedPersonal: true
stampedBorderless: true
sound:
path: /Audio/_NF/Items/Pen/pen_sign.ogg
params:
volume: -2
maxDistance: 5

- type: entity
parent: Pen
Expand Down

0 comments on commit 30fba16

Please sign in to comment.