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

dna_infuser

Vars

infusingcurrently infusing a vict- subject
infusing_fromwhat we're infusing with
infusing_intowhat we're turning into
max_tier_allowedmaximum tier this will infuse
message_cooldowna message for relaying that the machine is locked if someone tries to leave while it's active

Procs

check_tier_progressionchecks to see if the machine should progress a new tier.
infuse_organAttempt to replace/add-to the occupant's organs with "mutated" equivalents. Returns TRUE on success, FALSE on failure. Requires the target mob to have an existing organic organ to "mutate".
is_valid_infusionVerify that the given infusion source/mob is a dead creature.
is_valid_occupantVerify that the occupant/target is organic, and has mutable DNA.
pick_organPicks a random mutated organ from the infuser entry which is also compatible with the target mob. Tries to return a typepath of a valid mutant organ if all of the following criteria are true:

Var Details

infusing

currently infusing a vict- subject

infusing_from

what we're infusing with

infusing_into

what we're turning into

max_tier_allowed

maximum tier this will infuse

message_cooldown

a message for relaying that the machine is locked if someone tries to leave while it's active

Proc Details

check_tier_progression

checks to see if the machine should progress a new tier.

infuse_organ

Attempt to replace/add-to the occupant's organs with "mutated" equivalents. Returns TRUE on success, FALSE on failure. Requires the target mob to have an existing organic organ to "mutate".

is_valid_infusion

Verify that the given infusion source/mob is a dead creature.

is_valid_occupant

Verify that the occupant/target is organic, and has mutable DNA.

pick_organ

Picks a random mutated organ from the infuser entry which is also compatible with the target mob. Tries to return a typepath of a valid mutant organ if all of the following criteria are true:

  1. Target must have a pre-existing organ in the same organ slot as the new organ;
  1. Target's pre-existing organ must be organic / not robotic.
  2. Target must not have the same/identical organ.