Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

up #327

Closed
wants to merge 3 commits into from
Closed

up #327

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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; }
}
8 changes: 8 additions & 0 deletions Resources/Changelog/Changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5135,3 +5135,11 @@ Entries:
searchlight.
id: 5046
time: '2024-06-18T01:10:11.0000000+00:00'
- author: TsjipTsjip
changes:
- type: Fix
message: >-
Left clicking a signed/stamped paper won't add a bogus signature onto it
anymore.
id: 5047
time: '2024-06-19T07:40:00.0000000+00:00'
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
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,10 @@
color: red
- type: RandomSpawner
prototypes:
- WeaponCaseShort
- WeaponCaseLong
- SpawnDungeonLootGunT1
- SpawnDungeonLootGunT1
- SpawnDungeonLootMeleeT1
chance: 0.8
chance: 0.5
offset: 0.0
rarePrototypes:
- WeaponCaseShort
Expand All @@ -128,12 +126,10 @@
color: red
- type: RandomSpawner
prototypes:
- WeaponCaseShort
- WeaponCaseLong
- SpawnDungeonLootGunT2
- SpawnDungeonLootGunT2
- SpawnDungeonLootMeleeT2
chance: 0.8
chance: 0.7
offset: 0.0
rarePrototypes:
- WeaponCaseShort
Expand Down Expand Up @@ -162,7 +158,7 @@
prototypes:
- SpawnDungeonLootMeleeT1
- SpawnDungeonLootMeleeT2
chance: 0.95
chance: 0.9
offset: 0.0
rarePrototypes:
- SpawnDungeonLootMeleeT3
Expand All @@ -185,12 +181,10 @@
color: red
- type: RandomSpawner
prototypes:
- WeaponCaseShort
- WeaponCaseLong
- SpawnDungeonLootGunT3
- SpawnDungeonLootGunT3
- SpawnDungeonLootMeleeT3
chance: 0.95
chance: 0.9
offset: 0.0
rarePrototypes:
- WeaponCaseShort
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
- WhiteCane
- CombatKnife
- SurvivalKnife
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootMeleeT2
Expand Down Expand Up @@ -93,7 +93,7 @@
- WeaponCaseLongShotgunDoubleBarreledExpedition
- WeaponCaseShortSawnExpedition
- WeaponCaseLongMosinExpedition
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootGunT2
Expand All @@ -118,7 +118,7 @@
- type: RandomSpawner
prototypes:
- WeaponCaseShortFireBomb
chance: 0.95
chance: 0.3
offset: 0.0
rarePrototypes:
- SpawnDungeonLootExplosivesT2
Expand Down Expand Up @@ -150,7 +150,7 @@
- KukriKnife
- Stunbaton
- ThrowingKnife
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootMeleeT3
Expand Down Expand Up @@ -181,7 +181,7 @@
- WeaponCaseLongKammererExpedition
- WeaponCaseLongEnergyGunExpedition
- WeaponCaseLongRepeaterExpedition
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootGunT3
Expand All @@ -206,7 +206,7 @@
- type: RandomSpawner
prototypes:
- WeaponCaseShortPipeBomb
chance: 0.95
chance: 0.4
offset: 0.0
rarePrototypes:
- SpawnDungeonLootExplosivesT3
Expand Down Expand Up @@ -236,7 +236,7 @@
- Claymore
- Truncheon
- WeaponCaseShortEnergyDaggerExpedition
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootMeleeT4
Expand Down Expand Up @@ -265,7 +265,7 @@
- WeaponCaseLongLecterExpedition
- WeaponCaseLongLaserCarbineExpedition
- WeaponCaseLongHristovExpedition
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootGunT4
Expand All @@ -290,7 +290,7 @@
- type: RandomSpawner
prototypes:
- WeaponCaseShortSeismicCharge
chance: 0.95
chance: 0.5
offset: 0.0
rarePrototypes:
- SpawnDungeonLootExplosivesT4
Expand Down Expand Up @@ -320,7 +320,7 @@
- SecBreachingHammer
- WeaponCaseShortEnergySwordExpedition
- WeaponCaseShortEnergyCutlassExpedition
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootMeleeT5
Expand Down Expand Up @@ -350,7 +350,7 @@
- WeaponCaseLongAkExpedition
- WeaponCaseShortSvalinnExpedition
- WeaponCaseShortAdvancedLaserExpedition
chance: 0.95
chance: 1.0
offset: 0.0
rarePrototypes:
- SpawnDungeonLootGunT5
Expand All @@ -375,7 +375,7 @@
- type: RandomSpawner
prototypes:
- WeaponCaseShortExGrenade
chance: 0.95
chance: 0.4
offset: 0.0
rarePrototypes:
- SpawnDungeonLootExplosivesT5
Expand All @@ -401,7 +401,7 @@
- type: RandomSpawner
prototypes:
- WeaponCaseShortEnergySwordDoubleExpedition
chance: 0.95
chance: 1.0
offset: 0.0

- type: entity
Expand All @@ -427,7 +427,7 @@
- WeaponCaseLongLauncherRocketExpedition
- WeaponCaseLongLauncherChinaLake
- WeaponCaseLongLightMachineGunL6
chance: 0.95
chance: 1.0
offset: 0.0

- type: entity
Expand All @@ -449,5 +449,5 @@
- type: RandomSpawner
prototypes:
- WeaponCaseShortC4
chance: 0.95
chance: 0.3
offset: 0.0
Loading