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
@@ -8,6 +8,8 @@
anchored = TRUE
flags = ON_BORDER
flags_2 = RAD_PROTECT_CONTENTS_2
flags_ricochet = RICOCHET_HARD
receive_ricochet_chance_mod = 0.5
can_be_unanchored = TRUE
max_integrity = 25
resistance_flags = ACID_PROOF