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