Shutter and Table Tweaks

-Can no longer climb onto tables that are inside solid objects.
-Added shutters to HoP Office
-Fixed Psych Office shutters button so that it is linked to the Psych
Office shutters and not the ones in surgery.
This commit is contained in:
DZD
2014-10-05 22:19:09 -04:00
parent a10b1538f7
commit 2668bb6f9b
2 changed files with 9262 additions and 9252 deletions
+8
View File
@@ -50,6 +50,14 @@
if (!can_touch(user) || !climbable)
return
for(var/obj/O in range(0, src))
if(O.density == 1)
user << "\red You cannot climb a [src] blocked by a solid object!"
return
for(var/turf/T in range(0, src))
if(T.density == 1)
user << "\red You cannot climb a [src] blocked by a solid object!"
return
var/turf/T = src.loc
if(!T || !istype(T)) return