Fixes Anime Names

casually forgetting that gender defines are numbers
This commit is contained in:
Remie Richards
2016-06-17 15:35:42 +01:00
committed by GitHub
parent eea7d5f93d
commit 89c9f6d86d
+2 -2
View File
@@ -404,9 +404,9 @@
H.dna.features["ears"] = "Cat"
var/seifuku = pick(typesof(/obj/item/clothing/under/schoolgirl))
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/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/newname = "[names[2]]-[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)