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:
Joan Lung
2016-07-12 19:25:00 -04:00
committed by oranges
parent 7100277ca3
commit fe28096320
23 changed files with 351 additions and 169 deletions
@@ -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))