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.
This commit is contained in:
Victor Zisthus
2022-07-03 23:06:28 -04:00
parent acb9521a80
commit 245591be95
@@ -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)