byond - Modules - TypesVar Details - Proc Details

/datum/random_fact

Vars

check_humanWhether this statistic can apply to humans
check_xenoWhether this statistic can apply to xenos
min_requiredThe min stat required to be noted
prob_check_deadThe prob dead are checked for this statistic
statistic_nameThe noun for this statistic in the announcement
statistic_verbThe verb for this statistic in the announcement

Procs

announceAnnounces this random_fact to world if possible (returns TRUE if sent)
death_grab_statOverride this to specify what value on a death to get for this statistic
find_death_to_reportReturns the /datum/entity/statistic/death for a random still connected player that has min_required for this stat
find_living_to_reportReturns the /mob/living/carbon for a random still connected player that has min_required for this stat
generate_announcement_messageAttempts to get a statistic to report on and returns the string of the message otherwise null if no one met requirements
life_grab_statOverride 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