This commit is contained in:
parent
b06dc2c0d0
commit
73a43ed06a
3 changed files with 39 additions and 7 deletions
|
|
@ -258,10 +258,10 @@ namespace Server.Items
|
|||
}
|
||||
else
|
||||
{
|
||||
if ( relay.Text.Length > 64 )
|
||||
m_Target.EngravedText = relay.Text.Substring( 0, 64 );
|
||||
if( relay.Text.Length > 64 )
|
||||
m_Target.EngravedText = Utility.FixHtml( relay.Text.Substring( 0, 64 ) );
|
||||
else
|
||||
m_Target.EngravedText = relay.Text;
|
||||
m_Target.EngravedText = Utility.FixHtml( relay.Text );
|
||||
|
||||
state.Mobile.SendLocalizedMessage( 1072361 ); // You engraved the object.
|
||||
m_Target.InvalidateProperties();
|
||||
|
|
|
|||
|
|
@ -3073,8 +3073,23 @@ namespace Server.Items
|
|||
else
|
||||
list.Add( Name );
|
||||
|
||||
/*
|
||||
* Want to move this to the engraving tool, let the non-harmful
|
||||
* formatting show, and remove CLILOCs embedded: more like OSI
|
||||
* did with the books that had markup, etc.
|
||||
*
|
||||
* This will have a negative effect on a few event things imgame
|
||||
* as is.
|
||||
*
|
||||
* If we cant find a more OSI-ish way to clean it up, we can
|
||||
* easily put this back, and use it in the deserialize
|
||||
* method and engraving tool, to make it perm cleaned up.
|
||||
*/
|
||||
|
||||
if ( !String.IsNullOrEmpty( m_EngravedText ) )
|
||||
list.Add( 1062613, Utility.FixHtml( m_EngravedText ) );
|
||||
list.Add( 1062613, m_EngravedText );
|
||||
|
||||
/* list.Add( 1062613, Utility.FixHtml( m_EngravedText ) ); */
|
||||
}
|
||||
|
||||
public override bool AllowEquipedCast( Mobile from )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue