Fix cyborgs not being able to cook

*Cyborgs can now put oven dishes in the oven with their grippers
*Cyborgs can now put things into oven dishes with their grippers
This commit is contained in:
Meghan-Rossi
2020-08-17 04:31:18 +01:00
parent 812d341ff5
commit 1d8a623972
4 changed files with 13 additions and 3 deletions
+6 -1
View File
@@ -430,11 +430,16 @@ var/list/global/slot_flags_enumeration = list(
return 1
/obj/item/proc/mob_can_unequip(mob/M, slot, disable_warning = 0)
if(!slot) return 0
if(!M) return 0
if(!canremove)
return 0
if(!slot)
if(issilicon(M))
return 1 // for stuff in grippers
return 0
if(!M.slot_is_accessible(slot, src, disable_warning? null : M))
return 0
return 1