Files
wwdpublic/Content.Client/Traits/SingerSystem.cs
VMSolidus ef7dc0b986 Lyre Birb Trait (#1747)
# Description

A long time ago someone told me "NO IT'S TOO OP, DON'T GIVE HARPIES A
DAW". So now I'm letting Harpies blow 10 trait points on having a DAW.
You're welcome. Yes I have actually tested this ingame, and it works.

<details><summary><h1>Media</h1></summary>
<p>

![image](https://github.com/user-attachments/assets/562a1241-8140-4627-8065-6c6d4aa17a54)

</p>
</details>

# Changelog

🆑
- add: Added "Lyre Bird" as a new trait exclusively available to
Harpies. It massively expands their ability to play Midis.

(cherry picked from commit cc91eebe70f28834f1cd3c2ce611561030a15648)
2025-02-15 00:18:05 +03:00

19 lines
622 B
C#

using Content.Client.Instruments;
using Content.Shared.Instruments;
using Content.Shared.Traits.Assorted.Prototypes;
using Content.Shared.Traits.Assorted.Systems;
namespace Content.Client.Traits;
public sealed class SingerSystem : SharedSingerSystem
{
protected override SharedInstrumentComponent EnsureInstrumentComp(EntityUid uid, SingerInstrumentPrototype singer)
{
var instrumentComp = EnsureComp<InstrumentComponent>(uid);
instrumentComp.AllowPercussion = singer.AllowPercussion;
instrumentComp.AllowProgramChange = singer.AllowProgramChange;
return instrumentComp;
}
}