SS1984 - Modules - TypesVar Details - Proc Details

persistent_client

Tracks information about a client between log in and log outs

Vars

achievementsTracks achievements they have earned
antaghud_enabledHas the player ever enabled AntagHUD this round
byond_buildBuild number of BYOND this client is using.
byond_versionMajor version of BYOND this client is using.
clientThe true client
joined_as_slotsLazylist of preference slots this client has joined the round under Numbers are stored as strings
mobThe mob this persistent client is currently bound to.
played_namesList of names this key played under this round assoc list of name -> mob tag
player_actionsAction datums assigned to this player
post_login_callbacksCallbacks invoked when this client logs in again
post_logout_callbacksCallbacks invoked when this client logs out
respawn_eligibleIs the player eligible for OOC respawn
respawn_lockedThe client's ability to respawn is currently blocked by a minigame or event.
time_of_deathWorld.time this player last died

Procs

full_byond_versionReturns the full version string (i.e 515.1642) of the BYOND version and build.
get_played_namesWrites all of the played_names into an HTML-escaped string.
give_awardRedirect proc that makes it easier to call the unlock achievement proc. Achievement type is the typepath to the award, user is the mob getting the award, and value is an optional variable used for leaderboard value increments
set_mobSetter for the mob var, handles both references.

Var Details

achievements

Tracks achievements they have earned

antaghud_enabled

Has the player ever enabled AntagHUD this round

byond_build

Build number of BYOND this client is using.

byond_version

Major version of BYOND this client is using.

client

The true client

joined_as_slots

Lazylist of preference slots this client has joined the round under Numbers are stored as strings

mob

The mob this persistent client is currently bound to.

played_names

List of names this key played under this round assoc list of name -> mob tag

player_actions

Action datums assigned to this player

post_login_callbacks

Callbacks invoked when this client logs in again

post_logout_callbacks

Callbacks invoked when this client logs out

respawn_eligible

Is the player eligible for OOC respawn

respawn_locked

The client's ability to respawn is currently blocked by a minigame or event.

time_of_death

World.time this player last died

Proc Details

full_byond_version

Returns the full version string (i.e 515.1642) of the BYOND version and build.

get_played_names

Writes all of the played_names into an HTML-escaped string.

give_award

Redirect proc that makes it easier to call the unlock achievement proc. Achievement type is the typepath to the award, user is the mob getting the award, and value is an optional variable used for leaderboard value increments

set_mob

Setter for the mob var, handles both references.