You could use the full code for function in BKfunctions.rpy starting about line 232 (add comment to credit Goldo),1) I'll try to make First name display the first word in the directory, with last name displaying whatever else is left.
Code:
def get_name(dir, full=False):
""" Breaks down a dir name into a first name/last name """
## Only works with formats like "name", "name surname" or "name_surname". The "_" operator takes precedence over " ",
## which could be useful for composed first names
Code:
first, last = get_name(self.path)
I'd vote for including everything after the (first name + delimiter) into the last name field, for user to edit.If you want Leortha to be really happy, only the last of the rest would be nice.![]()
Then it works if the folder is "Asuka (EVA) Langley" or "Asuka Langley (EVA)".
Last edited: