mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 16:44:43 +01:00
Adds dextrous guardian (#19254)
Added dextrous guardians to the code, able to hold and use items and store a single item within themselves. Dextrous guardians do low damage on punches, have medium damage resist, and recalling or leashing will force them to drop any items in their hands.
This commit is contained in:
@@ -43,10 +43,11 @@ var/datum/events/keycard_events = new()
|
||||
|
||||
/obj/machinery/keycard_auth/ui_status(mob/user)
|
||||
if(isanimal(user))
|
||||
user << "<span class='warning'>You are too primitive to use this device!</span>"
|
||||
else
|
||||
return ..()
|
||||
return UI_CLOSE
|
||||
var/mob/living/simple_animal/A = user
|
||||
if(!A.dextrous)
|
||||
user << "<span class='warning'>You are too primitive to use this device!</span>"
|
||||
return UI_CLOSE
|
||||
return ..()
|
||||
|
||||
/obj/machinery/keycard_auth/ui_act(action, params)
|
||||
if(..() || waiting || !allowed(usr))
|
||||
|
||||
Reference in New Issue
Block a user