/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pai_candidate

#pAI Candidate

Created when a user opens the pAI submit interface. Stores the candidate in an associative list of ckey: candidate objects.

Vars

ckeyUser's ckey
commentsUser inputted OOC comments
descriptionUser inputted behavior description
nameUser's pAI name. If blank, ninja name.
readyIf the user has hit "submit"

Procs

check_readyChecks if a candidate is ready so that they may be displayed or downloaded. Removes any invalid entries.
savefile_pathname key description role comments ready = TRUE

Var Details

ckey

User's ckey

comments

User inputted OOC comments

description

User inputted behavior description

name

User's pAI name. If blank, ninja name.

ready

If the user has hit "submit"

Proc Details

check_ready

Checks if a candidate is ready so that they may be displayed or downloaded. Removes any invalid entries.

@returns {boolean} - TRUE if the candidate is ready, FALSE if not

savefile_path

name key description role comments ready = TRUE