mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-13 17:23:44 +01:00
[MIRROR] cleans up robot gripper code (#12388)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a450bdfcf0
commit
cbb200e0db
@@ -171,6 +171,12 @@ handles linking back and forth.
|
||||
if(istype(target, /obj/item/storage/bag/sheetsnatcher))
|
||||
return mat_container.OnSheetSnatcher(source, user, target)
|
||||
|
||||
if(istype(target, /obj/item/gripper))
|
||||
var/obj/item/gripper/robot_gripper = target
|
||||
target = robot_gripper.get_wrapped_item()
|
||||
attempt_insert(user, target)
|
||||
return FALSE
|
||||
|
||||
return attempt_insert(user, target)
|
||||
|
||||
/// Insert mats into silo
|
||||
|
||||
Reference in New Issue
Block a user