|What typepath of the hallucination
|Where the hallucination came from, for logging
|Onwards from this index, it's the arglist that gets passed into the hallucination created.
|Biotypes which cannot hallucinate for balance and logic reasons (not code)
|Causes a hallucination of a certain type to the mob.
|Emits a hallucinating pulse around the passed atom. Affects everyone in the passed radius who can view the center, except for those with TRAIT_MADNESS_IMMUNE, or those who are blind.
|Generates the global weighted list of random hallucinations.
|Debug proc for getting the total weight of the random_hallucination_weighted_list
|Gets a random subtype of the passed hallucination type that has a random_hallucination_weight > 0. If no subtype is passed, it will get any random hallucination subtype that is not abstract and has weight > 0. This can be used instead of picking from the global weighted list to just get a random valid hallucination.
|Helper to give the passed mob the ability to select a hallucination from the list of all hallucination subtypes.
|Helper to give the passed mob the ability to create a delusion hallucination (even a custom one). Returns a list of arguments - pass these to _cause_hallucination to cause the desired hallucination
|Lines the bubblegum hallucinatoin uses when it pops up
Lines the bubblegum hallucinatoin uses when it pops up
Onwards from this index, it's the arglist that gets passed into the hallucination created.
Where the hallucination came from, for logging
What typepath of the hallucination
Biotypes which cannot hallucinate for balance and logic reasons (not code)
Causes a hallucination of a certain type to the mob.
First argument is always the type of halllucination, a /datum/hallucination, required. second argument is always the key source of the hallucination, used for admin logging, required.
Additionally, named arguments are supported for passing them forward to the created hallucination's new().