#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.

This commit is contained in:
WarrentyExpired 2026-08-06 11:06:05 -04:00
parent b51c58f514
commit 3045c83799
3512 changed files with 627673 additions and 0 deletions

View file

@ -0,0 +1,35 @@
using System;
using Server;
using Server.Network;
using Server.Mobiles;
using Server.Accounting;
namespace Server.Gumps
{
public class HonorSelf: Gump
{
PlayerMobile m_from;
public HonorSelf( PlayerMobile from ) : base( 150, 50 )
{
m_from = from;
AddBackground(0, 0, 245, 145, 9250);
AddButton(157, 101, 247, 248, 1, GumpButtonType.Reply, 0);
AddButton(81, 100, 241, 248, 0, GumpButtonType.Reply, 0);
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(m_from);
}
else
{
return;
}
}
}
}