@NanakoAC This is your fault.
This commit is contained in:
skull132
2017-01-07 22:22:26 +02:00
committed by GitHub
parent 3180c7b1a3
commit d7060c0266
2 changed files with 10 additions and 6 deletions
@@ -46,12 +46,14 @@
update_icon()
/obj/machinery/modular_computer/console/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if(istype(mover,/obj/item/projectile))
if(istype(mover,/obj/item/projectile) && density)
if (prob(80))
//Holoscreens are non solid, and the frames of the computers are thin. So projectiles will usually
//pass through
return 1
else if(istype(mover) && mover.checkpass(PASSTABLE))
else
return 0
else if(isanimal(mover) && mover.checkpass(PASSTABLE))
//Animals can run under them, lots of empty space
return 1
return 0
return ..()