Where does this get used?

More
7 months 1 week ago - 7 months 1 week ago #10040 by mr514
Where does this get used? was created by mr514
Hello everyone, hope all is well.

At approx line 331 in src/act.informative.c the following can be found..
        send_to_char(ch, "(Blue Aura) ");
This occurs again at line 389 which is used when a player looks in a room.
Does anyone know where the first one is used??
I am adding an outlaw player flag and have marked them numerically such that when I look in the room I get Outlaw_2
and outlaw_3 in the who list but have yet to see outlaw_1. Thanks for any help. Good luck and be safe all.

I am now fairly certain it pertains to mobs... having no mobs at this time I have noted it and will test asap.
Last edit: 7 months 1 week ago by mr514. Reason: I looked it over again.

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

More
7 months 1 week ago #10043 by thomas
Replied by thomas on topic Where does this get used?
The code around line 331 looks like this:
    if (AFF_FLAGGED(ch, AFF_DETECT_ALIGN)) {
      if (IS_EVIL(i))
	send_to_char(ch, "(Red Aura) ");
      else if (IS_GOOD(i))
	send_to_char(ch, "(Blue Aura) ");
    }
As you see, the "blue aura" requires both the player to be affected by "detect alignment" and the target to be good aligned.

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

More
7 months 1 week ago #10045 by mr514
Replied by mr514 on topic Where does this get used?
Thanks. Yes, I now have this right after it...
send_to_char(ch, "(Blue Aura) ");
}
/* mr514 */
if (PLR_FLAGGED(i, PLR_OUTLAW)) {
send_to_char(ch, "(Outlaw_1) ");
}
send_to_char(ch, "%s", i->player.long_descr);

if (AFF_FLAGGED(i, AFF_SANCTUARY))
But I can not see Outlaw_1, I have that 3 times in this file, once here, once for look and once for who. I am assuming this is for mobs.

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

Time to create page: 0.136 seconds