mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 16:07:36 +01:00
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user