/datum/element/footstep
Footstep element. Plays footsteps at parents location when it is appropriate.
Vars | |
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. |
sound_vary | Whether or not to add variation to the sounds played |
steps_for_living | A list containing living mobs and the number of steps they have taken since the last time their footsteps were played. |
volume | volume determines the extra volume of the footstep. This is multiplied by the base volume, should there be one. |
Procs | |
play_simplestep_machine | Prepares a footstep for machine walking |
prepare_step | Prepares a footstep for living mobs. 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.
sound_vary
Whether or not to add variation to the sounds played
steps_for_living
A list containing living mobs and the number of steps they have taken since the last time their footsteps were played.
volume
volume determines the extra volume of the footstep. This is multiplied by the base volume, should there be one.
Proc Details
play_simplestep_machine
Prepares a footstep for machine walking
prepare_step
Prepares a footstep for living mobs. Determines if it should get played. Returns the turf it should get played on. Note that it is always a /turf/open