You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/client/proc/YogsPPoptions(mob/M) // why is this client and not /datum/admins? noone knows, in PP src == client, instead of holder. wtf. - I'm confused too man
var/body="<br>"
if(M.client)
body +="<A href='?_src_=holder;[HrefToken()];makementor=[M.ckey]'>Make mentor</A> | "
body +="<A href='?_src_=holder;[HrefToken()];wikimentor=[M.ckey]'>Make Wiki mentor</A> | "
body +="<A href='?_src_=holder;[HrefToken()];removementor=[M.ckey]'>Remove mentor</A>"
return body
/datum/admins/proc/togglelooc()
set category ="Server"
set desc ="can you even see verb descriptions anywhere?"
elseif(isAIShell(S)) // done separately from cyborgs since it's a bit of a snowflake case
var/mob/living/silicon/robot/R= S
do_show_laws =FALSE
if(R.connected_ai)
msg = span_adminnotice("<font color='tomato'>AI SHELL</font> [key_name(S,usr)] laws are synced with [R.connected_ai].")
elseif(S.ckey) // wtf??
msg = span_adminnotice("<font color='tomato'>AI SHELL</font> [key_name(S,usr)] is not properly connected to the AI that controls it. Laws:")
do_show_laws =TRUE
else
msg = span_adminnotice("<font color='tomato'>AI SHELL</font> [S] is empty.")
elseif(iscyborg(S))
var/mob/living/silicon/robot/R= S
if(R.connected_ai)
if(R.lawupdate)
msg = span_adminnotice("<font color='tomato'>CYBORG</font> [key_name(S,usr)] laws are synced with [R.connected_ai].")
do_show_laws =FALSE
else
msg = span_adminnotice("<font color='tomato'>CYBORG</font> [key_name(S,usr)] is <font color='tomato'>desynced</font> but enslaved to [R.connected_ai], with following laws:")
else
msg = span_adminnotice("<font color='tomato'>CYBORG</font> [key_name(S,usr)] is <font color='white'>independent</font> with following laws:")
to_chat_immediate(usr,span_warning("Lawset has no laws."), confidential=TRUE)
continue
for(var/lawin printable_laws)
to_chat_immediate(usr,span_notice(law), confidential=TRUE) // We use to_chat_immediate to make sure that no batching takes place between identical lawsets.