Paradise Station 13 - Modules - TypesVar Details - Proc Details

client

Vars

byondacc_ageDays since the client's BYOND account was created
byondacc_dateDate the client registered their BYOND account on
description_holdersPersistent storage for the flavour text of examined atoms.
keys_heldAn assoc list of any keys held currently
last_discord_pm_timeLast world.time that a PM was send to discord by a player
next_move_dir_addThese next two vars are to apply movement for keypresses and releases made while move delayed. Because discarding that input makes the game less responsive. On 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
received_discord_pmLast world/time that a PM was sent to the player by an admin
screen_mapsAssoc list with all the active maps - when a screen obj is added to a map, it's put in here as well.
seen_messagesMessages currently seen by this client
topiclimiterUsed for limiting the rate of topic sends by the client to avoid abuse
tos_consentHas the client accepted the TOS about data collection and other stuff
version_blockedIf true, client cannot ready up, late join, or observe. Used for players with EXTREMELY old byond versions.
watchlistedIs the client watchlisted

Procs

Process_GrabProcess_Grab() Called by client/Move() Checks to see if you are being grabbed and if so attemps to break it
Process_IncorpmoveProcess_Incorpmove Called by client/Move() Allows mobs to run though walls
clear_all_mapsClears all the maps of registered screen objects.
clear_mapClears the map of registered screen objects.
close_popupCloses a popup.
create_eventmob_fornew ban stuff new ban stuff WARNING!** The jobban stuff looks mangled and disgusting But it looks beautiful in-game -Nodrak **WARNING!
create_popupCreates a popup window with a basic map element in it, without any further initialization.
deactivate_darkmodeBUTTONS UI ELEMENTS
generate_clickcatcherBUTTONS UI ELEMENTS NOTIFY USER
get_byond_account_dateSets the clients BYOND date up properly
handle_popup_closeWhen the popup closes in any way (player or proc call) it calls this.
keyUpCheck if the key is short enough to even be a real key
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.
retrieve_byondacc_dataRetrieves the BYOND accounts data from the BYOND servers
setup_popupCreate the popup, and get it ready for generic use by giving it a background.
uicloseverb
uid_logOpens a lof of UIDs

Var Details

byondacc_age

Days since the client's BYOND account was created

byondacc_date

Date the client registered their BYOND account on

description_holders

Persistent storage for the flavour text of examined atoms.

keys_held

An assoc list of any keys held currently

last_discord_pm_time

Last world.time that a PM was send to discord by a player

next_move_dir_add

These next two vars are to apply movement for keypresses and releases made while move delayed. Because discarding that input makes the game less responsive. 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

received_discord_pm

Last world/time that a PM was sent to the player by an admin

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(/obj/screen))

seen_messages

Messages currently seen by this client

topiclimiter

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

Has the client accepted the TOS about data collection and other stuff

version_blocked

If true, client cannot ready up, late join, or observe. Used for players with EXTREMELY old byond versions.

watchlisted

Is the client watchlisted

Proc Details

Process_Grab

Process_Grab() Called by client/Move() Checks to see if you are being grabbed and if so attemps to break it

Process_Incorpmove

Process_Incorpmove Called by client/Move() Allows mobs to run though walls

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.

close_popup

Closes a popup.

create_eventmob_for

new ban stuff new ban stuff WARNING!** The jobban stuff looks mangled and disgusting But it looks beautiful in-game -Nodrak **WARNING!

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.

deactivate_darkmode

BUTTONS UI ELEMENTS

generate_clickcatcher

BUTTONS UI ELEMENTS NOTIFY USER

get_byond_account_date

Sets the clients BYOND date up properly

If the client does not have a saved BYOND account creation date, retrieve it from the website If they do have a saved date, use that from the DB, because this value will never change Arguments:

handle_popup_close

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

keyUp

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

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.

retrieve_byondacc_data

Retrieves the BYOND accounts data from the BYOND servers

Makes a web request to byond.com to retrieve the details for the BYOND account associated with the clients ckey. Returns the data in a parsed, associative list

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.

uiclose

verb

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

uid_log

Opens a lof of UIDs

In-round ability to view what has created a UID, and how many times a UID for that path has been declared