Converting to uppercase in fight.c combat messages?

  • Sapphire
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 days 20 hours ago #8395 by Sapphire
I'm trying to make my fight/combat messages for melee weapon type damage display the name of the enemy in all uppercase text, but I cannot seem to figure out how to make this work. Does anyone have an idea for how to make this work?

Please Log in or Create an account to join the conversation.

More
2 days 16 hours ago #8396 by WhiskyTest
Damage messages all go through the act() function. Any changes you make there will affect the whole Mud though..
It wouldn't be a straightforward undertaking I suspect

Please Log in or Create an account to join the conversation.

More
18 hours 12 minutes ago #8397 by thomas
In your messages, add $U before $N :

Your smash obliterates $U$N!

This is the "uppercase next word" flag. Alternatively, add $u after:

Your smash obliterates $N$u!

Which uses the "uppercase previous word" method.

Please Log in or Create an account to join the conversation.

Time to create page: 1.003 seconds