Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/cloner_defect

Who has this defect? Weight of this effect when rolled against other effects in the same pool (minor/major). Default is 100. Name of this defect for. medical scans or something, I dunno. Maybe let the geneticist's scanner thing see them? Same as above- for scans or whatever Can we get this defect multiple times? How severe is this effect? (Currently just major and minor)

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

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

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