#W# Initial Commit: Avatars Conquest

This commit is contained in:
WarrentyExpired 2026-07-03 20:19:48 -04:00
commit 8eae46895e
7512 changed files with 416187 additions and 0 deletions

View file

@ -0,0 +1,30 @@
using System;
using Server.Items;
namespace Server.ContextMenus
{
public class OpenInnEntry : ContextMenuEntry
{
private Mobile m_Innkeeper;
public OpenInnEntry( Mobile from, Mobile inn ) : base( 6105, 12 )
{
m_Innkeeper = inn;
}
public override void OnClick()
{
if ( !Owner.From.CheckAlive() )
return;
if ( Owner.From.Criminal )
{
m_Innkeeper.Say( 500378 ); // Thou art a criminal and cannot access thy inn chest.
}
else
{
this.Owner.From.InnBox.Open();
}
}
}
}