dna_infuser
Vars | |
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 |
Procs | |
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: |
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:
- Target must have a pre-existing organ in the same organ slot as the new organ;
- or the new organ must be external.
- Target's pre-existing organ must be organic / not robotic.
- Target must not have the same/identical organ.