Setting 1st char in Name to Lower Case
Posted: Thu Mar 13, 2008 10:33 pm
Hello there,
I have noticed that when interacting with other characters whose name you do not know that the a/an +adjective+race String is capitolized.
Example:
A skinny human looks at A fat dwarf.
(should be)
A skinny human looks at a fat dwarf.
And I was wondering if this could be modified using a simple loop on the long name (not sure if that is the term used here) checking the characters for isalpha() (should be anyway) and then setting the first letter (in the example, the "A" in "A fat dwarf") using tolower().
I think it could make things a bit more immersive, as I find little things like this somewhat jarring.
Not a pressing issue, I understand, but I think it would be nice.
Edit:
While thinking about this I think it may be easier (there I go, thinking again...) to make all the (long) names start with lowercase, and then just have the first letter of the sentence that starts with them capitolized.
I have noticed that when interacting with other characters whose name you do not know that the a/an +adjective+race String is capitolized.
Example:
A skinny human looks at A fat dwarf.
(should be)
A skinny human looks at a fat dwarf.
And I was wondering if this could be modified using a simple loop on the long name (not sure if that is the term used here) checking the characters for isalpha() (should be anyway) and then setting the first letter (in the example, the "A" in "A fat dwarf") using tolower().
I think it could make things a bit more immersive, as I find little things like this somewhat jarring.
Not a pressing issue, I understand, but I think it would be nice.
Edit:
While thinking about this I think it may be easier (there I go, thinking again...) to make all the (long) names start with lowercase, and then just have the first letter of the sentence that starts with them capitolized.