[MIRROR] Robot Mining ID (#8945)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-09-11 10:00:41 +02:00
committed by GitHub
co-authored by Heroman3003 Kashargul
parent 8289b0ae21
commit 13cdbc6d82
4 changed files with 30 additions and 3 deletions
@@ -43,7 +43,7 @@
if(istype(I, /obj/item/weapon/card/id))
if(!powered())
return
if(!inserted_id && user.unEquip(I))
if(!inserted_id && (user.unEquip(I) || isrobot(user)))
I.forceMove(src)
inserted_id = I
SStgui.update_uis(src)
@@ -347,4 +347,3 @@
#undef PROCESS_SMELT
#undef PROCESS_COMPRESS
#undef PROCESS_ALLOY
@@ -268,7 +268,7 @@
if(istype(I,/obj/item/weapon/card/id))
if(!powered())
return
else if(!inserted_id && user.unEquip(I))
else if(!inserted_id && (user.unEquip(I) || isrobot(user)))
I.forceMove(src)
inserted_id = I
tgui_interact(user)