Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
27
Scripts/VendorInfo/PresetMapBuy.cs
Normal file
27
Scripts/VendorInfo/PresetMapBuy.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class PresetMapBuyInfo : GenericBuyInfo
|
||||
{
|
||||
private readonly PresetMapEntry m_Entry;
|
||||
public PresetMapBuyInfo(PresetMapEntry entry, int price, int amount)
|
||||
: base(entry.Name.ToString(), null, price, amount, 0x14EC, 0)
|
||||
{
|
||||
m_Entry = entry;
|
||||
}
|
||||
|
||||
public override bool CanCacheDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public override IEntity GetEntity()
|
||||
{
|
||||
return new PresetMap(m_Entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user