implant

Vars | |
action_type | Type of action to give |
---|---|
activation_action | Activation_action reference |
allow_reagents | whether this implant allows reagents to be inserted into it |
allowed_limbs | Whitelist for llimbs that this implavnt is allowed to be inserted into, all limbs by default |
cooldown_time | Cooldown between usages of the implant |
implant_color | Color of the implant, used for selecting the implant cases icon_state |
implant_flags | Implant secific flags |
implant_owner | Owner mob this implant is inserted to |
implanted | Whether this implant has been implanted inside a human yet |
malfunction | What level of malfunction/breakage this implant is at, used for functionality checks |
part | The owner limb this implant is inside |
Procs | |
activate | Handles the actual activation of the implant/it's effects. Returns TRUE on succesful activation and FALSE on failure for parentcalls |
get_data | Returns info about a implant concerning its usage and such |
implant | What does the implant do upon injection? returns TRUE if the implant succeeds |
meltdown | Destroys and makes the implant unusable |
on_hear | Called when the implant hears a message, used for activation phrases and the like |
try_implant | Attempts to implant a mob with this implant, TRUE on success, FALSE on failure |
unimplant | Cleans up on being removed from a mob |
Var Details
action_type

Type of action to give
activation_action

Activation_action reference
allow_reagents

whether this implant allows reagents to be inserted into it
allowed_limbs

Whitelist for llimbs that this implavnt is allowed to be inserted into, all limbs by default
cooldown_time

Cooldown between usages of the implant
implant_color

Color of the implant, used for selecting the implant cases icon_state
implant_flags

Implant secific flags
implant_owner

Owner mob this implant is inserted to
implanted

Whether this implant has been implanted inside a human yet
malfunction

What level of malfunction/breakage this implant is at, used for functionality checks
part

The owner limb this implant is inside
Proc Details
activate
Handles the actual activation of the implant/it's effects. Returns TRUE on succesful activation and FALSE on failure for parentcalls
get_data
Returns info about a implant concerning its usage and such
implant
What does the implant do upon injection? returns TRUE if the implant succeeds
meltdown
Destroys and makes the implant unusable
on_hear
Called when the implant hears a message, used for activation phrases and the like
try_implant
Attempts to implant a mob with this implant, TRUE on success, FALSE on failure
unimplant
Cleans up on being removed from a mob