cult logs

This commit is contained in:
DeityLink
2015-08-19 16:01:19 +02:00
parent d9413f79f1
commit c07c053e03
4 changed files with 21 additions and 7 deletions

View File

@@ -68,6 +68,14 @@
if (config.log_whisper)
diary << html_decode("\[[time_stamp()]]WHISPER: [text]")
/proc/log_cultspeak(text)
if (config.log_whisper)
diary << html_decode("\[[time_stamp()]]CULT: [text]")
/proc/log_narspeak(text)
if (config.log_whisper)
diary << html_decode("\[[time_stamp()]]NARSIE: [text]")
/proc/log_emote(text)
// //writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/log_emote() called tick#: [world.time]")
if (config.log_emote)

View File

@@ -202,15 +202,18 @@
M << "<span class='sinister'>Assist your new compatriots in their dark dealings. Their goal is yours, and yours is theirs. You serve the Dark One above all else. Bring It back.</span>"
M << "<span class='sinister'>You can now speak and understand the forgotten tongue of the occult.</span>"
M.add_language("Cult")
log_admin("[usr]([ckey(usr.key)]) has converted [M] ([ckey(M.key)]) to the cult at [M.loc.x], [M.loc.y], [M.loc.z]")
log_admin("[usr]([ckey(usr.key)]) has converted [M] ([ckey(M.key)]) to the cult at <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[M.loc.x];Y=[M.loc.y];Z=[M.loc.z]'>([M.loc.x], [M.loc.y], [M.loc.z])</a>")
if(M.client)
src = null
sleep(100)//10 seconds sounds good
spawn(600)
if(M && !M.client)
message_admins("[M] ([ckey(M.key)]) ghosted/disconnected shortly after having been converted to the cult!")
log_admin("[M]([ckey(M.key)]) ghosted/disconnected shortly after having been converted to the cult!")
var/turf/T = get_turf(M)
message_admins("[M] ([ckey(M.key)]) ghosted/disconnected less than a minute after having been converted to the cult! ([T.x],[T.y],[T.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)")
log_admin("[M]([ckey(M.key)]) ghosted/disconnected less than a minute after having been converted to the cult! ([T.x],[T.y],[T.z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[T.x];Y=[T.y];Z=[T.z]'>JMP</a>)")
return 1
else
usr << "<span class='danger'>The ritual didn't work, either something is disrupting it, or this person just isn't suited to be part of our cult.</span>"
if(M.silent && M.weakened)
usr << "<span class='danger'>You have to restrain him before the talisman's effects wear off!</span>"
M << "<span class='sinister'>Your blood pulses. Your head throbs. The world goes red. All at once you are aware of a horrible, horrible truth. The veil of reality has been ripped away and in the festering wound left behind something sinister takes root.</span>"
M << "<span class='danger'>And you were able to force it out of your mind. You now know the truth, there's something horrible out there, stop it and its minions at all costs.</span>"
return 0
@@ -792,6 +795,8 @@
for(var/mob/dead/observer/O in player_list)
O << "<span class='game say'><b>[user.real_name]</b> communicates, <span class='sinister'>[input]</span></span>"
log_cultspeak("[key_name(user)] Cult Communicate Rune: [input]")
qdel(src)
return 1

View File

@@ -1640,6 +1640,7 @@
O << "<span class='game say'><span class='danger'>Nar-Sie</span> murmurs, <span class='sinister'>[input]</span></span>"
message_admins("Admin [key_name_admin(usr)] has talked with the Voice of Nar-Sie.")
log_narspeak("[key_name(usr)] Voice of Nar-Sie: [input]")
else if(href_list["cult_privatespeak"])
var/mob/M = locate(href_list["cult_privatespeak"])

View File

@@ -207,7 +207,7 @@ var/list/department_radio_keys = list(
send_speech(message, message_range, speaking, src, bubble_type)
var/turf/T = get_turf(src)
log_say("[name]/[key] [T?"(@[T.x],[T.y],[T.z])":"(@[x],[y],[z])"]: [speaking ? "As [speaking.name] ":""] [message]")
log_say("[name]/[key] [T?"(@[T.x],[T.y],[T.z])":"(@[x],[y],[z])"] [speaking ? "As [speaking.name] ":""]: [message]")
return 1