mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Poly can no longer grab inside disposals. (#16068)
* Poly can no longer grab inside disposals. * Update code/modules/mob/living/simple_animal/parrot.dm Spacing from SabreML Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
@@ -562,7 +562,9 @@
|
||||
if(held_item)
|
||||
to_chat(src, "<span class='warning'>You are already holding [held_item]</span>")
|
||||
return 1
|
||||
|
||||
if(istype(loc, /obj/machinery/disposal) || istype(loc, /obj/structure/disposalholder))
|
||||
to_chat(src, "<span class='warning'>You are inside a disposal chute!</span>")
|
||||
return 1
|
||||
for(var/obj/item/I in view(1, src))
|
||||
//Make sure we're not already holding it and it's small enough
|
||||
if(I.loc != src && I.w_class <= WEIGHT_CLASS_SMALL)
|
||||
|
||||
Reference in New Issue
Block a user