trail_holder 
Vars | |
trail_components | All the components of the trail |
---|---|
Procs | |
add_dir_to_trail | Add a new direction to this trail |
get_trail_component | Returns the trail component corresponding to the given direction |
Var Details
trail_components 
All the components of the trail
Proc Details
add_dir_to_trail
Add a new direction to this trail
- new_dir: The direction to add
- source - Mob we're sourcing blood from, if any
- blood_to_add - Amount of bloodiness to give to the new component. Does not adjust this decal's own bloodiness
- half_piece - If TRUE, only creates start of a trail. Does not support corners (diagonal directions) This can be a cardinal direction, a diagonal direction, or a negative number to denote a cardinal direction angled 45 degrees.
Returns the new trail, a /obj/effect/decal/cleanable/blood/trail
get_trail_component
Returns the trail component corresponding to the given direction
- for_dir: The direction to get the trail for
- check_reverse: If TRUE, will also check for the reverse direction For example if you pass dir = EAST it will return the first EAST or WEST trail component
- check_diagonals: If TRUE, will also check for any diagonal directions For example if you pass dir = EAST it will return the first EAST, NORTHEAST, or SOUTHEAST trail component
- check_reverse_diagonals: If TRUE, will also check for any reverse diagonal directions For example if you pass dir = EAST it will return the first SOUTHEAST, EAST, NORTHEAST, WEST, SOUTHWEST, or NORTHWEST trail component