Space Station 13 - Modules - TypesProc Details

gene

Gene Datum

domutcheck was getting pretty hairy. This is the solution.

All genes are stored in a global variable to cut down on memory usage.

@author N3X15 nexisentertainment@gmail.com

Procs

OnDrawUnderlaysCalled after the mob runs update_icons.
OnMobDeathCalled when the mob dies
OnMobLifeCalled in each life() tick.
OnSayCalled when the mob says shit
deactivateCalled when the gene deactivates. Undo your magic here. Only called when the block is deactivated.
is_activeIs the gene active in this mob's DNA?

Proc Details

OnDrawUnderlays

Called after the mob runs update_icons.

@params M The subject. @params g Gender (m or f) @params fat Fat? (0 or 1)

OnMobDeath

Called when the mob dies

OnMobLife

Called in each life() tick.

OnSay

Called when the mob says shit

deactivate

Called when the gene deactivates. Undo your magic here. Only called when the block is deactivated.

is_active

Is the gene active in this mob's DNA?