mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Apply suggestions from code review
p.them suggestions Co-Authored-By: Kyep <16434066+Kyep@users.noreply.github.com>
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user