byond - Modules - TypesVar Details - Proc Details

implant

Vars

action_typeType of action to give
activation_actionActivation_action reference
allow_reagentswhether this implant allows reagents to be inserted into it
allowed_limbsWhitelist for llimbs that this implavnt is allowed to be inserted into, all limbs by default
cooldown_timeCooldown between usages of the implant
implant_colorColor of the implant, used for selecting the implant cases icon_state
implant_flagsImplant secific flags
implant_ownerOwner mob this implant is inserted to
implantedWhether this implant has been implanted inside a human yet
malfunctionWhat level of malfunction/breakage this implant is at, used for functionality checks
partThe owner limb this implant is inside

Procs

activateHandles the actual activation of the implant/it's effects. Returns TRUE on succesful activation and FALSE on failure for parentcalls
get_dataReturns info about a implant concerning its usage and such
implantWhat does the implant do upon injection? returns TRUE if the implant succeeds
meltdownDestroys and makes the implant unusable
on_hearCalled when the implant hears a message, used for activation phrases and the like
try_implantAttempts to implant a mob with this implant, TRUE on success, FALSE on failure
unimplantCleans 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