How can I hide a attribute?

Submitted by javelin on Mon, 2012-02-13 19:49

How can I hide a attribute?

I am a wizard on a mush. I have set up in the hard code to add a few attributes to the player on player creation. That is working fine but I do not know what flags to use to hide the attribute so mortal players can not see the attributes that I have set. Thank you for any help that you can give me.

2002-Dec-31 6:05pm ctempleton3

The mortal_dark attribute flag. It's AF_MDARK in the hardcode. If you're using atr_add() to set the attributes without adding the attribute to the main table in hdrs/atr_tab.h, it should be the last argument to atr_add(), instead of NOTHING.
It's usually easier, btw, to do this sort of thing in softcode. I usually have an @aconnect in player_start (Set wizard, of course, so it can modify players) to set up initial attributes.

2003-Jan-12 1:58am shawnw