From 245591be9535ca8382d2deb830463f422bbf7876 Mon Sep 17 00:00:00 2001 From: Victor Zisthus <56660717+VictorZisthus@users.noreply.github.com> Date: Sun, 3 Jul 2022 23:06:28 -0400 Subject: [PATCH] Shuttle/Voidcraft Hotfix Updates Shuttlecraft and Voidcraft to be visible by bullet penetration code. Things designed to fly in space at high speeds with lots of little rocks present are not gonna feel bullets all that much. --- code/modules/projectiles/projectile/bullets.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/projectiles/projectile/bullets.dm b/code/modules/projectiles/projectile/bullets.dm index 6931b0e4e7..efc3717dbc 100644 --- a/code/modules/projectiles/projectile/bullets.dm +++ b/code/modules/projectiles/projectile/bullets.dm @@ -58,6 +58,10 @@ if(D.glass) chance *= 2 else if(istype(A, /obj/structure/girder)) chance = 100 + else if(istype(A, /obj/machinery/door/airlock/voidcraft)) //CHOMPEDIT Begin, lets the code see shuttlecraft structures and not treat them as air. + chance = 0 + else if(istype(A, /turf/simulated/shuttle/wall)) + chance = 0 //CHOMPEDIT End. Yeah, shuttlecraft can handle small arms fire just fine. if(prob(chance)) if(A.opacity)