Space Station 13 - Modules - TypesVar Details - Proc Details

particle_holder_tgmc

These effects can be added to anything to hold particles, which is useful because Byond only allows a single particle per atom.

Vars

holding_parentThe mob that is holding our item.
last_attached_location_typeTypepath of the last location we're in, if it's different when moved then we need to update vis contents.
parentThe main item we're attached to at the moment, particle holders hold particles for something.

Procs

on_moveSignal called when parent is moved.
on_qdelSignal called when parent is deleted.
update_visual_contentsLogic proc for particle holders, aka where they move. Subtypes of particle holders can override this for particles that should always be turf level or do special things when repositioning. This base subtype has some logic for items, as the loc of items becomes mobs very often hiding the particles.

Var Details

holding_parent

The mob that is holding our item.

last_attached_location_type

Typepath of the last location we're in, if it's different when moved then we need to update vis contents.

parent

The main item we're attached to at the moment, particle holders hold particles for something.

Proc Details

on_move

Signal called when parent is moved.

on_qdel

Signal called when parent is deleted.

update_visual_contents

Logic proc for particle holders, aka where they move. Subtypes of particle holders can override this for particles that should always be turf level or do special things when repositioning. This base subtype has some logic for items, as the loc of items becomes mobs very often hiding the particles.