Pets shouldn't attack when told to 'stay' - http://jira.runuo.com/browse/RUNUO-99

Cu Sidhe incorrect name - http://jira.runuo.com/browse/RUNUO-98
Small CharacterStatue improvements - http://jira.runuo.com/browse/RUNUO-97
This commit is contained in:
athena 2011-11-27 03:03:18 +00:00
parent 1d2a2d7783
commit 7bd20d02cd
4 changed files with 26 additions and 19 deletions

View file

@ -73,12 +73,14 @@ namespace Server.Mobiles
public Mobile SculptedBy
{
get{ return m_SculptedBy; }
set{ m_SculptedBy = value; InvalidateProperties(); }
}
[CommandProperty( AccessLevel.GameMaster )]
public DateTime SculptedOn
{
get{ return m_SculptedOn; }
set{ m_SculptedOn = value; }
}
private CharacterStatuePlinth m_Plinth;
@ -130,8 +132,8 @@ namespace Server.Mobiles
if ( m_SculptedBy != null )
{
if ( m_SculptedBy.Title != null )
list.Add( 1076202, m_SculptedBy.Title + " " + m_SculptedBy.Name ); // Sculpted by ~1_Name~
if ( m_SculptedBy.ShowFameTitle && ( m_SculptedBy.Player || m_SculptedBy.Body.IsHuman ) && m_SculptedBy.Fame >= 10000 )
list.Add( 1076202, String.Format( "{0} {1}", m_SculptedBy.Female ? "Lady" : "Lord", m_SculptedBy.Name ) ); // Sculpted by ~1_Name~
else
list.Add( 1076202, m_SculptedBy.Name ); // Sculpted by ~1_Name~
}
@ -284,6 +286,7 @@ namespace Server.Mobiles
{
Name = from.Name;
BodyValue = from.BodyValue;
Female = from.Female;
HairItemID = from.HairItemID;
FacialHairItemID = from.FacialHairItemID;
}

View file

@ -113,7 +113,7 @@ namespace Server.Items
AddPage( 0 );
AddImage( 0, 0, 0x24F4 );
AddHtml( 55, 50, 150, 20, statue.Name, false, false );
AddHtml( 55, 75, 150, 20, statue.SculptedOn.ToString( "G", new CultureInfo("de-DE") ), false, false );
AddHtml( 55, 75, 150, 20, statue.SculptedOn.ToString(), false, false );
AddHtmlLocalized( 55, 100, 150, 20, GetTypeNumber( statue.StatueType ), 0, false, false );
}