byond - Modules - TypesVar Details - Proc Details

/client

Vars

adminhelptimeridClient var used for returning the ahelp verb
completed_asset_jobsList of all completed blocking send jobs awaiting acknowledgement by send_asset
connection_timeworld.time they connected
current_ticketClient var used for tracking the ticket the (usually) not-admin client is dealing with
holding_clickWhether or not the player is holding their mouse click
ignore_next_clickMeans that there can only be one click per mousedown.
key_combos_heldA buffer for combinations such of modifiers + keys (ex: CtrlD, AltE, ShiftT). Format: "key" -> "combo" (ex: "D" -> "CtrlD")
keys_heldA buffer of currently held keys.
last_asset_jobLast asset send job id.
mouse_trace_historyThe history of all atoms that were hovered over while the mouse was depressed
movement_keyscustom movement keys for this client
movement_lockedAre we locking our movement input?
next_move_dir_addOn next move, add this dir to the move that would otherwise be done
next_move_dir_subOn next move, subtract this dir from the move that would otherwise be done
obj_windowOur object window datum. It stores info about and handles behavior for the object tab
panel_tabslist of all tabs
recent_examinesA lazy list of atoms we've examined in the last EXAMINE_MORE_TIME (default 1.5) seconds, so that we will call [/atom/proc/examine_more] instead of [/atom/proc/examine] on them when examining
screen_mapsAssoc list with all the active maps - when a screen obj is added to a map, it's put in here as well.
screen_textslazylist of screen_texts for this client, first in this list is the one playing
stat_panelStat panel window declaration
stat_tabour current tab
tgui_cache_reloadedglobal
tgui_sayAssigned say modal of the client
tgui_windowsglobal
tooltipsdatum that controls the displaying and hiding of tooltips
topiclimiterUsed for limiting the rate of topic sends by the client to avoid abuse
typing_indicatorsDoes this client have typing indicators enabled?
urgent_ahelp_cooldownThe last urgent ahelp that this player sent

Procs

adaptive_zoomAttempts to scale client zoom automatically to fill 1080p multiples. Best used with auto fit viewport.
add_to_screenWrapper for adding anything to a client's screen
admin_followAttempts to make the client orbit the given object, for administrative purposes. If they are not an observer, will try to aghost them.
asset_cache_confirm_arrivalProcess asset cache client topic calls for "asset_cache_confirm_arrival=[INT]"
asset_cache_preload_dataProcess asset cache client topic calls for "asset_cache_preload_data=[HTML+JSON_STRING]
asset_cache_update_jsonUpdates the client side stored json file used to keep track of what assets the client has between restarts/reconnects.
browse_queue_flushBlocks until all currently sending browse and browse_rsc assets have been sent. Due to byond limitations, this proc will sleep for 1 client round trip even if the client has no pending asset sends. This proc will return an untrue value if it had to return before confirming the send, such as timeout or the client going away.
check_localhost_statusLogical OR list, not match all.
clear_all_mapsClears all the maps of registered screen objects.
clear_mapClears the map of registered screen objects.
clear_screenClears the client's screen, aside from ones that opt out
close_popupCloses a popup.
create_popupCreates a popup window with a basic map element in it, without any further initialization.
erase_all_macrosErases macros set by the keybinding system
fix_tgui_paneltgui panel / chat troubleshooting verb
get_total_drone_playtimeplaytime for drone and drone evolution castes
get_total_t3_playtimeplaytime for t3 castes and queen
get_total_xeno_playtimeplaytime for all castes
handle_ooc_prefixUsed by OOC chat to generate icons for player prefix. Intended to make it easy to see at a glance if someone is staff, WL Council or Mentor.
handle_popup_closeWhen the popup closes in any way (player or proc call) it calls this.
init_verbsCompiles a full list of verbs to be sent to the browser Sends the 2D verbs vector of (verb category, verb name)
keyUpCheck if the key is short enough to even be a real key
nanocloseCalled when a Nano UI window is closed This is how Nano handles closed windows It must be a verb so that it can be called using winset
notify_loginHandles login-related logging and associated notifications
on_stat_panel_messageHandles incoming messages from the stat-panel TGUI.
open_escape_menuOpens the escape menu. Verb, hardcoded to Escape, set in the client skin.
open_particle_editoropens the particle editor UI for the in_atom object for this client
register_map_objRegisters screen obj with the client, which makes it visible on the assigned map, and becomes a part of the assigned map's lifecycle.
remove_from_screenWrapper for removing anything from a client's screen
reset_held_keysManually clears any held keys, in case due to lag or other undefined behavior a key gets stuck.
set_crit_typeToggle in character preferences and toggle preferences to configure what kind of crit overlay is used in game; Either white or grey.
set_eye_blur_typeToggle in character preferences and toggle preferences to configure what kind of blur overlay is used in game; Either blurry, impaired, or legacy.
set_flash_typeToggle in character preferences and toggle preferences to configure what kind of flash overlay is used in game; Either white or black.
set_macrosRequest blocking update of keybinds to client, clearing old ones
setup_popupCreate the popup, and get it ready for generic use by giving it a background.
show_other_recordManagement Access Edit Access Note category options
tgui_say_create_open_commandCreates a JSON encoded message to open TGUI say modals properly.
toggle_dualwieldToggle whether dual-wielding fires both guns at once or swaps between them.
typing_indicatorWhether or not to show a typing indicator when speaking. Defaults to on.
uicloseverb
update_special_keybindsUpdates the keybinds for special keys

