New janicart sprites/features

This commit is contained in:
Aronai Sieyes
2020-05-17 16:49:03 -04:00
parent 94c02f85c1
commit 03c805a34a
5 changed files with 198 additions and 42 deletions
@@ -729,3 +729,12 @@
/obj/item/weapon/storage/AllowDrop()
return TRUE
//Useful for spilling the contents of containers all over the floor
/obj/item/weapon/storage/proc/spill(var/dist = 2, var/turf/T = null)
if (!istype(T))//If its not on the floor this might cause issues
T = get_turf(src)
for (var/obj/O in contents)
remove_from_storage(O, T)
O.tumble(2)