// AddHtmlLocalized( 75, 224, 220, 60, 1052062, false, false ); // Click on a blue gem to view your status in that virtue.
AddHtml( 75, 224, 220, 60, String.Format("<basefont color=#{0:X6}>{1}", System.Drawing.Color.LimeGreen.ToArgb(), "Click on a blue gem to view your status in that virtue." ), false, false );
public override void OnResponse( NetState state, RelayInfo info )
{
switch ( info.ButtonID )
{
/*
case 1:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051000, 1052051, m_Beholder.Virtues.Humility ) );
break;
}
*/
case 1:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Humility", "Humility is perceiving one's place in the world, not according to one's own accomplishments, but according to the intrinsic value of all individuals. One gains Humility through helping young players.", m_Beholder.Virtues.Humility ) );
break;
}
/*
case 2:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051001, 1052053, m_Beholder.Virtues.Sacrifice ) );
break;
}
*/
case 2:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Sacrifice", "", m_Beholder.Virtues.Sacrifice ) );
break;
}
/*
case 3:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051002, 1053000, m_Beholder.Virtues.Compassion ) );
break;
}
*/
case 3:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Compassion", "", m_Beholder.Virtues.Compassion ) );
break;
}
/*
case 4:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051003, 1052056, m_Beholder.Virtues.Spirituality ) );
break;
}
*/
case 4:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Spirituality", "", m_Beholder.Virtues.Spirituality ) );
break;
}
/*
case 5:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051004, 1054033, m_Beholder.Virtues.Valor ) );
break;
}
*/
case 5:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Valor", "", m_Beholder.Virtues.Valor ) );
break;
}
/*
case 6:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051005, 1052058, m_Beholder.Virtues.Honor ) );
break;
}
*/
case 6:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Honor", "", m_Beholder.Virtues.Honor ) );
break;
}
/*
case 7:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051006, 1052059, m_Beholder.Virtues.Justice ) );
break;
}
*/
case 7:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Justice", "", m_Beholder.Virtues.Justice ) );
break;
}
/*
case 8:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, 1051007, 1052060, m_Beholder.Virtues.Honesty ) );
break;
}
*/
case 8:
{
m_Beholder.SendGump( new VirtueInfoGump( m_Beholder, "Honesty", 1052060, m_Beholder.Virtues.Honesty ) );
break;
}
case 9:
{
m_Beholder.SendGump( new VirtueGump( m_Beholder, m_Beholder ) );
break;
}
}
}
}
}
[]
now here is the lines and error i am getting
virtuestatusgump.cs:cs1002: line 75, column 32) ; expected
virtuestatusgump.cs:cs1002: line 75, column 32) identifier expected
[code]
case 1:
{
m_Beholder.SendGump String.Format( new VirtueInfoGump( m_Beholder, "Humility", "Humility is perceiving one's place in the world, not according to one's own accomplishments, but according to the intrinsic value of all individuals. One gains Humility through helping young players.", m_Beholder.Virtues.Humility ) );
break;
}