mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user