Paradise 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]"
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".
stunThe amount of stun to apply after slip.
walking_is_safeTRUE If this slip can be avoided by walking.
weakenThe amount of weaken to apply after slip.

Procs

SlipCalled whenever the parent recieves 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]"

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".

stun

The amount of stun to apply after slip.

walking_is_safe

TRUE If this slip can be avoided by walking.

weaken

The amount of weaken to apply after slip.

Proc Details

Slip

Called whenever the parent recieves 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.