Files
wwdpublic/Content.Shared/CCVar/CCVars.Customize.cs
sleepyyapril 529420cc05 Player Customization (#1626)
<!--
This is a semi-strict format, you can add/remove sections as needed but
the order/format should be kept the same
Remove these comments before submitting
-->

# Description

<!--
Explain this PR in as much detail as applicable

Some example prompts to consider:
How might this affect the game? The codebase?
What might be some alternatives to this?
How/Who does this benefit/hurt [the game/codebase]?
-->

Adds cosmetic pronouns, visible through examining people (if they have
any) as a PushMarkup.
Adds Station AI/borg name customization.

CCVars:
customize.allow_cosmetic_pronouns (default false)
customize.allow_custom_station_ai_name (default false)
customize.allow_custom_cyborg_name (default false, for borgs, mediborgs,
etc)

---

# Changelog

<!--
You can add an author after the `🆑` to change the name that appears
in the changelog (ex: `🆑 Death`)
Leaving it blank will default to your GitHub display name
This includes all available types for the changelog
-->

🆑
- add: Added cosmetic pronouns. (disabled by default)
- add: Added Station AI name customization through character
customization. (disabled by default)
- add: Added Cyborg name customization through character customization.
(disabled by default)

(cherry picked from commit 07fb6bc9a1a770f969bf44690676128970cb9eb7)
2025-01-23 08:08:54 +03:00

26 lines
970 B
C#

using Robust.Shared.Configuration;
namespace Content.Shared.CCVar;
public sealed partial class CCVars
{
/// <summary>
/// Allow players to add extra pronouns to their examine window.
/// It looks something like "She also goes by they/them pronouns."
/// </summary>
public static readonly CVarDef<bool> AllowCosmeticPronouns =
CVarDef.Create("customize.allow_cosmetic_pronouns", false, CVar.REPLICATED);
/// <summary>
/// Allow players to set their own Station AI names.
/// </summary>
public static readonly CVarDef<bool> AllowCustomStationAiName =
CVarDef.Create("customize.allow_custom_station_ai_name", false, CVar.REPLICATED);
/// <summary>
/// Allow players to set their own cyborg names. (borgs, mediborgs, etc)
/// </summary>
public static readonly CVarDef<bool> AllowCustomCyborgName =
CVarDef.Create("customize.allow_custom_cyborg_name", false, CVar.REPLICATED);
}