Matt's Bugfix Galore (#9816)

This commit is contained in:
Matt Atlas
2020-08-29 16:24:10 +02:00
committed by GitHub
parent 7e4db0b830
commit 5d875f9bb5
40 changed files with 168 additions and 136 deletions
@@ -37,6 +37,9 @@
if(mob_name_suffix)
pick_message = "[pick_message] Auto Suffix: \"[mob_name_suffix]\" "
mname = sanitizeSafe(input(user, pick_message, "Name for a [species] (without prefix/suffix)"))
if(!mname)
mname = pick(last_names)
if(mob_name_prefix)
mname = replacetext(mname,mob_name_prefix,"") //Remove the prefix if it exists in the string