Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
using System;
using Server.Mobiles;
using Server.Network;
using Server.Services.Virtues;
namespace Server.Gumps
{
public class HonorSelf : Gump
{
readonly PlayerMobile m_from;
public HonorSelf(PlayerMobile from)
: base(150, 50)
{
this.m_from = from;
this.AddBackground(0, 0, 245, 145, 9250);
this.AddButton(157, 101, 247, 248, 1, GumpButtonType.Reply, 0);
this.AddButton(81, 100, 241, 248, 0, GumpButtonType.Reply, 0);
this.AddHtml(21, 20, 203, 70, @"Are you sure you want to use honor points on yourself?", true, false);
}
public override void OnResponse(NetState sender, RelayInfo info)
{
if (info.ButtonID == 1)
{
HonorVirtue.ActivateEmbrace(this.m_from);
}
else
{
return;
}
}
}
}