Descriptive Titles

This commit is contained in:
SabreML
2021-09-16 23:44:05 +01:00
parent ec1b49875f
commit a720a6fab2
4 changed files with 7 additions and 1 deletions
+2
View File
@@ -1,9 +1,11 @@
GLOBAL_VAR(create_mob_html)
/datum/admins/proc/create_mob(mob/user)
if(!GLOB.create_mob_html)
var/mobjs = null
mobjs = jointext(typesof(/mob), ";")
GLOB.create_mob_html = file2text('html/create_object.html')
GLOB.create_mob_html = replacetext(GLOB.create_mob_html, "$ATOM$", "Mob")
GLOB.create_mob_html = replacetext(GLOB.create_mob_html, "null /* object types */", "\"[mobjs]\"")
user << browse(replacetext(GLOB.create_mob_html, "/* ref src */", UID()), "window=create_mob;size=425x475")