Add themselves as a pronoun helper, fixes some usages of it (#20184)

* Add themselves helper

* Testing and replacing

* Fixes some non-standard usages
This commit is contained in:
Luc
2023-01-20 19:28:48 -05:00
committed by GitHub
parent aec7c3ff3f
commit 9ba005de9f
32 changed files with 76 additions and 43 deletions
@@ -717,7 +717,7 @@
update_flags |= M.adjustBruteLoss(5, FALSE)
M.Weaken(10 SECONDS)
M.AdjustJitter(12 SECONDS)
M.visible_message("<span class='danger'>[M] falls to the floor, scratching [M.p_them()]self violently!</span>")
M.visible_message("<span class='danger'>[M] falls to the floor, scratching [M.p_themselves()] violently!</span>")
M.emote("scream")
return ..() | update_flags
@@ -74,7 +74,7 @@
if(ignore_flags || M.can_inject(user, TRUE))
if(M == user)
M.visible_message("[user] begins mending [user.p_them()]self with [src].", "<span class='notice'>You begin mending yourself with [src].</span>")
M.visible_message("[user] begins mending [user.p_themselves()] with [src].", "<span class='notice'>You begin mending yourself with [src].</span>")
else
user.visible_message("<span class='warning'>[user] begins mending [M] with [src].</span>", "<span class='notice'>You begin mending [M] with [src].</span>")
if(M.reagents)