mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
[s] Removes something (#22927)
* Eyyyy my shitcode works * Comment * Let's not use the proc here
This commit is contained in:
@@ -56,6 +56,11 @@
|
||||
if(isstorage(loc) && !istype(loc, /obj/item/storage/backpack/holding))
|
||||
to_chat(usr, "<span class='warning'>You can't seem to fit [I] into [src].</span>")
|
||||
return FALSE
|
||||
if(ishuman(loc)) // If the trashbag is on a humanoid, they can't store things in it while it's in their pockets
|
||||
var/mob/living/carbon/human/H = loc
|
||||
if(H.l_store == src || H.r_store == src)
|
||||
to_chat(usr, "<span class='warning'>You can't seem to fit [I] into [src].</span>")
|
||||
return FALSE
|
||||
. = ..()
|
||||
|
||||
/obj/item/storage/bag/trash/Initialize(mapload)
|
||||
|
||||
Reference in New Issue
Block a user