DEV Flags + Perms + Verbs

The Dev Flag and status is back in game! As of right now, you will have
to play around with the values in regards to the defines in setup.dm
(specifically with CCIAA), but everything works fine, besides maybe Devs
having some verbs they shouldn't for some reason..

But besides that, it's peachy.
This commit is contained in:
Ryan784
2016-02-03 22:57:34 -05:00
parent 1e4745d2a8
commit 650c34ee4c
18 changed files with 114 additions and 42 deletions

View File

@@ -702,7 +702,7 @@ proc/admin_notice(var/message, var/rights)
dat += "<BR>"
if(check_rights(R_DEBUG,0))
if(check_rights(R_DEBUG|R_DEV,0))
dat += {"
<B>Security Level Elevated</B><BR>
<BR>
@@ -1351,7 +1351,7 @@ proc/admin_notice(var/message, var/rights)
return //Extra sanity check to make sure only observers are shoved into things
//Same as assume-direct-control perm requirements.
if (!check_rights(R_VAREDIT,0) || !check_rights(R_ADMIN|R_DEBUG,0))
if (!check_rights(R_VAREDIT,0) || !check_rights(R_ADMIN|R_DEBUG|R_DEV,0))
return 0
if (!frommob.ckey)
return 0