mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Merge pull request #16298 from Kashargul/Mining-Robot-ID
Robot Mining ID
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -310,7 +310,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)
|
||||
|
||||
Reference in New Issue
Block a user