mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user