diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index bf283c1fd50..0897af04ad7 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -78,7 +78,6 @@ var/list/admin_verbs_admin = list( /client/proc/response_team, // Response Teams admin verb, /client/proc/toggle_antagHUD_use, /client/proc/toggle_antagHUD_restrictions, - /client/proc/allow_character_respawn, // Allows a ghost to respawn , /client/proc/allow_stationbound_reset, /client/proc/end_round, /client/proc/event_manager_panel, @@ -423,7 +422,8 @@ var/list/admin_verbs_mod = list( /client/proc/check_ai_laws, /*shows AI and borg laws*/ /client/proc/aooc, /client/proc/toggle_aooc, - /client/proc/alooc + /client/proc/alooc, + /client/proc/allow_character_respawn ) var/list/admin_verbs_dev = list( //will need to be altered - Ryan784 @@ -1362,4 +1362,4 @@ var/list/admin_verbs_cciaa = list( if(target.mob in messagemobs) prefix = "" if((target.mob in messagemobs) || display_remote) - to_chat(target, "" + create_text_tag("ALOOC", target) + " [prefix][display_name][admin_stuff]: [msg]") \ No newline at end of file + to_chat(target, "" + create_text_tag("ALOOC", target) + " [prefix][display_name][admin_stuff]: [msg]") diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 3ca96528586..897f3a5f180 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -416,6 +416,7 @@ Traitors and the like can also be revived with the previous role mostly intact. set category = "Special Verbs" set name = "Respawn Character" set desc = "Respawn a person that has been gibbed/dusted/killed. They must be a ghost for this to work and preferably should not have a body to go back into." + if(!holder) to_chat(src, "Only administrators may use this command.") return diff --git a/code/modules/admin/view_variables/topic.dm b/code/modules/admin/view_variables/topic.dm index e30571226eb..c90476ee886 100644 --- a/code/modules/admin/view_variables/topic.dm +++ b/code/modules/admin/view_variables/topic.dm @@ -8,7 +8,8 @@ //~CARN: for renaming mobs (updates their name, real_name, mind.name, their ID/PDA and datacore records). else if(href_list["rename"]) - if(!check_rights(R_VAREDIT|R_DEV)) return + if(!check_rights(R_VAREDIT|R_DEV|R_MOD)) + return var/mob/M = locate(href_list["rename"]) if(!istype(M)) diff --git a/html/changelogs/mattatlas-mod.yml b/html/changelogs/mattatlas-mod.yml new file mode 100644 index 00000000000..553273b5d4d --- /dev/null +++ b/html/changelogs/mattatlas-mod.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: MattAtlas + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - admin: "Moderators may now respawn players and change names from VV."