-You can no longer package wrap intercoms

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3165 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2012-02-21 18:34:16 +00:00
parent 13c9b65332
commit d21a726006
2 changed files with 3 additions and 0 deletions
@@ -89,6 +89,7 @@
log_attack("<font color='blue'>[user] ([user.ckey]) has used [src.name] on \ref[target]</font>")
if (istype(target, /obj/item))
var/obj/item/O = target
if(O.anchored) return
if(!istype(loc,/turf))
user << "\red You need to place the item on the ground before wrapping it!"
return
@@ -129,6 +130,7 @@
/obj/item/proc/wrap(obj/item/I as obj, mob/user as mob)
if(istype(I, /obj/item/weapon/packageWrap))
var/obj/item/weapon/packageWrap/C = I
if(src.anchored) return
if(!istype(src.loc,/turf))
user << "\red You need to place the item on the ground before wrapping it!"
return