chaplain can no longer tell who is already blessed

This commit is contained in:
Kyep
2018-11-25 16:33:21 -08:00
parent a8ce5cdc2a
commit 58ee1ce058
+3 -7
View File
@@ -62,16 +62,12 @@
revert_cast()
return
if(target.mind.isblessed)
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 [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>")
target.mind.isblessed = TRUE
user.mind.religious_favor++
if(!target.mind.isblessed)
target.mind.isblessed = TRUE
user.mind.religious_favor++