Add ConstructibleAttribute to types missing it that had it in RunUO (#94)

This commit is contained in:
Reetus 2020-02-22 12:34:40 +08:00 • committed by GitHub
parent f8f372ccb9
commit 63ad4087b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 26 additions and 0 deletions

View file

@ -29,6 +29,7 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int Bolts { get; set; }
[Constructible]
public ArcheryButte(int itemID = 0x100A) : base(itemID)
{
MinSkill = -25.0;

View file

@ -10,6 +10,7 @@ namespace Server.Items
public class CommodityDeed : Item
{
[Constructible]
public CommodityDeed(Item commodity = null) : base(0x14F0)
{
Weight = 1.0;

View file

@ -7,6 +7,7 @@ namespace Server.Items
{
private Item m_Stone;
[Constructible]
public GuildTeleporter(Item stone = null) : base(0x1869)
{
Weight = 1.0;

View file

@ -278,6 +278,7 @@ namespace Server.Items
private string m_GuildName;
[Constructible]
public GuildstoneDeed(Guild g = null, string guildName = null, string abbrev = null) :
base(0x14F0)
{

View file

@ -7,6 +7,7 @@ namespace Server.Items
{
private int m_Level;
[Constructible]
public MessageInABottle(Map map = null) : this(map, GetRandomLevel())
{
}

View file

@ -79,6 +79,7 @@ namespace Server.Items
private SlayerName m_Slayer;
private SlayerName m_Slayer2;
[Constructible]
public Spellbook(ulong content = 0, int itemID = 0xEFA) : base(itemID)
{
Attributes = new AosAttributes(this);

View file

@ -28,6 +28,7 @@ namespace Server.Items
{
}
[Constructible]
public RepairDeed(RepairSkillType skill = RepairSkillType.Smithing, double level = 100.0,
Mobile crafter = null, bool normalizeLevel = true) : base(0x14F0)
{

View file

@ -141,6 +141,11 @@ namespace Server.Items
[Flippable(0x104B, 0x104C)]
public class ClockRight : Clock
{
[Constructible]
public ClockRight() : base(0x104B)
{
}
public ClockRight(Serial serial) : base(serial)
{
}

View file

@ -10,6 +10,7 @@ namespace Server.Items
private Point3D m_PlotLocation;
private HouseRaffleStone m_Stone;
[Constructible]
public HouseRaffleDeed(HouseRaffleStone stone = null, Mobile m = null) : base(0x2830)
{
m_Stone = stone;