Daedalus Dock - Modules - TypesVar Details - Proc Details

disease

Vars

cure_chanceThe probability of this infection being cured every second the cure is present
infectivityThe probability of spreading through the air every second
stage_probThe probability of this infection advancing a stage every second the cure is not present.

Procs

is_viable_mobtypeChecks the given typepath against the list of viable mobtypes.
stage_actProc to process the disease and decide on whether to advance, cure or make the sympthoms appear. Returns a boolean on whether to continue acting on the symptoms or not.

Var Details

cure_chance

The probability of this infection being cured every second the cure is present

infectivity

The probability of spreading through the air every second

stage_prob

The probability of this infection advancing a stage every second the cure is not present.

Proc Details

is_viable_mobtype

Checks the given typepath against the list of viable mobtypes.

Returns TRUE if the mob_type path is derived from of any entry in the viable_mobtypes list. Returns FALSE otherwise.

Arguments:

stage_act

Proc to process the disease and decide on whether to advance, cure or make the sympthoms appear. Returns a boolean on whether to continue acting on the symptoms or not.