Expanded admin powers for full moderators. (#20522)

- Full moderators can now use rejuvenate.
- Full moderators can now spawn atoms.
- Full moderators can now remove/add languages.
- Full moderators can now teleport mobs.
- Repurposes R_BAN into a generic permission that full moderators and
above have, and locks teleport behind it.

None of these powers may be used for round-altering purposes. Pending
review by the head admin and the host.

To-do: check that Borealis and permissions in general don't explode with
these changes.

---------

Co-authored-by: realmattatlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2025-03-04 17:02:49 +00:00
committed by GitHub
co-authored by realmattatlas
parent 89262c487e
commit 14d7425cee
12 changed files with 134 additions and 70 deletions
+8 -8
View File
@@ -93,7 +93,7 @@
href_list["datumrefresh"] = href_list["give_spell"]
else if(href_list["godmode"])
if(!check_rights(R_REJUVINATE)) return
if(!check_rights(R_FUN)) return
var/mob/M = locate(href_list["godmode"])
if(!istype(M))
@@ -256,7 +256,7 @@
href_list["datumrefresh"] = href_list["rotatedatum"]
else if(href_list["makemonkey"])
if(!check_rights(R_SPAWN)) return
if(!check_rights(R_FUN)) return
var/mob/living/carbon/human/H = locate(href_list["makemonkey"])
if(!istype(H))
@@ -270,7 +270,7 @@
holder.Topic(href, list("monkeyone"=href_list["makemonkey"]))
else if(href_list["makerobot"])
if(!check_rights(R_SPAWN)) return
if(!check_rights(R_FUN)) return
var/mob/living/carbon/human/H = locate(href_list["makerobot"])
if(!istype(H))
@@ -284,7 +284,7 @@
holder.Topic(href, list("makerobot"=href_list["makerobot"]))
else if(href_list["makeslime"])
if(!check_rights(R_SPAWN)) return
if(!check_rights(R_FUN)) return
var/mob/living/carbon/human/H = locate(href_list["makeslime"])
if(!istype(H))
@@ -298,7 +298,7 @@
holder.Topic(href, list("makeslime"=href_list["makeslime"]))
else if(href_list["makeai"])
if(!check_rights(R_SPAWN)) return
if(!check_rights(R_FUN)) return
var/mob/living/carbon/human/H = locate(href_list["makeai"])
if(!istype(H))
@@ -312,7 +312,7 @@
holder.Topic(href, list("makeai"=href_list["makeai"]))
else if(href_list["setspecies"])
if(!check_rights(R_SPAWN)) return
if(!check_rights(R_FUN)) return
var/mob/living/carbon/human/H = locate(href_list["setspecies"])
if(!istype(H))
@@ -426,7 +426,7 @@
remove_verb(H, verb)
else if(href_list["addorgan"])
if(!check_rights(R_SPAWN)) return
if(!check_rights(R_FUN)) return
var/mob/living/carbon/M = locate(href_list["addorgan"])
if(!istype(M))
@@ -450,7 +450,7 @@
else if(href_list["remorgan"])
if(!check_rights(R_SPAWN)) return
if(!check_rights(R_FUN)) return
var/mob/living/carbon/M = locate(href_list["remorgan"])
if(!istype(M))