Files
wwdpublic/Content.Shared/Psionics/MindbrokenSystem.cs
VMSolidus 2dc280c0d1 Give Traits A Haircut (#2292)
# Description

Done on stream with @OldDanceJacket and with a livestream of >30 people.
This PR massively trims down the most problematic aspects of Psionics
related to traits, blatantly by just outright removing the option for
buying roundstart powers. Station's were basically space hogwarts, which
caused problems. Also at ODJ's insistence, we dialed back a LOT of the
"Negative trait proliferation", in order to reduce the crew power
scaling issues.

Also some small psionic related bugfixing.

# TODO

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

These are all 6 of the remaining "Psionics" traits.

![image](https://github.com/user-attachments/assets/b044ac7d-cab3-4855-aab2-cc48882aa0a3)

</p>
</details>

# Changelog

🆑
- tweak: Significantly reduced the amount of points given by most
negative traits.
- fix: Fixed the Psionic Mantis not being able to roll powers.
- remove: Removed all trait menu options for buying roundstart psionic
powers. I'm sorry about this, but it broke a LOT of things, and wasn't a
good idea at all in the first place. There's no longer the Elementalist
psicaster type, since there's also no power shop.

---------

Signed-off-by: Timfa <timfalken@hotmail.com>
Co-authored-by: Timfa <timfalken@hotmail.com>

(cherry picked from commit e50ef59b4a2bb2b38a36b22736b4b42c2735975b)
2025-05-03 01:11:57 +03:00

21 lines
573 B
C#

using Content.Shared.Examine;
namespace Content.Shared.Abilities.Psionics;
public sealed class MindbrokenSystem : EntitySystem
{
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<MindbrokenComponent, ExaminedEvent>(OnExamined);
}
private void OnExamined(EntityUid uid, MindbrokenComponent component, ExaminedEvent args)
{
if (!args.IsInDetailsRange)
return;
args.PushMarkup($"[color=#f89b14]{Loc.GetString(component.MindbrokenExaminationText, ("entity", uid))}[/color]");
}
}