blood_walk ![code/datums/components/blood_walk.dm 2](git.png)
Blood walk, a component that causes you to make blood wherever you walk.
Vars | |
blood_remaining | How many blood pools can we create? If we reach 0, we will stop leaving blood and self delete |
---|---|
blood_spawn_chance | The chance of spawning blood whenever walking |
blood_type | Typepath of what blood decal we create on walk |
sound_played | The sound that plays when we spread blood. |
sound_volume | How loud will the sound be, if there is one. |
target_dir_change | Should the decal face the direction of the parent |
transfer_blood_dna | Should we transfer the parent's blood DNA to created blood decal |
Procs | |
spread_blood | Spawns blood (if possible) under the source, and plays a sound effect (if any) |
Var Details
blood_remaining ![code/datums/components/blood_walk.dm 7](git.png)
How many blood pools can we create? If we reach 0, we will stop leaving blood and self delete
blood_spawn_chance ![code/datums/components/blood_walk.dm 15](git.png)
The chance of spawning blood whenever walking
blood_type ![code/datums/components/blood_walk.dm 9](git.png)
Typepath of what blood decal we create on walk
sound_played ![code/datums/components/blood_walk.dm 11](git.png)
The sound that plays when we spread blood.
sound_volume ![code/datums/components/blood_walk.dm 13](git.png)
How loud will the sound be, if there is one.
target_dir_change ![code/datums/components/blood_walk.dm 17](git.png)
Should the decal face the direction of the parent
transfer_blood_dna ![code/datums/components/blood_walk.dm 21](git.png)
Should we transfer the parent's blood DNA to created blood decal
Proc Details
spread_blood
Spawns blood (if possible) under the source, and plays a sound effect (if any)