Borg Gripper Fixes, The Sequel (The ride never ends) (#12057)

This commit is contained in:
Doxxmedearly
2021-06-16 18:53:40 -03:00
committed by GitHub
parent 49dee42d9a
commit 2e6f5f6c0c
2 changed files with 13 additions and 3 deletions
@@ -255,12 +255,15 @@
return FALSE
/mob/living/silicon/robot/remove_from_mob(var/obj/O) //Necessary to clear gripper when trying to place items in things (grinders, smartfridges, vendors, etc)
drop_item()
if(istype(module_active, /obj/item/gripper))
var/obj/item/gripper/G = module_active
if(G.wrapped == O)
G.drop(get_turf(src), FALSE) //We don't need to see the "released X item" message if we're putting stuff in fridges and the like.
/mob/living/silicon/robot/drop_item()
if (istype(module_active, /obj/item/gripper))
if(istype(module_active, /obj/item/gripper))
var/obj/item/gripper/G = module_active
if (G.wrapped)
if(G.wrapped)
G.drop_item()
return
uneq_active()
@@ -0,0 +1,7 @@
author: Doxxmedearly
delete-after: True
changes:
- bugfix: "Borg grippers should pick up stacks of items correctly again, instead of dropping them each time a stack is merged."
- tweak: "Removed the message telling you that you released an item from your gripper when you're putting said item into something like a fridge or grinder."