Space Station 13 - Modules - TypesVar Details - Proc Details

Hallucination

Base object for hallucinations. Contains basic behaviour to display an icon only to the target.

Vars

durationDuration in deciseconds. Can also be a list with the form [lower bound, upper bound] for a random duration.
hallucination_iconHallucination icon.
hallucination_icon_stateHallucination icon state.
hallucination_layerHallucination layer.
hallucination_overrideHallucination override.
imagesLazy list of images created as part of the hallucination. Cleared on destruction.
targetThe mob that sees this hallucination.

Procs

add_iconAdds an image to the hallucination. Cleared on destruction.
clear_iconClears an image from the hallucination.
clear_icon_inClears an image from the hallucination after a delay.
clear_iconsClears all images from the hallucination.
play_sound_inPlays a sound to the target only.

Var Details

duration

Duration in deciseconds. Can also be a list with the form [lower bound, upper bound] for a random duration.

hallucination_icon

Hallucination icon.

hallucination_icon_state

Hallucination icon state.

hallucination_layer

Hallucination layer.

hallucination_override

Hallucination override.

images

Lazy list of images created as part of the hallucination. Cleared on destruction.

target

The mob that sees this hallucination.

Proc Details

add_icon

Adds an image to the hallucination. Cleared on destruction.

Arguments:

clear_icon

Clears an image from the hallucination.

Arguments:

clear_icon_in

Clears an image from the hallucination after a delay.

Arguments:

clear_icons

Clears all images from the hallucination.

play_sound_in

Plays a sound to the target only.

Arguments: