mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user