Var Details

adminhelptimerid

Client var used for returning the ahelp verb

completed_asset_jobs

List of all completed blocking send jobs awaiting acknowledgement by send_asset

connection_time

world.time they connected

current_ticket

Client var used for tracking the ticket the (usually) not-admin client is dealing with

holding_click

Whether or not the player is holding their mouse click

ignore_next_click

Means that there can only be one click per mousedown.

key_combos_held

A buffer for combinations such of modifiers + keys (ex: CtrlD, AltE, ShiftT). Format: "key" -> "combo" (ex: "D" -> "CtrlD")

keys_held

A buffer of currently held keys.

last_asset_job

Last asset send job id.

mouse_trace_history

The history of all atoms that were hovered over while the mouse was depressed

movement_keys

custom movement keys for this client

movement_locked

Are we locking our movement input?

next_move_dir_add

On next move, add this dir to the move that would otherwise be done

next_move_dir_sub

On next move, subtract this dir from the move that would otherwise be done

obj_window

Our object window datum. It stores info about and handles behavior for the object tab

panel_tabs

list of all tabs

recent_examines

A lazy list of atoms we've examined in the last EXAMINE_MORE_TIME (default 1.5) seconds, so that we will call [/atom/proc/examine_more] instead of [/atom/proc/examine] on them when examining

screen_maps

Assoc list with all the active maps - when a screen obj is added to a map, it's put in here as well.

Format: list( = list(/atom/movable/screen))

screen_texts

lazylist of screen_texts for this client, first in this list is the one playing

stat_panel

Stat panel window declaration

stat_tab

our current tab

tgui_cache_reloaded

global

TRUE if cache was reloaded by tgui dev server at least once.

tgui_say

Assigned say modal of the client

tgui_windows

global

Tracks open windows for a user.

tooltips

datum that controls the displaying and hiding of tooltips

topiclimiter

Used for limiting the rate of topic sends by the client to avoid abuse

typing_indicators

Does this client have typing indicators enabled?

urgent_ahelp_cooldown

The last urgent ahelp that this player sent

Proc Details

adaptive_zoom

Attempts to scale client zoom automatically to fill 1080p multiples. Best used with auto fit viewport.

add_to_screen

Wrapper for adding anything to a client's screen

admin_follow

Attempts to make the client orbit the given object, for administrative purposes. If they are not an observer, will try to aghost them.

