Flagging a Questmaster for players to see.
- rudeboyrave
-
Topic Author
- Offline
- Premium Member
-
Less
More
8 years 4 months ago #5067
by rudeboyrave
CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.
Flagging a Questmaster for players to see. was created by rudeboyrave
in act.informative.c in function list_one_char search for FROZEN and below the frozen flag pop in something like this
that will put a (!) in front of any questmasters seen in game.
if (!IS_NPC(i) && PRF_FLAGGED(i, PRF_FROZEN))
send_to_char(ch, "(FROZEN)");
+ if (IS_NPC(i) && GET_MOB_SPEC(i) == questmaster)
+ send_to_char(ch, "(!)");
that will put a (!) in front of any questmasters seen in game.
CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.
The following user(s) said Thank You: Liko, zusuk
Please Log in or Create an account to join the conversation.
- Liko
-
- Offline
- Platinum Member
-
Less
More
- Posts: 452
- Thank you received: 78
8 years 4 months ago #5068
by Liko
Thank you. :) I added something like this earlier. You beat me to it.
Randian(0.0.0)
Owner/Developer
Replied by Liko on topic Flagging a Questmaster for players to see.
rudeboyrave wrote: in act.informative.c in function list_one_char search for FROZEN and below the frozen flag pop in something like this
if (!IS_NPC(i) && PRF_FLAGGED(i, PRF_FROZEN)) send_to_char(ch, "(FROZEN)"); + if (IS_NPC(i) && GET_MOB_SPEC(i) == questmaster) + send_to_char(ch, "(!)");
that will put a (!) in front of any questmasters seen in game.
Thank you. :) I added something like this earlier. You beat me to it.
Randian(0.0.0)
Owner/Developer
Please Log in or Create an account to join the conversation.
- JTP
- Offline
- Platinum Member
-
Less
More
- Posts: 937
- Thank you received: 17
6 years 9 months ago #5720
by JTP
Replied by JTP on topic Flagging a Questmaster for players to see.
Can't find frozen anywhere. So where should i put it in to Work ?
Please Log in or Create an account to join the conversation.
- thomas
-
- Offline
- Administrator
-
Less
More
- Posts: 792
- Thank you received: 153
6 years 9 months ago #5723
by thomas
Somewhere below this line: github.com/tbamud/tbamud/blob/master/src/act.informative.c#L324
Replied by thomas on topic Flagging a Questmaster for players to see.
in act.informative.c in function list_one_char
Somewhere below this line: github.com/tbamud/tbamud/blob/master/src/act.informative.c#L324
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds