Skip to content

Commit

Permalink
Mail Handheld Rapid Parcel Delivery System (#974)
Browse files Browse the repository at this point in the history
* Mail RPDS

* removed sizes, more items go in capsules

* fixed error

* capsule resprite, added it to service techfab

* Update after upstream merge

* glass

* Update frontier.yml

* tag fix

---------

Co-authored-by: Dvir <[email protected]>
  • Loading branch information
ErhardSteinhauer and dvir001 authored Feb 10, 2024
1 parent deda6cd commit 975b8dd
Show file tree
Hide file tree
Showing 22 changed files with 370 additions and 133 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Nyanotrasen/Mail/MailSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ public void SpawnMail(EntityUid uid, MailTeleporterComponent? component = null)
var mail = EntityManager.SpawnEntity(chosenParcel, Transform(uid).Coordinates);
SetupMail(mail, component, candidate);

_tagSystem.AddTag(mail, "Mail"); // Frontier
_tagSystem.AddTag(mail, "Recyclable"); // Frontier - Make it so mail can be destroyed by reclaimer
}

Expand Down Expand Up @@ -725,7 +726,6 @@ public void OpenMail(EntityUid uid, MailComponent? component = null, EntityUid?

_tagSystem.AddTag(uid, "Trash");
_tagSystem.AddTag(uid, "Recyclable");
_tagSystem.AddTag(uid, "ClothMade"); // Frontier - Make it so moth can eat open mail.
component.IsEnabled = false;
UpdateMailTrashState(uid, true);
}
Expand Down
Loading

0 comments on commit 975b8dd

Please sign in to comment.