Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,66 @@
using System;
using System.Collections.Generic;
using System.Text;
using Server.ContextMenus;
using Server.Items;
namespace Server.ACC.YS
{
public class StairRefundEntry : ContextMenuEntry
{
private Mobile m_From;
private YardStair m_Stair;
private int value = 0;
public StairRefundEntry(Mobile from, YardStair stair, int price)
: base(6104, 9)
{
m_From = from;
m_Stair = stair;
value = price;
}
public override void OnClick()
{
m_Stair.Refund();
}
}
public class YardSecurityEntry : ContextMenuEntry
{
private Mobile m_From;
private BaseDoor m_Gate;
public YardSecurityEntry(Mobile from, YardGate gate)
: base(6203, 9)
{
m_From = from;
m_Gate = gate;
}
public override void OnClick()
{
m_From.SendGump(new YardSecurityGump(m_From, m_Gate));
}
}
public class RefundEntry : ContextMenuEntry
{
private Mobile m_From;
private YardGate m_Gate;
private int value = 0;
public RefundEntry(Mobile from, YardGate gate, int price)
: base(6104, 9)
{
m_From = from;
m_Gate = gate;
value = price;
}
public override void OnClick()
{
m_Gate.Refund();
}
}
}