/datum/random_fact

Vars | |
check_human | Whether this statistic can apply to humans |
---|---|
check_xeno | Whether this statistic can apply to xenos |
min_required | The min stat required to be noted |
prob_check_dead | The prob dead are checked for this statistic |
statistic_name | The noun for this statistic in the announcement |
statistic_verb | The verb for this statistic in the announcement |
Procs | |
announce | Announces this random_fact to world if possible (returns TRUE if sent) |
death_grab_stat | Override this to specify what value on a death to get for this statistic |
find_death_to_report | Returns the /datum/entity/statistic/death for a random still connected player that has min_required for this stat |
find_living_to_report | Returns the /mob/living/carbon for a random still connected player that has min_required for this stat |
generate_announcement_message | Attempts to get a statistic to report on and returns the string of the message otherwise null if no one met requirements |
life_grab_stat | Override this to specify what value on a mob to get for this statistic |
Var Details
check_human

Whether this statistic can apply to humans
check_xeno

Whether this statistic can apply to xenos
min_required

The min stat required to be noted
prob_check_dead

The prob dead are checked for this statistic
statistic_name

The noun for this statistic in the announcement
statistic_verb

The verb for this statistic in the announcement
Proc Details
announce
Announces this random_fact to world if possible (returns TRUE if sent)
death_grab_stat
Override this to specify what value on a death to get for this statistic
find_death_to_report
Returns the /datum/entity/statistic/death for a random still connected player that has min_required for this stat
find_living_to_report
Returns the /mob/living/carbon for a random still connected player that has min_required for this stat
generate_announcement_message
Attempts to get a statistic to report on and returns the string of the message otherwise null if no one met requirements
life_grab_stat
Override this to specify what value on a mob to get for this statistic