From 1e67cf25485c6bb37e25edf27a458ff814d4cc61 Mon Sep 17 00:00:00 2001 From: DZD Date: Mon, 10 Nov 2014 19:34:35 -0500 Subject: [PATCH] Table Climbing Block Formatting Fixes Just a little bit of formatting improvements to the table climbing block in case of solid object, fixes issue with having "You cannot climb a the reinforced table," and specifies what object is in the way of climbing. --- code/game/objects/structures.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures.dm b/code/game/objects/structures.dm index 1e81e53bdd0..d732b5b1b07 100644 --- a/code/game/objects/structures.dm +++ b/code/game/objects/structures.dm @@ -52,11 +52,11 @@ for(var/obj/O in range(0, src)) if(O.density == 1 && O != src && !istype(O, /obj/machinery/door/window)) //Ignores windoors, as those already block climbing, otherwise a windoor on the opposite side of a table would prevent climbing. - user << "\red You cannot climb a [src] blocked by a solid object!" + user << "\red You cannot climb [src], as it is blocked by \a [O]!" 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!" + user << "\red You cannot climb [src], as it is blocked by \a [T]!" return var/turf/T = src.loc if(!T || !istype(T)) return