mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] More admin verb conversion & Secrets panel overhaul (#11124)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
873fa555c2
commit
a3028dcb9e
@@ -600,6 +600,7 @@ GLOBAL_VAR_INIT(floorIsLava, 0)
|
||||
popup.set_content(dat)
|
||||
popup.open()
|
||||
|
||||
/*
|
||||
/datum/admins/proc/Secrets(var/datum/admin_secret_category/active_category = null)
|
||||
if(!check_rights(0)) return
|
||||
|
||||
@@ -626,6 +627,7 @@ GLOBAL_VAR_INIT(floorIsLava, 0)
|
||||
popup.set_content(dat)
|
||||
popup.open()
|
||||
return
|
||||
*/
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////admins2.dm merge
|
||||
//i.e. buttons/verbs
|
||||
@@ -1299,27 +1301,6 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
message_admins(span_blue("[key_name_admin(usr)] toggled guests game entering [CONFIG_GET(flag/guests_allowed)?"":"dis"]allowed."), 1)
|
||||
feedback_add_details("admin_verb","TGU") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/admins/proc/output_ai_laws()
|
||||
var/ai_number = 0
|
||||
for(var/mob/living/silicon/S in mob_list)
|
||||
ai_number++
|
||||
if(isAI(S))
|
||||
to_chat(usr, span_bold("AI [key_name(S, usr)]'s laws:"))
|
||||
else if(isrobot(S))
|
||||
var/mob/living/silicon/robot/R = S
|
||||
to_chat(usr, span_bold("CYBORG [key_name(S, usr)] [R.connected_ai?"(Slaved to: [R.connected_ai])":"(Independent)"]: laws:"))
|
||||
else if (ispAI(S))
|
||||
to_chat(usr, span_bold("pAI [key_name(S, usr)]'s laws:"))
|
||||
else
|
||||
to_chat(usr, span_bold("SOMETHING SILICON [key_name(S, usr)]'s laws:"))
|
||||
|
||||
if (S.laws == null)
|
||||
to_chat(usr, "[key_name(S, usr)]'s laws are null?? Contact a coder.")
|
||||
else
|
||||
S.laws.show_laws(usr)
|
||||
if(!ai_number)
|
||||
to_chat(usr, span_bold("No AIs located")) //Just so you know the thing is actually working and not just ignoring you.
|
||||
|
||||
/client/proc/update_mob_sprite(mob/living/carbon/human/H as mob)
|
||||
set category = "Admin.Game"
|
||||
set name = "Update Mob Sprite"
|
||||
|
||||
Reference in New Issue
Block a user