Welcome to the Builder Academy

Question Relationship Colours

More
13 Jun 2015 05:04 - 13 Jun 2015 05:06 #5340 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!


Attachment RelationshipColors.zip not found

Attachments:
Last edit: 13 Jun 2015 05:06 by WhiskyTest.
The following user(s) said Thank You: Kyle

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

More
13 Jun 2015 13:58 #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
rumble@tbamud.com

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

Time to create page: 0.618 seconds