[MAJOR CHANGE] Admin rank datum (#17133)

* Admin ranks update

* Permissions fix

* One missing thing

* Further rework to make database also fully work

* Adds admin rank bitflag calculator to tools

* ZA WARUDO

---------

Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
Selis
2025-03-06 01:38:19 +01:00
committed by GitHub
parent caec59322e
commit 7a7ae89713
88 changed files with 1993 additions and 904 deletions
+1 -1
View File
@@ -467,7 +467,7 @@
set category = "OOC.Game"
var/is_admin = 0
if(client.holder && (client.holder.rights & R_ADMIN|R_EVENT))
if(check_rights_for(client, R_ADMIN|R_EVENT))
is_admin = 1
else if(stat != DEAD || isnewplayer(src))
to_chat(src, span_filter_notice("[span_blue("You must be observing to use this!")]"))