Added pricegun sound (#34119)

added pricegun sound

Co-authored-by: dylanhunter <dylan2.whittingham@live.uwe.ac.uk>
This commit is contained in:
Dylan Hunter Whittingham
2025-01-02 16:46:13 +00:00
committed by GitHub
parent 1a5be80d04
commit 39ee853801
6 changed files with 29 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ public abstract class SharedPriceGunSystem : EntitySystem
{
Act = () =>
{
GetPriceOrBounty(uid, args.Target, args.User);
GetPriceOrBounty((uid, component), args.Target, args.User);
},
Text = Loc.GetString("price-gun-verb-text"),
Message = Loc.GetString("price-gun-verb-message", ("object", Identity.Entity(args.Target, EntityManager)))
@@ -51,5 +51,5 @@ public abstract class SharedPriceGunSystem : EntitySystem
/// This is abstract for prediction. When the bounty system / cargo systems that are necessary are moved to shared,
/// combine all the server, client, and shared stuff into one non abstract file.
/// </remarks>
protected abstract bool GetPriceOrBounty(EntityUid priceGunUid, EntityUid target, EntityUid user);
protected abstract bool GetPriceOrBounty(Entity<PriceGunComponent> entity, EntityUid target, EntityUid user);
}