Refactors projectile ricochets (#25764)

* same taste, twice the speed

* pulls proc/handle_ricochet() to the atom level. adds var/flags_ricochet and related defines.

* space indentation sneaks its way in yet again

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
chuga-git
2024-06-12 14:08:57 -05:00
committed by GitHub
parent c46630b1ea
commit 438faac253
10 changed files with 86 additions and 37 deletions
+2
View File
@@ -3,6 +3,8 @@
pressure_resistance = 8
max_integrity = 300
face_while_pulling = TRUE
flags_ricochet = RICOCHET_HARD
receive_ricochet_chance_mod = 0.6
var/climbable
/// Determines if a structure adds the TRAIT_TURF_COVERED to its turf.
var/creates_cover = FALSE