mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[MIRROR] Hands management element [MDB IGNORE] (#24257)
* Hands management element * Update basic.dm * Update dextrous.dm * Fix screenshot test --------- Co-authored-by: Jacquerel <hnevard@gmail.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -59,11 +59,10 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/keycard_auth, 26)
|
||||
/obj/machinery/keycard_auth/ui_status(mob/user)
|
||||
if(isdrone(user))
|
||||
return UI_CLOSE
|
||||
if(!isanimal(user))
|
||||
if(!isanimal_or_basicmob(user))
|
||||
return ..()
|
||||
var/mob/living/simple_animal/A = user
|
||||
if(!A.dextrous)
|
||||
to_chat(user, span_warning("You are too primitive to use this device!"))
|
||||
if(!HAS_TRAIT(user, TRAIT_CAN_HOLD_ITEMS))
|
||||
balloon_alert(user, "no hands!")
|
||||
return UI_CLOSE
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user