[Admin] Omni Accent Smite (#34824)

gods forgive me
This commit is contained in:
ScarKy0
2025-02-02 21:00:27 +01:00
committed by GitHub
parent 75e469738c
commit 8d1a300b57
2 changed files with 33 additions and 0 deletions

View File

@@ -892,5 +892,36 @@ public sealed partial class AdminVerbSystem
Message = string.Join(": ", superslipName, Loc.GetString("admin-smite-super-slip-description")) Message = string.Join(": ", superslipName, Loc.GetString("admin-smite-super-slip-description"))
}; };
args.Verbs.Add(superslip); args.Verbs.Add(superslip);
var omniaccentName = Loc.GetString("admin-smite-omni-accent-name").ToLowerInvariant();
Verb omniaccent = new()
{
Text = omniaccentName,
Category = VerbCategory.Smite,
Icon = new SpriteSpecifier.Rsi(new("Interface/Actions/voice-mask.rsi"), "icon"),
Act = () =>
{
EnsureComp<BarkAccentComponent>(args.Target);
EnsureComp<BleatingAccentComponent>(args.Target);
EnsureComp<FrenchAccentComponent>(args.Target);
EnsureComp<GermanAccentComponent>(args.Target);
EnsureComp<LizardAccentComponent>(args.Target);
EnsureComp<MobsterAccentComponent>(args.Target);
EnsureComp<MothAccentComponent>(args.Target);
EnsureComp<OwOAccentComponent>(args.Target);
EnsureComp<SkeletonAccentComponent>(args.Target);
EnsureComp<SouthernAccentComponent>(args.Target);
EnsureComp<SpanishAccentComponent>(args.Target);
EnsureComp<StutteringAccentComponent>(args.Target);
if (_random.Next(0, 8) == 0)
{
EnsureComp<BackwardsAccentComponent>(args.Target); // was asked to make this at a low chance idk
}
},
Impact = LogImpact.Extreme,
Message = string.Join(": ", omniaccentName, Loc.GetString("admin-smite-omni-accent-description"))
};
args.Verbs.Add(omniaccent);
} }
} }

View File

@@ -56,6 +56,7 @@ admin-smite-vomit-organs-name = Vomit Organs
admin-smite-ghostkick-name = Ghost Kick admin-smite-ghostkick-name = Ghost Kick
admin-smite-nyanify-name = Cat Ears admin-smite-nyanify-name = Cat Ears
admin-smite-kill-sign-name = Kill Sign admin-smite-kill-sign-name = Kill Sign
admin-smite-omni-accent-name = Omni-Accent
## Smite descriptions ## Smite descriptions
@@ -99,6 +100,7 @@ admin-smite-super-bonk-description = Slams them on every single table on the Sta
admin-smite-super-bonk-lite-description= Slams them on every single table on the Station and beyond. Stops when the target is dead. admin-smite-super-bonk-lite-description= Slams them on every single table on the Station and beyond. Stops when the target is dead.
admin-smite-terminate-description = Creates a Terminator ghost role with the sole objective of killing them. admin-smite-terminate-description = Creates a Terminator ghost role with the sole objective of killing them.
admin-smite-super-slip-description = Slips them really, really hard. admin-smite-super-slip-description = Slips them really, really hard.
admin-smite-omni-accent-description = Makes the target speak with almost every accent available.
## Tricks descriptions ## Tricks descriptions