Apply suggestions from code review

p.them suggestions

Co-Authored-By: Kyep <16434066+Kyep@users.noreply.github.com>
This commit is contained in:
Tayyyyyyy
2018-11-25 03:23:18 +00:00
committed by GitHub
co-authored by Kyep
parent b50016891e
commit e7e4a277b1
+2 -2
View File
@@ -63,12 +63,12 @@
return
if(target.mind.isblessed)
to_chat(user, "[target] already has the aura of one who is blessed. Blessing them again would be pointless.")
to_chat(user, "[target] already has the aura of one who is blessed. Blessing [target.p_them()] again would be pointless.")
revert_cast()
return
spawn(0) // allows cast to complete even if recipient ignores the prompt
if(alert(target, "[user] wants to bless you, in the name of their religion. Accept?","Accept Blessing?","Yes","No") == "Yes") // prevents forced conversions
if(alert(target, "[user] wants to bless you, in the name of [user.p_their()] religion. Accept?", "Accept Blessing?", "Yes", "No") == "Yes") // prevents forced conversions
user.visible_message("[user] starts blessing [target] in the name of [ticker.Bible_deity_name].", "<span class='notice'>You start blessing [target] in the name of [ticker.Bible_deity_name].</span>")
if(do_after(user, 150, target = target))
user.visible_message("[user] has blessed [target] in the name of [ticker.Bible_deity_name].", "<span class='notice'>You have blessed [target] in the name of [ticker.Bible_deity_name].</span>")