Skip to content

Commit

Permalink
Default mail isLarge to false, comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
whatston3 committed Jun 6, 2024
1 parent 77482c3 commit 5aad04b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Content.Server/Nyanotrasen/Mail/Components/MailComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,16 @@ public sealed partial class MailComponent : SharedMailComponent
[DataField("isPriority")]
public bool IsPriority = false;

// Frontier: large mail
/// <summary>
/// Whether this parcel is large.
/// </summary>
/// <remarks>
/// Ideally, this would be set automatically from the entity type.
/// </remarks>
[DataField("isLarge")]
public bool IsLarge = true;
public bool IsLarge = false;
// End Frontier: large mail

/// <summary>
/// What will be packaged when the mail is spawned.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public sealed partial class MailTeleporterComponent : Component
/// What's the bonus for delivering a large package intact?
/// </summary>
[DataField("largeBonus")]
public int LargeBonus = 5000; // Frontier 500<5000
public int LargeBonus = 5000;

/// <summary>
/// What's the malus for failing to deliver a large package?
Expand Down

0 comments on commit 5aad04b

Please sign in to comment.