White Sands - Modules - TypesVar Details - Proc Details

/datum/component/footstep

Footstep component. Plays footsteps at parents location when it is appropriate.

Vars

e_rangee_range stands for extra range - aka how far the sound can be heard. This is added to the base value and ignored if there isn't a base value.
footstep_soundsThis can be a list OR a soundfile OR null. Determines whatever sound gets played.
footstep_typefootstep_type is a define which determines what kind of sounds should get chosen.
stepsHow many steps the parent has taken since the last time a footstep was played.
volumevolume determines the extra volume of the footstep. This is multiplied by the base volume, should there be one.

Procs

prepare_stepPrepares a footstep. Determines if it should get played. Returns the turf it should get played on. Note that it is always a /turf/open

Var Details

e_range

e_range stands for extra range - aka how far the sound can be heard. This is added to the base value and ignored if there isn't a base value.

footstep_sounds

This can be a list OR a soundfile OR null. Determines whatever sound gets played.

footstep_type

footstep_type is a define which determines what kind of sounds should get chosen.

steps

How many steps the parent has taken since the last time a footstep was played.

volume

volume determines the extra volume of the footstep. This is multiplied by the base volume, should there be one.

Proc Details

prepare_step

Prepares a footstep. Determines if it should get played. Returns the turf it should get played on. Note that it is always a /turf/open