disease
Vars | |
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. |
Procs | |
is_viable_mobtype | Checks the given typepath against the list of viable mobtypes. |
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. |
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:
- mob_type - Type path to check against the viable_mobtypes list.
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.