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,70 @@
using System;
using Server.Items;
namespace Server.Engines.Craft
{
public abstract class CustomCraft
{
private readonly Mobile m_From;
private readonly CraftItem m_CraftItem;
private readonly CraftSystem m_CraftSystem;
private readonly Type m_TypeRes;
private readonly ITool m_Tool;
private readonly int m_Quality;
public CustomCraft(Mobile from, CraftItem craftItem, CraftSystem craftSystem, Type typeRes, ITool tool, int quality)
{
this.m_From = from;
this.m_CraftItem = craftItem;
this.m_CraftSystem = craftSystem;
this.m_TypeRes = typeRes;
this.m_Tool = tool;
this.m_Quality = quality;
}
public Mobile From
{
get
{
return this.m_From;
}
}
public CraftItem CraftItem
{
get
{
return this.m_CraftItem;
}
}
public CraftSystem CraftSystem
{
get
{
return this.m_CraftSystem;
}
}
public Type TypeRes
{
get
{
return this.m_TypeRes;
}
}
public ITool Tool
{
get
{
return this.m_Tool;
}
}
public int Quality
{
get
{
return this.m_Quality;
}
}
public abstract void EndCraftAction();
public abstract Item CompleteCraft(out int message);
}
}