Paradise Station 13 - Modules - TypesVar Details - Proc Details

Implants

Code for implants that can be inserted into a person and have some sort of passive or triggered action.

Vars

activatedHow the implant is activated.
allow_multipleWhether multiple implants of this same type can be inserted into someone.
has_triggered_on_deathWhether this implant has already triggered on death or not, to prevent it firing multiple times.
imp_inWho the implant is inside of.
implantedWhether the implant is implanted. Null if it's never been inserted, TRUE if it's currently inside someone, or FALSE if it's been removed.
trigger_causesWhat type of action will trigger this emote. Bitfield of IMPLANT_EMOTE_* defines.
trigger_emotesList of emote keys that activate this implant when used.
usesAmount of times that the implant can be triggered by the user. If the implant can't be used, it can't be inserted.

Procs

implantTry to implant ourselves into a mob.
removedClean up when an implant is removed.
set_triggerSet the emote that will trigger the implant.

Var Details

activated

How the implant is activated.

allow_multiple

Whether multiple implants of this same type can be inserted into someone.

has_triggered_on_death

Whether this implant has already triggered on death or not, to prevent it firing multiple times.

imp_in

Who the implant is inside of.

implanted

Whether the implant is implanted. Null if it's never been inserted, TRUE if it's currently inside someone, or FALSE if it's been removed.

trigger_causes

What type of action will trigger this emote. Bitfield of IMPLANT_EMOTE_* defines.

trigger_emotes

List of emote keys that activate this implant when used.

uses

Amount of times that the implant can be triggered by the user. If the implant can't be used, it can't be inserted.

Proc Details

implant

Try to implant ourselves into a mob.

Returns 1 if the implant injects successfully -1 if the implant fails to inject 0 if there's no room for the implant.

removed

Clean up when an implant is removed.

set_trigger

Set the emote that will trigger the implant.