Relationship Colours

  • WhiskyTest
  • WhiskyTest's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
More
3 years 1 month ago - 3 years 1 month ago #5340 by WhiskyTest
Relationship Colours was created by WhiskyTest
Hello all,

This snippet will change the default colours of NPCs and PCs so that:
Friends appear green
Allies appear yellow
Enemies appear red

Currently players with NOHASSLE turned on are friends, all other players and mobs are allies, and KILLER/THIEF players are enemies.

It is simple enough to expand the conditions as to who are enemies and so forth, you could base it on Race/Class/Clans for example.

The code is adapted from LexiMUD, which is a derivative of CircleMUD.

Enjoy!


File Attachment:

File Name: Relationsh...lors.zip
File Size:2 KB
Attachments:
Last edit: 3 years 1 month ago by WhiskyTest.
The following user(s) said Thank You: Kyle

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

More
3 years 1 month ago #5341 by Rumble
Replied by Rumble on topic Relationship Colours
Great idea for a PK MUD, factions, races, etc. Thanks for sharing.

Rumble
The Builder Academy
tbamud.com 9091

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

Time to create page: 0.933 seconds