Space Station 13 - Modules - TypesVar Details - Proc Details

Slip Component

This is a component that can be applied to any movable atom (mob or obj).

While the atom has this component, any human mob that walks over it will have a chance to slip. Duration, tiles moved, and so on, depend on what variables are passed in when the component is added.

Vars

descriptionText that gets displayed in the slip proc, i.e. "user slips on [description]"
horizontal_requiredTRUE the player will only slip if the mob this datum is attached to is horizontal
knockdownThe amount of knockdown to apply after slip.
slip_alwaysFALSE if you want no slip shoes to make you immune to the slip
slip_chanceThe chance that walking over the parent will slip you.
slip_tilesThe amount of tiles someone will be moved after slip.
slip_verbThe verb that players will see when someone slips on the parent. In the form of "You [slip_verb]ped on".
walking_is_safeTRUE If this slip can be avoided by walking.

Procs

SlipCalled whenever the parent receives either the MOVABLE_CROSSED signal or the ATOM_ENTERED signal.

Var Details

description

Text that gets displayed in the slip proc, i.e. "user slips on [description]"

horizontal_required

TRUE the player will only slip if the mob this datum is attached to is horizontal

knockdown

The amount of knockdown to apply after slip.

slip_always

FALSE if you want no slip shoes to make you immune to the slip

slip_chance

The chance that walking over the parent will slip you.

slip_tiles

The amount of tiles someone will be moved after slip.

slip_verb

The verb that players will see when someone slips on the parent. In the form of "You [slip_verb]ped on".

walking_is_safe

TRUE If this slip can be avoided by walking.

Proc Details

Slip

Called whenever the parent receives either the MOVABLE_CROSSED signal or the ATOM_ENTERED signal.

Calls the victim's slip() proc with the component's variables as arguments. Additionally calls the parent's after_slip() proc on the victim.