mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Fixing dev's perms (#5687)
As per skull request, the PR was reworked. Dev rank does not contain spawning capabilities on its own. Kill Air now prompts user if they really want to disable air processing. Only if we are trying to disable it
This commit is contained in:
committed by
Erki
parent
0d3ae944c0
commit
498bb3d9d4
@@ -1009,7 +1009,7 @@ proc/admin_notice(var/message, var/rights)
|
||||
set desc = "(atom path) Spawn an atom"
|
||||
set name = "Spawn"
|
||||
|
||||
if(!check_rights(R_SPAWN|R_DEV)) return
|
||||
if(!check_rights(R_SPAWN)) return
|
||||
|
||||
var/list/types = typesof(/atom)
|
||||
var/list/matches = new()
|
||||
|
||||
@@ -341,8 +341,6 @@ var/list/admin_verbs_mod = list(
|
||||
|
||||
var/list/admin_verbs_dev = list( //will need to be altered - Ryan784
|
||||
///datum/admins/proc/restart,
|
||||
/datum/admins/proc/spawn_atom, //allows us to spawn instances,
|
||||
/client/proc/game_panel, // GUI spawn
|
||||
/client/proc/Jump,
|
||||
/client/proc/jumptokey, /*allows us to jump to the location of a mob with a certain ckey*/
|
||||
/client/proc/jumptomob, /*allows us to jump to a specific mob*/
|
||||
@@ -766,10 +764,12 @@ var/list/admin_verbs_cciaa = list(
|
||||
set desc = "Toggle Air Processing"
|
||||
if(!SSair.can_fire)
|
||||
SSair.enable()
|
||||
usr << "<b>Enabled air processing.</b>"
|
||||
to_chat(usr, "<b>Enabled air processing.</b>")
|
||||
else
|
||||
if(alert("Confirm disabling air processing?",,"Yes","No") == "No")
|
||||
return
|
||||
SSair.disable()
|
||||
usr << "<b>Disabled air processing.</b>"
|
||||
to_chat(usr, "<b>Disabled air processing.</b>")
|
||||
feedback_add_details("admin_verb","KA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
log_admin("[key_name(usr)] used 'kill air'.",admin_key=key_name(usr))
|
||||
message_admins("<span class='notice'>[key_name_admin(usr)] used 'kill air'.</span>", 1)
|
||||
|
||||
Reference in New Issue
Block a user