Daedalus Dock - Modules - TypesVar Details - Proc Details

pai

Vars

candidatesList of pAI candidates, including those not submitted.
pai_card_listAll pAI cards on the map.
request_spamPrevents a crew member from hitting "request pAI"
submit_spamPrevents a pAI from submitting itself repeatedly and sounding an alert.

Procs

check_candidateFinds the candidate in question from the list of candidates.
check_readyChecks if a candidate is ready so that they may be displayed in the pAI card's candidate window
findPAIPings ghosts to announce that someone is requesting a pAI
recruitWindowThis is the primary window proc when the pAI candidate hud menu is pressed by observers.
submit_alertPings all pAI cards on the station that new candidates are available.

Var Details

candidates

List of pAI candidates, including those not submitted.

pai_card_list

All pAI cards on the map.

request_spam

Prevents a crew member from hitting "request pAI"

submit_spam

Prevents a pAI from submitting itself repeatedly and sounding an alert.

Proc Details

check_candidate

Finds the candidate in question from the list of candidates.

check_ready

Checks if a candidate is ready so that they may be displayed in the pAI card's candidate window

findPAI

Pings ghosts to announce that someone is requesting a pAI

Arguments @pai - The card requesting assistance @user - The player requesting a pAI

recruitWindow

This is the primary window proc when the pAI candidate hud menu is pressed by observers.

Arguments @user - The ghost doing the pressing.

submit_alert

Pings all pAI cards on the station that new candidates are available.