mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
# Description Adds a new trait that lets characters play midi without needing an instrument. Singer a 1-point positive trait. For now it's only available for vulps and felinids as they are naturally more vocal than other species. Also refactored harpy singing system a bit. # TODO - [X] Find out whatever causes this. Not critical, but probably should be fixed... <details><p>  </p></details> <details><summary><h1>Media</h1></summary> <p> Outdated   </p> </details> # Changelog 🆑 - add: Added a new positive trait - singer. It allows you to play midi songs without an instrument, similarly to harpies. --------- Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com> Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com> Co-authored-by: VMSolidus <evilexecutive@gmail.com>
14 lines
396 B
C#
14 lines
396 B
C#
using Content.Client.Instruments;
|
|
using Content.Shared.Instruments;
|
|
using Content.Shared.Traits.Assorted.Systems;
|
|
|
|
namespace Content.Client.Traits;
|
|
|
|
public sealed class SingerSystem : SharedSingerSystem
|
|
{
|
|
protected override SharedInstrumentComponent EnsureInstrumentComp(EntityUid uid)
|
|
{
|
|
return EnsureComp<InstrumentComponent>(uid); // I hate this, but it's the only way.
|
|
}
|
|
}
|