pai_candidate
![code/modules/pai/candidate.dm 7](git.png)
#pAI Candidate
Created when a user opens the pAI submit interface. Stores the candidate in an associative list of ckey: candidate objects.
Vars | |
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" |
Procs | |
check_ready | Checks if a candidate is ready so that they may be displayed or downloaded. Removes any invalid entries. |
savefile_path | name key description role comments ready = TRUE |
Var Details
ckey
![code/modules/pai/candidate.dm 13](git.png)
User's ckey
comments
![code/modules/pai/candidate.dm 9](git.png)
User inputted OOC comments
description
![code/modules/pai/candidate.dm 11](git.png)
User inputted behavior description
name
![code/modules/pai/candidate.dm 15](git.png)
User's pAI name. If blank, ninja name.
ready
![code/modules/pai/candidate.dm 17](git.png)
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