anonymous_theme
![code/modules/admin/verbs/anonymousnames.dm 42](git.png)
Vars | |
extras_enabled | extra non-name related fluff that is optional for admins to enable. One example is the wizard theme giving everyone random robes. |
---|---|
extras_prompt | if admins get the option to enable extras, this is the prompt to enable it. |
name | name of the anonymous theme, seen by admins pressing buttons to enable this |
Procs | |
announce_to_all_players | announce_to_all_players: sends an annonuncement. |
anonymous_ai_name | anonymous_ai_name: generates a random name, based off of whatever the round's anonymousnames is set to (but for sillycones). |
anonymous_all_players | anonymous_all_players: sets all crewmembers on station anonymous. |
anonymous_name | anonymous_name: generates a random name, based off of whatever the round's anonymousnames is set to. |
player_extras | player_extras: optional effects enabled here from a proc that will trigger for every player renamed. |
restore_all_players | restore_all_players: sets all crewmembers on station back to their preference name. |
theme_extras | theme_extras: optional effects enabled here from a proc that will trigger once on creation of anon mode. |
Var Details
extras_enabled
![code/modules/admin/verbs/anonymousnames.dm 50](git.png)
extra non-name related fluff that is optional for admins to enable. One example is the wizard theme giving everyone random robes.
extras_prompt
![code/modules/admin/verbs/anonymousnames.dm 46](git.png)
if admins get the option to enable extras, this is the prompt to enable it.
name
![code/modules/admin/verbs/anonymousnames.dm 44](git.png)
name of the anonymous theme, seen by admins pressing buttons to enable this
Proc Details
announce_to_all_players
announce_to_all_players: sends an annonuncement.
it's in a proc so it can be a non-constant expression.
anonymous_ai_name
anonymous_ai_name: generates a random name, based off of whatever the round's anonymousnames is set to (but for sillycones).
examples: Employee = "Employee Assistant Assuming Delta" Wizards = "Crystallized Knowledge Nexus +23" Spider Clan = "'Leaping Viper' MSO" Stations? = "System Port 10" Arguments:
- is_ai - boolean to decide whether the name has "Core" (AI) or JOB_ASSISTANT (Cyborg)
anonymous_all_players
anonymous_all_players: sets all crewmembers on station anonymous.
called when the anonymous theme is created regardless of extra theming
anonymous_name
anonymous_name: generates a random name, based off of whatever the round's anonymousnames is set to.
examples: Employee = "Employee Q5460Z" Wizards = "Gulstaff of Void" Spider Clan = "Initiate Hazuki" Stations? = "Refactor Port One" Arguments:
- target - mob for preferences and gender
player_extras
player_extras: optional effects enabled here from a proc that will trigger for every player renamed.
restore_all_players
restore_all_players: sets all crewmembers on station back to their preference name.
called when the anonymous theme is removed regardless of extra theming
theme_extras
theme_extras: optional effects enabled here from a proc that will trigger once on creation of anon mode.