Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -4,8 +4,8 @@ namespace Server.Items
{
public class FurnitureDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
{
public override bool AllowDyables{ get{ return false; } }
public override bool AllowFurniture{ get{ return true; } }
public override bool AllowDyables => false;
public override bool AllowFurniture => true;
public override int TargetMessage{ get{ return 501019; } } // Select the furniture to dye.
public override int FailMessage{ get{ return 501021; } } // That is not a piece of furniture.
public override int LabelNumber{ get{ return 1041246; } } // Furniture Dye Tub
@ -73,4 +73,4 @@ namespace Server.Items
LootType = LootType.Blessed;
}
}
}
}

View file

@ -4,8 +4,8 @@ namespace Server.Items
{
public class LeatherDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
{
public override bool AllowDyables{ get{ return false; } }
public override bool AllowLeather{ get{ return true; } }
public override bool AllowDyables => false;
public override bool AllowLeather => true;
public override int TargetMessage{ get{ return 1042416; } } // Select the leather item to dye.
public override int FailMessage{ get{ return 1042418; } } // You can only dye leather with this tub.
public override int LabelNumber{ get{ return 1041284; } } // Leather Dye Tub
@ -71,4 +71,4 @@ namespace Server.Items
}
}
}
}
}

View file

@ -4,9 +4,9 @@ namespace Server.Items
{
public class MetallicClothDyetub : DyeTub
{
public override int LabelNumber { get { return 1152920; } } // Metallic Cloth ...
public override int LabelNumber { get { return 1152920; } } // Metallic Cloth ...
public override bool MetallicHues { get { return true; } }
public override bool MetallicHues => true;
[Constructible]
public MetallicClothDyetub()
@ -33,4 +33,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,9 +6,9 @@ namespace Server.Items
{
public override CustomHuePicker CustomHuePicker{ get{ return null; } }
public override int LabelNumber { get { return 1153495; } } // Metallic Leather ...
public override int LabelNumber { get { return 1153495; } } // Metallic Leather ...
public override bool MetallicHues { get { return true; } }
public override bool MetallicHues => true;
[Constructible]
public MetallicLeatherDyeTub()
@ -43,4 +43,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -4,8 +4,8 @@ namespace Server.Items
{
public class RunebookDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
{
public override bool AllowDyables{ get{ return false; } }
public override bool AllowRunebooks{ get{ return true; } }
public override bool AllowDyables => false;
public override bool AllowRunebooks => true;
public override int TargetMessage{ get{ return 1049774; } } // Target the runebook or runestone to dye
public override int FailMessage{ get{ return 1049775; } } // You can only dye runestones or runebooks with this tub.
public override int LabelNumber{ get{ return 1049740; } } // Runebook Dye Tub
@ -71,4 +71,4 @@ namespace Server.Items
}
}
}
}
}

View file

@ -4,8 +4,8 @@ namespace Server.Items
{
public class StatuetteDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
{
public override bool AllowDyables{ get{ return false; } }
public override bool AllowStatuettes{ get{ return true; } }
public override bool AllowDyables => false;
public override bool AllowStatuettes => true;
public override int TargetMessage{ get{ return 1049777; } } // Target the statuette to dye
public override int FailMessage{ get{ return 1049778; } } // You can only dye veteran reward statuettes with this tub.
public override int LabelNumber{ get{ return 1049741; } } // Reward Statuette Dye Tub
@ -71,4 +71,4 @@ namespace Server.Items
}
}
}
}
}

View file

@ -7,7 +7,7 @@ namespace Server.Items /* High seas, loot from merchant ship's hold, also a "unc
{
public override int LabelNumber { get { return 1149984; } } // White Cloth Dye Tub
public override bool Redyable { get { return false; } }
public override bool Redyable => false;
[Constructible]
public WhiteClothDyeTub()
@ -34,4 +34,4 @@ namespace Server.Items /* High seas, loot from merchant ship's hold, also a "unc
int version = reader.ReadInt();
}
}
}
}

View file

@ -7,7 +7,7 @@ namespace Server.Items
{
public override int LabelNumber { get { return 1149900; } } // White Leather Dye Tub
public override bool Redyable { get { return false; } }
public override bool Redyable => false;
[Constructible]
public WhiteLeatherDyeTub()
@ -36,4 +36,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}