mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
Change the admin message for prays to only show the deity if it's a chaplain/cultist (#20562)
* Change the deity to only appear if the pray comes from a chaplain * Actually declares the var
This commit is contained in:
@@ -20,13 +20,13 @@
|
||||
var/image/cross = image('icons/obj/storage.dmi',"bible")
|
||||
var/font_color = "purple"
|
||||
var/prayer_type = "PRAYER"
|
||||
var/deity = "Space Jesus" // y'all need space jesus by default
|
||||
if (ticker && ticker.Bible_deity_name)
|
||||
deity = ticker.Bible_deity_name
|
||||
var/deity
|
||||
if(usr.job == "Chaplain")
|
||||
cross = image('icons/obj/storage.dmi',"kingyellow")
|
||||
font_color = "blue"
|
||||
prayer_type = "CHAPLAIN PRAYER"
|
||||
if (ticker && ticker.Bible_deity_name)
|
||||
deity = ticker.Bible_deity_name
|
||||
else if(iscultist(usr))
|
||||
cross = image('icons/obj/storage.dmi',"tome")
|
||||
font_color = "red"
|
||||
@@ -34,7 +34,7 @@
|
||||
deity = "Nar-Sie"
|
||||
|
||||
msg = "<span class='adminnotice'>\icon[cross] \
|
||||
<b><font color=[font_color]>[prayer_type] (to [deity]): </font>\
|
||||
<b><font color=[font_color]>[prayer_type][deity ? " (to [deity])" : ""]: </font>\
|
||||
[ADMIN_FULLMONTY(src)] [ADMIN_SC(src)]:</b> \
|
||||
[msg]</span>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user