Lets you pet pAIs on help intent. (#3874)

* Allows you to pet pAIs.

* user.name, not user

* minor fix
This commit is contained in:
Belsima
2017-09-22 02:21:38 -04:00
committed by Anewbe
parent cb222cafbf
commit 7e3dc535e2

View File

@@ -363,6 +363,9 @@
return return
/mob/living/silicon/pai/attack_hand(mob/user as mob) /mob/living/silicon/pai/attack_hand(mob/user as mob)
if(user.a_intent == I_HELP)
visible_message("<span class='notice'>[user.name] pats [src].</span>")
else
visible_message("<span class='danger'>[user.name] boops [src] on the head.</span>") visible_message("<span class='danger'>[user.name] boops [src] on the head.</span>")
close_up() close_up()