Merge pull request #16117 from SatinIsle/OOC-escape

OOC Escape Food
This commit is contained in:
Novacat
2024-07-20 08:07:51 -04:00
committed by GitHub
+8
View File
@@ -526,6 +526,14 @@
forceMove(get_turf(src))
log_and_message_admins("[key_name(src)] used the OOC escape button to get out of a microwave.")
//You are in food and for some reason can't resist out
else if(istype(loc, /obj/item/weapon/reagent_containers/food))
var/obj/item/weapon/reagent_containers/food/F = src.loc
if(F.food_inserted_micros)
F.food_inserted_micros -= src
src.forceMove(get_turf(F))
log_and_message_admins("[key_name(src)] used the OOC escape button to get out of a food item.")
//Don't appear to be in a vore situation
else
to_chat(src,"<span class='alert'>You aren't inside anyone, though, is the thing.</span>")