/tg/ Station 13 - Modules - TypesVar Details - Proc Details

implant

Parent class for all implants

Vars

activatedtrue for implant types that can be activated, false for ones that are "always on" like mindshield implants
allow_multipleif false, upon implantation of a duplicate implant, an attempt to combine the new implant's uses with the old one's uses will be made, deleting the new implant if successful or stopping the implantation if not
imp_inthe mob that's implanted with this
implant_colorimplant color, used for selecting either the "b" version or the "r" version of the implant case sprite when the implant is in a case.
useshow many times this can do something, only relevant for implants with limited uses

Procs

get_dataGets implant specifications for the implant pad
implantWhat does the implant do upon injection?
removedRemove implant from mob.

Var Details

activated

true for implant types that can be activated, false for ones that are "always on" like mindshield implants

allow_multiple

if false, upon implantation of a duplicate implant, an attempt to combine the new implant's uses with the old one's uses will be made, deleting the new implant if successful or stopping the implantation if not

imp_in

the mob that's implanted with this

implant_color

implant color, used for selecting either the "b" version or the "r" version of the implant case sprite when the implant is in a case.

uses

how many times this can do something, only relevant for implants with limited uses

Proc Details

get_data

Gets implant specifications for the implant pad

implant

What does the implant do upon injection?

return true if the implant injects return false if there is no room for implant / it fails Arguments:

removed

Remove implant from mob.

This removes the effects of the implant and moves it out of the mob and into nullspace. Arguments: