Fixes stupid mononamers

But only because it would runtime.
This commit is contained in:
Remie Richards
2016-06-17 20:33:50 +01:00
committed by GitHub
parent 89c9f6d86d
commit 2bf7841de3
+2 -1
View File
@@ -406,7 +406,8 @@
var/obj/item/clothing/under/schoolgirl/I = new seifuku
var/list/honorifics = list("[MALE]" = list("kun"), "[FEMALE]" = list("chan","tan"), "[NEUTER]" = list("san")) //John Robust -> Robust-kun
var/list/names = splittext(H.real_name," ")
var/newname = "[names[2]]-[pick(honorifics["[H.gender]"])]"
var/forename = names.len > 1 ? names[2] : names[1]
var/newname = "[forename]-[pick(honorifics["[H.gender]"])]"
H.fully_replace_character_name(H.real_name,newname)
H.unEquip(H.w_uniform)
H.equip_to_slot_or_del(I, slot_w_uniform)