mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
chaplain can no longer tell who is already blessed
This commit is contained in:
@@ -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++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user