asset_cache_confirm_arrival

Process asset cache client topic calls for "asset_cache_confirm_arrival=[INT]"

asset_cache_preload_data

Process asset cache client topic calls for "asset_cache_preload_data=[HTML+JSON_STRING]

asset_cache_update_json

Updates the client side stored json file used to keep track of what assets the client has between restarts/reconnects.

browse_queue_flush

Blocks until all currently sending browse and browse_rsc assets have been sent. Due to byond limitations, this proc will sleep for 1 client round trip even if the client has no pending asset sends. This proc will return an untrue value if it had to return before confirming the send, such as timeout or the client going away.

check_localhost_status

Logical OR list, not match all.

clear_all_maps

Clears all the maps of registered screen objects.

clear_map

Clears the map of registered screen objects.

Not really needed most of the time, as the client's screen list gets reset on relog. any of the buttons are going to get caught by garbage collection anyway. they're effectively qdel'd.

clear_screen

Clears the client's screen, aside from ones that opt out

close_popup

Closes a popup.

create_popup

Creates a popup window with a basic map element in it, without any further initialization.

Ratio is how many pixels by how many pixels (keep it simple).

Returns a map name.

erase_all_macros

Erases macros set by the keybinding system

fix_tgui_panel

tgui panel / chat troubleshooting verb

get_total_drone_playtime

playtime for drone and drone evolution castes

get_total_t3_playtime

playtime for t3 castes and queen

get_total_xeno_playtime

playtime for all castes

handle_ooc_prefix

Used by OOC chat to generate icons for player prefix. Intended to make it easy to see at a glance if someone is staff, WL Council or Mentor.

handle_popup_close

When the popup closes in any way (player or proc call) it calls this.

init_verbs

Compiles a full list of verbs to be sent to the browser Sends the 2D verbs vector of (verb category, verb name)

keyUp

Check if the key is short enough to even be a real key

nanoclose

Called when a Nano UI window is closed This is how Nano handles closed windows It must be a verb so that it can be called using winset

@return nothing

notify_login

Handles login-related logging and associated notifications

on_stat_panel_message

Handles incoming messages from the stat-panel TGUI.

open_escape_menu

Opens the escape menu. Verb, hardcoded to Escape, set in the client skin.

open_particle_editor

opens the particle editor UI for the in_atom object for this client

register_map_obj

Registers screen obj with the client, which makes it visible on the assigned map, and becomes a part of the assigned map's lifecycle.

remove_from_screen

Wrapper for removing anything from a client's screen

reset_held_keys

Manually clears any held keys, in case due to lag or other undefined behavior a key gets stuck.

set_crit_type

Toggle in character preferences and toggle preferences to configure what kind of crit overlay is used in game; Either white or grey.

set_eye_blur_type

Toggle in character preferences and toggle preferences to configure what kind of blur overlay is used in game; Either blurry, impaired, or legacy.

set_flash_type

Toggle in character preferences and toggle preferences to configure what kind of flash overlay is used in game; Either white or black.

set_macros

Request blocking update of keybinds to client, clearing old ones

setup_popup

Create the popup, and get it ready for generic use by giving it a background.

Width and height are multiplied by 64 by default.

show_other_record

Management Access Edit Access Note category options

tgui_say_create_open_command

Creates a JSON encoded message to open TGUI say modals properly.

Arguments: channel - The channel to open the modal in. Returns: string - A JSON encoded message to open the modal.

toggle_dualwield

Toggle whether dual-wielding fires both guns at once or swaps between them.

typing_indicator

Whether or not to show a typing indicator when speaking. Defaults to on.

uiclose

verb

Called by UIs when they are closed. Must be a verb so winset() can call it.

required uiref ref The UI that was closed.

update_special_keybinds

Updates the keybinds for special keys

Handles adding macros for the keys that need it And adding movement keys to the clients movement_keys list At the time of writing this, communication(OOC, Say, IC) require macros Arguments: