mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-17 05:32:27 +00:00
Lets you pet pAIs on help intent. (#3874)
* Allows you to pet pAIs. * user.name, not user * minor fix
This commit is contained in:
@@ -363,8 +363,11 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
/mob/living/silicon/pai/attack_hand(mob/user as mob)
|
/mob/living/silicon/pai/attack_hand(mob/user as mob)
|
||||||
visible_message("<span class='danger'>[user.name] boops [src] on the head.</span>")
|
if(user.a_intent == I_HELP)
|
||||||
close_up()
|
visible_message("<span class='notice'>[user.name] pats [src].</span>")
|
||||||
|
else
|
||||||
|
visible_message("<span class='danger'>[user.name] boops [src] on the head.</span>")
|
||||||
|
close_up()
|
||||||
|
|
||||||
//I'm not sure how much of this is necessary, but I would rather avoid issues.
|
//I'm not sure how much of this is necessary, but I would rather avoid issues.
|
||||||
/mob/living/silicon/pai/proc/close_up()
|
/mob/living/silicon/pai/proc/close_up()
|
||||||
|
|||||||
Reference in New Issue
Block a user