Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/cloner_defect

Vars

dataAny data which should be maintained between clonings if the person is cloned multiple times. IF YOU WANT DATA TO BE TRANSFERRED BETWEEN BODIES, USE THIS INSTEAD OF MAKING A VAR
descSame as above- for scans or whatever
nameName of this defect for. medical scans or something, I dunno. Maybe let the geneticist's scanner thing see them?
ownerWho has this defect?
severityHow severe is this effect? (Currently just major and minor)
stackableCan we get this defect multiple times?
weightWeight of this effect when rolled against other effects in the same pool (minor/major). Default is 100.

Procs

NewOwner is the mob who we're applying this defect to. 'copy' is true
initCalled when this defect is created for the first time (ie not copying to a new body after cloning) Shouldn't depend on owner at all. Will be called with a null owner during clone scanning.
on_removeCalled when this defect is removed by any means

Var Details

data

Any data which should be maintained between clonings if the person is cloned multiple times. IF YOU WANT DATA TO BE TRANSFERRED BETWEEN BODIES, USE THIS INSTEAD OF MAKING A VAR

desc

Same as above- for scans or whatever

name

Name of this defect for. medical scans or something, I dunno. Maybe let the geneticist's scanner thing see them?

owner

Who has this defect?

severity

How severe is this effect? (Currently just major and minor)

stackable

Can we get this defect multiple times?

weight

Weight of this effect when rolled against other effects in the same pool (minor/major). Default is 100.

Proc Details

New

Owner is the mob who we're applying this defect to. 'copy' is true

init

Called when this defect is created for the first time (ie not copying to a new body after cloning) Shouldn't depend on owner at all. Will be called with a null owner during clone scanning.

on_remove

Called when this defect is removed by any means