mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-18 22:51:11 +03:00
* Refactor accents a little * Fix Linter * Make T happy * Aaaand fix linter * Add RelayAccentsComponent * Update into RelayAccentSystem * Fix unnecessary override and slurred * Fix some spacing and formatting * Update a comment * Review changes * cleaning * partial * aoao * destruction --------- Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com>
16 lines
461 B
C#
16 lines
461 B
C#
using Content.Shared.Speech.Components;
|
|
|
|
namespace Content.Server.Speech.Components;
|
|
|
|
/// <summary>
|
|
/// Rattle me bones!
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class SkeletonAccentComponent : BaseAccentComponent
|
|
{
|
|
/// <summary>
|
|
/// Chance that the message will be appended with "ACK ACK!"
|
|
/// </summary>
|
|
[DataField("ackChance")]
|
|
public float ackChance = 0.3f; // Funnier if it doesn't happen every single time
|
|
}
|