Guncode Agony 3: Projectile code cleanup (#87628)

## About The Pull Request

Massive cleanup/pseudo-refactor of projectile and projectile-adjacent
code. One letter variables, weird logic, some runtimes, all of that.
Atomized in a separate PR from the actual refactor so we don't end up
with a 5k line PR.

## Why It's Good For The Game

Makes the code possible to work with before I nuke pixel_move and kevinz
units™️
This commit is contained in:
SmArtKar
2024-11-03 21:46:13 +00:00
committed by GitHub
parent 6403b5cf33
commit 0b99107cc2
25 changed files with 343 additions and 338 deletions
@@ -186,7 +186,7 @@
// "Stun" weapons can cause minor damage to components (short-circuits?)
// "Burn" damage is equally strong against internal components and exterior casing
// "Brute" damage mostly damages the casing.
/obj/machinery/modular_computer/bullet_act(obj/projectile/Proj)
return cpu?.bullet_act(Proj) || ..()
/obj/machinery/modular_computer/bullet_act(obj/projectile/proj)
return cpu?.bullet_act(proj) || ..()
#undef CPU_INTERACTABLE