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

Commit

Permalink
Merge pull request #331 from Corvax-Frontier/Up200624
Browse files Browse the repository at this point in the history
Up200624
  • Loading branch information
Vonsant authored Jun 20, 2024
2 parents 40f49d8 + ae150bb commit 70ad4d6
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 60 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; }
}
14 changes: 14 additions & 0 deletions Resources/Changelog/Changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5135,3 +5135,17 @@ 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'
- author: erhardsteinhauer
changes:
- type: Tweak
message: IFF strobes now come with more powerful LEDs.
id: 5048
time: '2024-06-19T18:45:27.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 @@ -309,16 +309,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 @@ -136,7 +136,7 @@

- type: entity
noSpawn: true
parent: [ClothingBackpackMessenger, ClothingBackpackSrFilled]
parent: [ClothingBackpackMessengerSr, ClothingBackpackSrFilled]
id: ClothingBackpackMessengerSrFilled

- type: entity
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 Down Expand Up @@ -130,12 +128,10 @@
prototypes:
- WeaponCaseWeaponSubMachineGunVector45Expedition #CorvaxFrontier
- WeaponCaseWeaponSubMachineGunVector22Expedition #CorvaxFrontier
- WeaponCaseShort
- WeaponCaseLong
- SpawnDungeonLootGunT2
- SpawnDungeonLootGunT2
- SpawnDungeonLootMeleeT2
chance: 0.8
chance: 0.7
offset: 0.0
rarePrototypes:
- WeaponCaseShort
Expand Down Expand Up @@ -164,7 +160,7 @@
prototypes:
- SpawnDungeonLootMeleeT1
- SpawnDungeonLootMeleeT2
chance: 0.95
chance: 0.9
offset: 0.0
rarePrototypes:
- SpawnDungeonLootMeleeT3
Expand All @@ -187,12 +183,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
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
- type: entity
parent: [ AirlockEngineering, AirlockFrontierCommandLocked]
id: AirlockFrontierCommandEngineeringLocked
suffix: Frontier Command, Locked
components:
- type: ContainerFill
containers:
Expand Down Expand Up @@ -209,6 +210,7 @@
- type: entity
parent: [ AirlockEngineeringGlass, AirlockFrontierCommandGlassLocked]
id: AirlockFrontierCommandEngineeringGlassLocked
suffix: Frontier Command, Locked
components:
- type: ContainerFill
containers:
Expand All @@ -217,6 +219,7 @@
- type: entity
parent: [ AirlockAtmosphericsGlass, AirlockFrontierCommandGlassLocked]
id: AirlockFrontierCommandAtmosphericsGlassLocked
suffix: Frontier Command, Locked
components:
- type: ContainerFill
containers:
Expand Down
8 changes: 4 additions & 4 deletions Resources/Prototypes/_NF/Loadouts/Jobs/StationRep/bags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
back: ClothingBackpackSatchelSrFilled

- type: loadout
id: StationRepClothingBackpackMessengerSr
equipment: StationRepClothingBackpackMessengerSr
id: StationRepClothingBackpackMessengerSrFilled
equipment: StationRepClothingBackpackMessengerSrFilled
price: 0

- type: startingGear
id: StationRepClothingBackpackMessengerSr
id: StationRepClothingBackpackMessengerSrFilled
equipment:
back: ClothingBackpackMessengerSr
back: ClothingBackpackMessengerSrFilled

- type: loadout
id: StationRepClothingBackpackIanFilled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- StationRepClothingBackpackSrFilled
- StationRepClothingBackpackDuffelSrFilled
- StationRepClothingBackpackSatchelSrFilled
- StationRepClothingBackpackMessengerSr
- StationRepClothingBackpackMessengerSrFilled
- StationRepClothingBackpackIanFilled #We put the ian bag here so its not default, we also let SR pick a bag out of drip concerns.

- type: loadoutGroup
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 70ad4d6

Please sign in to comment.