The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

Capitalization in mob default string

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Building
View previous topic :: View next topic  
Author Message
Danny S



Joined: 12 Jul 2005
Posts: 59

PostPosted: Thu Dec 14, 2006 11:01 am    Post subject: Capitalization in mob default string Reply with quote

Hi guys,

I've got a mob that needs to have capitals in its default desc. I've tried using colour codes and nothing works. The first letter stays capitalized though:

A lion of Rome stands here.

becomes:

A lion of rome stands here.

Any ideas?


Back to top
View user's profile Send private message
Tristan
Moderator (of death!!)


Joined: 21 Apr 2004
Posts: 387
Location: US

PostPosted: Thu Dec 14, 2006 1:26 pm    Post subject: Reply with quote

You should be able to just manually edit the area file and replace rome with Rome.


Back to top
View user's profile Send private message Send e-mail Visit poster's website
spilinek



Joined: 17 Sep 2003
Posts: 217
Location: Massachusetts, USA

PostPosted: Thu Dec 14, 2006 3:10 pm    Post subject: Reply with quote

I tested this out and the problem is not the OLC but how the look command displays the default string. Medit and mstat correctly display the default string.



_________________
"Beer is proof that God loves us and wants us to be happy." -- Benjamin Franklin
Back to top
View user's profile Send private message MSN Messenger
spilinek



Joined: 17 Sep 2003
Posts: 217
Location: Massachusetts, USA

PostPosted: Thu Dec 14, 2006 3:20 pm    Post subject: Reply with quote

Traced the root of this in the code in case you want to change it.

do_look() > show_char_to_char() > show_char_to_char1() > LONGPERS() > capitalize()

The capitalize() function capitalizes the first character and lower cases the rest of the string.



_________________
"Beer is proof that God loves us and wants us to be happy." -- Benjamin Franklin
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Building All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin