RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

!!Big Problem!!

Uo Man

Page
!!Big Problem!!

i added this line to base clothing it to show str reg 10 to cloths but when i try change any cloth name it dont show name shows str req only if i dont change name it stays but it not letting me change names plz help me here the line i added




public override void GetProperties( ObjectPropertyList list )
{
base.GetProperties( list );

if ( m_Crafter != null )
list.Add( 1050043, m_Crafter.Name ); // crafted by ~1_NAME~

if ( m_Quality == ClothingQuality.Exceptional )
list.Add( 1060636 ); // exceptional

base.AddResistanceProperties( list );

ObjectPropertyList opl = this.PropertyList;
opl.Add("Strength Requirement 10", m_StrReq );

}
 

Dantist

Wanderer
public override void GetProperties( ObjectPropertyList list )
{
base.GetProperties( list );

if ( m_Crafter != null )
list.Add( 1050043, m_Crafter.Name ); // crafted by ~1_NAME~

if ( m_Quality == ClothingQuality.Exceptional )
list.Add( 1060636 ); // exceptional

base.AddResistanceProperties( list );

list.Add("Strength Requirement {0}", m_StrReq );

}
 

Voran

Wanderer
Also, you should use the str req cliloc # instead of the string. UO item properties will only display 1 string in the name - any custom-named items will lose their name if you add another string.
 

Voran

Wanderer
Use the Cliloc number.
Open basearmour.cs, do a search for "strength requirement", and you should find the necessary entry in the GetProperties section.
Alternatively, use a cliloc viewer and search for the same thing in there.
 
Top