mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
cleans up robot gripper code (#19153)
* cleans up robot gripper code * try to select next * . * . * wtf * . * . * ye that * dripper table palcement * add that * actually fine * better * clean that * Cell hitting --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
4fcae21e4d
commit
0c23b94075
@@ -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