mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 12:43:13 +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
|
||||
|
||||
/mob/living/silicon/pai/attack_hand(mob/user as mob)
|
||||
visible_message("<span class='danger'>[user.name] boops [src] on the head.</span>")
|
||||
close_up()
|
||||
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>")
|
||||
close_up()
|
||||
|
||||
//I'm not sure how much of this is necessary, but I would rather avoid issues.
|
||||
/mob/living/silicon/pai/proc/close_up()
|
||||
|
||||
Reference in New Issue
Block a user