ObiOne
Member
Code:
public override void AddNameProperty(ObjectPropertyList list)
{
string oreType;
if (Hue == 0)
{
oreType = "";
}
else
{
switch (m_Resource)
{
case CraftResource.DullCopper: oreType = "dull copper"; break; // dull copper
case CraftResource.ShadowIron: oreType = "shadow iron"; break; // shadow iron
case CraftResource.Copper: oreType = "copper"; break; // copper
case CraftResource.Bronze: oreType = "bronze"; break; // bronze
case CraftResource.Gold: oreType = "gold"; break; // golden
case CraftResource.Agapite: oreType = "agapite"; break; // agapite
case CraftResource.Verite: oreType = "verite"; break; // verite
case CraftResource.Valorite: oreType = "valorite"; break; // valorite
case CraftResource.Silver: oreType = "silver"; break; // silver
case CraftResource.Platinum: oreType = "platinum"; break; // platinum
case CraftResource.Mythril: oreType = "mythril"; break; // mythril
case CraftResource.Obsidian: oreType = "obsidian"; break; // obsidian
case CraftResource.Jade: oreType = "jade"; break; // jade
case CraftResource.Moonstone: oreType = "moonstone"; break; // moonstone
case CraftResource.Sunstone: oreType = "sunstone"; break; // sunstone
case CraftResource.Bloodstone: oreType = "bloodstone"; break; // bloodstone
case CraftResource.SpinedLeather: oreType = "spined"; break; // spined
case CraftResource.HornedLeather: oreType = "horned"; break; // horned
case CraftResource.BarbedLeather: oreType = "barbed"; break; // barbed
case CraftResource.DragonLeather: oreType = "dragon"; break; // dragon
case CraftResource.DaemonLeather: oreType = "daemon"; break; // daemon
case CraftResource.RedScales: oreType = "red"; break; // red
case CraftResource.YellowScales: oreType = "yellow"; break; // yellow
case CraftResource.BlackScales: oreType = "black"; break; // black
case CraftResource.GreenScales: oreType = "green"; break; // green
case CraftResource.WhiteScales: oreType = "white"; break; // white
case CraftResource.BlueScales: oreType = "blue"; break; // blue
case CraftResource.Pine: oreType = "pine"; break; // pine
case CraftResource.Cedar: oreType = "cedar"; break; // cedar
case CraftResource.Cherry: oreType = "cherry"; break; // cherry
case CraftResource.Mahogany: oreType = "mahogany"; break; // mahogany
case CraftResource.OakWood: oreType = "oak"; break; // oak
case CraftResource.AshWood: oreType = "ash"; break; // ash
case CraftResource.YewWood: oreType = "yew"; break; // yew
case CraftResource.Heartwood: oreType = "heartwood"; break; // heartwood
case CraftResource.Bloodwood: oreType = "bloodwood"; break; // bloodwood
case CraftResource.Frostwood: oreType = "frostwood"; break; // frostwood
default: oreType = ""; break;
}
//if ( oreType != 0 )
list.Add(1053099, "{0}\t{1}", oreType, GetNameString()); // ~1_oretype~ ~2_armortype~
/*else if ( Name == null )
list.Add( LabelNumber );
else
list.Add( Name );*/
}