/tg/ Station 13 - Modules - TypesVar Details - Proc Details

Hallucination datum.

Handles effects of a hallucination on a living mob. Created and triggered via the [cause hallucination proc][/mob/living/proc/cause_hallucination].

See also: the hallucination status effect.

Vars

abstract_hallucination_parentWho's our next highest abstract parent type?
feedback_detailsExtra info about the hallucination displayed in the log.
hallucinatorThe mob we're targeting with the hallucination.
random_hallucination_weightWhat is this hallucination's weight in the random hallucination pool?

Procs

random_far_turfReturns a random turf in a ring around the hallucinator mob. Useful for sound hallucinations.
random_non_sec_crewmemberGets a random non-security member of the crew that is at least 8 tiles away.
startStarts the hallucination.
target_deletingSignal proc for COMSIG_PARENT_QDELETING, if the mob hallucinating us is deletes, we should delete too.

Var Details

abstract_hallucination_parent

Who's our next highest abstract parent type?

feedback_details

Extra info about the hallucination displayed in the log.

hallucinator

The mob we're targeting with the hallucination.

random_hallucination_weight

What is this hallucination's weight in the random hallucination pool?

Proc Details

random_far_turf

Returns a random turf in a ring around the hallucinator mob. Useful for sound hallucinations.

random_non_sec_crewmember

Gets a random non-security member of the crew that is at least 8 tiles away.

start

Starts the hallucination.

target_deleting

Signal proc for COMSIG_PARENT_QDELETING, if the mob hallucinating us is deletes, we should delete too.