[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:
CHOMPStation2StaffMirrorBot
2026-02-07 23:14:07 -07:00
committed by GitHub
parent a450bdfcf0
commit cbb200e0db
20 changed files with 515 additions and 439 deletions
+7
View File
@@ -177,6 +177,13 @@
. += "It has a power rating of [maxcharge]."
. += "The charge meter reads [round(src.percent() )]%."
/obj/item/cell/attack(mob/living/M, mob/living/user, var/target_zone, var/attack_modifier)
if(isrobot(M))
var/mob/living/silicon/robot/target = M
if(target.opened)
return FALSE
..()
/obj/item/cell/attackby(obj/item/W, mob/user)
..()
if(istype(W, /obj/item/reagent_containers/syringe))