Mind Binder food and cryo fixes (#8148)

This commit is contained in:
Eli
2024-04-05 16:46:01 +11:00
committed by GitHub
parent 948991b060
commit b324c516f6
2 changed files with 6 additions and 3 deletions

View File

@@ -423,9 +423,11 @@
for(var/obj/item/W in items)
if(islist(W.possessed_voice)) //CHOMPAdd
W.forceMove(get_turf(src)) //CHOMPAdd - this crashes the MC, so now they get spat back out.
items -= W
continue //CHOMPAdd
for(var/mob/living/V in W.possessed_voice) //CHOMPEdit - Revert temporary patch
//CHOMPEdit Start - Don't try and despawn, instead just ghost and delete, same as item destruction
V.ghostize(0)
qdel(V)
//CHOMPEdit End
//VOREStation Addition Start
if(istype(W, /obj/item/device/pda))
var/obj/item/device/pda/found_pda = W

View File

@@ -56,6 +56,7 @@
pixel_y = (CELLSIZE * (0.5 + cell_y)) - center_of_mass["y"]
/obj/item/weapon/reagent_containers/food/container_resist(mob/living/M)
if(istype(M, /mob/living/voice)) return // CHOMPAdd - Stops sentient food from astral projecting
if(food_inserted_micros)
food_inserted_micros -= M
M.forceMove(get_turf(src))