Server.Mobiles.BaseCreature.AddNameProperties C# (CSharp) Method

AddNameProperties() public method

public AddNameProperties ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
return void
        public override void AddNameProperties( ObjectPropertyList list )
        {
            base.AddNameProperties( list );

            if ( Core.ML )
            {
                if ( DisplayWeight )
                    list.Add( TotalWeight == 1 ? 1072788 : 1072789, TotalWeight.ToString() ); // Weight: ~1_WEIGHT~ stones

                if ( m_ControlOrder == OrderType.Guard )
                    list.Add( 1080078 ); // guarding
            }

            if ( Summoned && !IsAnimatedDead && !IsNecroFamiliar )
                list.Add( 1049646 ); // (summoned)
            else if ( Controlled && Commandable )
            {
                if ( IsBonded )	//Intentional difference (showing ONLY bonded when bonded instead of bonded & tame)
                    list.Add( 1049608 ); // (bonded)
                else
                    list.Add( 502006 ); // (tame)
            }
        }
BaseCreature