Merge pull request #11850 from Verkister/patch-99

Makes mob renaming not exclusive to vore subtype
This commit is contained in:
Casey
2021-11-18 16:39:50 -05:00
committed by GitHub
@@ -1,18 +1,21 @@
/mob/living/simple_mob/vore
mob_class = MOB_CLASS_ANIMAL
mob_bump_flag = 0
/mob/living/simple_mob
var/nameset
var/limit_renames = TRUE
/mob/living/simple_mob/vore/Login()
/mob/living/simple_mob/Login()
. = ..()
verbs |= /mob/living/simple_mob/vore/proc/set_name
verbs |= /mob/living/simple_mob/vore/proc/set_desc
verbs |= /mob/living/simple_mob/proc/set_name
verbs |= /mob/living/simple_mob/proc/set_desc
/mob/living/simple_mob/vore/proc/set_name()
/mob/living/simple_mob/proc/set_name()
set name = "Set Name"
set desc = "Sets your mobs name. You only get to do this once."
set category = "Abilities"
if(nameset)
if(limit_renames && nameset)
to_chat(src, "<span class='userdanger'>You've already set your name. Ask an admin to toggle \"nameset\" to 0 if you really must.</span>")
return
var/newname
@@ -22,7 +25,7 @@
voice_name = newname
nameset = 1
/mob/living/simple_mob/vore/proc/set_desc()
/mob/living/simple_mob/proc/set_desc()
set name = "Set Description"
set desc = "Set your description."
set category = "Abilities"
@@ -32,4 +35,4 @@
desc = newdesc
/mob/living/simple_mob/vore/aggressive
mob_bump_flag = HEAVY
mob_bump_flag = HEAVY