master files standards cleanup (#13693)

* master files code formatting standards

* replace spaces with tabs IN MASTER FILES and add spaces after comments
This commit is contained in:
Tom
2022-05-23 11:39:14 +01:00
committed by GitHub
parent 9d4b4e8816
commit acba80306c
83 changed files with 535 additions and 535 deletions
@@ -7,14 +7,14 @@ GLOBAL_VAR_INIT(dchat_allowed, TRUE)
toggle_dchat()
log_admin("[key_name(usr)] toggled dead chat.")
message_admins("[key_name_admin(usr)] toggled dead chat.")
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle DCHAT", "[GLOB.dchat_allowed ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle DCHAT", "[GLOB.dchat_allowed ? "Enabled" : "Disabled"]")) // If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/proc/toggle_dchat(toggle = null)
if(toggle != null) //if we're specifically en/disabling dead chat
if(toggle != null) // if we're specifically en/disabling dead chat
if(toggle != GLOB.dchat_allowed)
GLOB.dchat_allowed = toggle
else
return
else //otherwise just toggle it
else // otherwise just toggle it
GLOB.dchat_allowed = !GLOB.dchat_allowed
to_chat(world, span_oocplain("<B>The dead chat channel has been globally [GLOB.dchat_allowed ? "enabled" : "disabled"].</B>"))