MAN I AM JUST SO MANY KINDS OF DERP TODAY

uploaded an old item.dm, this should be the right one (should be meaning it is because i just made super sure)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2712 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2011-12-17 03:19:56 +00:00
parent 9acbbe7f1f
commit fc005237c1
+4 -1
View File
@@ -177,7 +177,10 @@
/obj/item/attackby(obj/item/weapon/W as obj, mob/user as mob)
if (istype(W, /obj/item/weapon/packageWrap))
var/obj/item/weapon/packageWrap/O = W
if (O.amount > 1)
if(!istype(loc,/turf))
user << "\red You need to place the item on the ground before wrapping it!"
return
else if (O.amount > 1)
var/obj/item/smallDelivery/P = new /obj/item/smallDelivery(get_turf(src.loc))
P.wrapped = src