fix: Optimizes items to use default weights. (Part 1) (#2240)
This commit is contained in:
parent
c2e44a58f6
commit
2eba2868a6
126 changed files with 1184 additions and 380 deletions
|
|
@ -14,11 +14,9 @@ namespace Server.Engines.BulkOrders
|
|||
_material = material;
|
||||
}
|
||||
|
||||
public BaseBOD() : base(Core.AOS ? 0x2258 : 0x14EF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public BaseBOD() : base(Core.AOS ? 0x2258 : 0x14EF) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public abstract bool Complete { get; }
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ public partial class BulkOrderBook : Item, ISecurable
|
|||
[Constructible]
|
||||
public BulkOrderBook() : base(0x2259)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
_entries = [];
|
||||
|
|
@ -49,6 +48,8 @@ public partial class BulkOrderBook : Item, ISecurable
|
|||
_level = SecureLevel.CoOwners;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void OnAfterDuped(Item newItem)
|
||||
{
|
||||
if (newItem is not BulkOrderBook book)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ public abstract class BaseFactionTrapDeed : Item, ICraftable
|
|||
|
||||
public BaseFactionTrapDeed(int itemID = 0x14F0) : base(itemID)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
|
@ -18,6 +17,8 @@ public abstract class BaseFactionTrapDeed : Item, ICraftable
|
|||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public abstract Type TrapType { get; }
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
|
|
@ -117,4 +118,4 @@ public abstract class BaseFactionTrapDeed : Item, ICraftable
|
|||
|
||||
m_Faction = Faction.ReadReference(reader);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ public partial class FertileDirt : Item
|
|||
public FertileDirt(int amount = 1) : base(0xF81)
|
||||
{
|
||||
Stackable = true;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,11 +12,12 @@ public partial class GreenThorns : Item
|
|||
public GreenThorns(int amount = 1) : base(0xF42)
|
||||
{
|
||||
Stackable = true;
|
||||
Weight = 1.0;
|
||||
Hue = 0x42;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1060837; // green thorns
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
|
|
|
|||
|
|
@ -56,7 +56,11 @@ public partial class PlantBowl : Item
|
|||
};
|
||||
|
||||
[Constructible]
|
||||
public PlantBowl() : base(0x15FD) => Weight = 1.0;
|
||||
public PlantBowl() : base(0x15FD)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1060834; // a plant bowl
|
||||
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@ public partial class PlantItem : Item, ISecurable
|
|||
[Constructible]
|
||||
public PlantItem(bool fertileDirt = false) : base(0x1602)
|
||||
{
|
||||
Weight = 1.0;
|
||||
|
||||
_plantStatus = PlantStatus.BowlOfDirt;
|
||||
_plantSystem = new PlantSystem(this)
|
||||
{
|
||||
|
|
@ -69,6 +67,8 @@ public partial class PlantItem : Item, ISecurable
|
|||
Plants.Add(this);
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public ObjectPropertyList OldClientPropertyList
|
||||
{
|
||||
get
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ public partial class Seed : Item
|
|||
[Constructible]
|
||||
public Seed(PlantType plantType, PlantHue plantHue, bool showType = false) : base(0xDCF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Stackable = Core.SA;
|
||||
|
||||
_plantType = plantType;
|
||||
|
|
@ -34,6 +33,8 @@ public partial class Seed : Item
|
|||
Hue = PlantHueInfo.GetInfo(plantHue).Hue;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
[SerializableProperty(1)]
|
||||
public PlantHue PlantHue
|
||||
|
|
|
|||
|
|
@ -8,11 +8,9 @@ namespace Server.Engines.Quests.Collector;
|
|||
public partial class EnchantedPaints : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public EnchantedPaints() : base(0xFC1)
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
Weight = 1.0;
|
||||
}
|
||||
public EnchantedPaints() : base(0xFC1) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override bool CanDrop(PlayerMobile player) => player.Quest is not CollectorQuest;
|
||||
|
||||
|
|
|
|||
|
|
@ -14,12 +14,12 @@ public partial class PaintedImage : Item
|
|||
[Constructible]
|
||||
public PaintedImage(ImageType image) : base(0xFF3)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Hue = 0x8FD;
|
||||
|
||||
_image = image;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void AddNameProperty(IPropertyList list)
|
||||
{
|
||||
var info = ImageTypeInfo.Get(_image);
|
||||
|
|
|
|||
|
|
@ -73,7 +73,11 @@ public partial class EnchantedSextant : Item
|
|||
};
|
||||
|
||||
[Constructible]
|
||||
public EnchantedSextant() : base(0x1058) => Weight = 2.0;
|
||||
public EnchantedSextant() : base(0x1058)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 2.0;
|
||||
|
||||
public override int LabelNumber => 1046226; // an enchanted sextant
|
||||
|
||||
|
|
|
|||
|
|
@ -27,10 +27,11 @@ public partial class HornOfRetreat : Item
|
|||
public HornOfRetreat() : base(0xFC4)
|
||||
{
|
||||
Hue = 0x482;
|
||||
Weight = 1.0;
|
||||
_charges = 10;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1049117; // Horn of Retreat
|
||||
|
||||
public virtual bool ValidateUse(Mobile from) => true;
|
||||
|
|
|
|||
|
|
@ -12,11 +12,9 @@ public partial class KronusScroll : QuestItem
|
|||
private static readonly Map m_WellOfTearsMap = Map.Malas;
|
||||
|
||||
[Constructible]
|
||||
public KronusScroll() : base(0x227A)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Hue = 0x44E;
|
||||
}
|
||||
public KronusScroll() : base(0x227A) => Hue = 0x44E;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1060149; // Calling of Kronus
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@ namespace Server.Engines.Quests.Necro;
|
|||
public partial class ScrollOfAbraxus : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public ScrollOfAbraxus() : base(0x227B) => Weight = 1.0;
|
||||
public ScrollOfAbraxus() : base(0x227B)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1028827; // Scroll of Abraxus
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Engines.Quests.Ninja;
|
|||
public partial class EminosKatana : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public EminosKatana() : base(0x13FF) => Weight = 1.0;
|
||||
public EminosKatana() : base(0x13FF)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1063214; // Daimyo Emino's Katana
|
||||
|
||||
|
|
|
|||
|
|
@ -7,11 +7,9 @@ namespace Server.Engines.Quests.Ninja;
|
|||
public partial class NoteForZoel : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public NoteForZoel() : base(0x14EF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Hue = 0x6B9;
|
||||
}
|
||||
public NoteForZoel() : base(0x14EF) => Hue = 0x6B9;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1063186; // A Note for Zoel
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Engines.Quests.Samurai;
|
|||
public partial class HaochisKatana : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public HaochisKatana() : base(0x13FF) => Weight = 1.0;
|
||||
public HaochisKatana() : base(0x13FF)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1063165; // Daimyo Haochi's Katana
|
||||
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ public partial class GoldenSkull : Item
|
|||
[Constructible]
|
||||
public GoldenSkull() : base(Utility.Random(0x1AE2, 3))
|
||||
{
|
||||
Weight = 1.0;
|
||||
Hue = 0x8A5;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1061619; // a golden skull
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,11 +8,12 @@ public partial class GrandGrimoire : Item
|
|||
[Constructible]
|
||||
public GrandGrimoire() : base(0xEFA)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Hue = 0x835;
|
||||
Layer = Layer.OneHanded;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1060801; // The Grand Grimoire
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Engines.Quests.Haven;
|
|||
public partial class QuestDaemonBlood : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public QuestDaemonBlood() : base(0xF7D) => Weight = 1.0;
|
||||
public QuestDaemonBlood() : base(0xF7D)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override bool CanDrop(PlayerMobile player) => player.Quest is not UzeraanTurmoilQuest;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Engines.Quests.Haven;
|
|||
public partial class QuestDaemonBone : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public QuestDaemonBone() : base(0xF80) => Weight = 1.0;
|
||||
public QuestDaemonBone() : base(0xF80)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override bool CanDrop(PlayerMobile player) => player.Quest is not UzeraanTurmoilQuest;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Engines.Quests.Haven;
|
|||
public partial class QuestFertileDirt : QuestItem
|
||||
{
|
||||
[Constructible]
|
||||
public QuestFertileDirt() : base(0xF81) => Weight = 1.0;
|
||||
public QuestFertileDirt() : base(0xF81)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override bool CanDrop(PlayerMobile player) => player.Quest is not UzeraanTurmoilQuest;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,11 +6,9 @@ namespace Server.Engines.Quests.Haven;
|
|||
[SerializationGenerator(0, false)]
|
||||
public partial class SchmendrickScrollOfPower : QuestItem
|
||||
{
|
||||
public SchmendrickScrollOfPower() : base(0xE34)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Hue = 0x34D;
|
||||
}
|
||||
public SchmendrickScrollOfPower() : base(0xE34) => Hue = 0x34D;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1049118; // a scroll with ancient markings
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items;
|
|||
public partial class Cauldron : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Cauldron() : base(0x9ED) => Weight = 1.0;
|
||||
public Cauldron() : base(0x9ED)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override string DefaultName => "a cauldron";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,12 +13,13 @@ public partial class HangoverCure : Item
|
|||
[Constructible]
|
||||
public HangoverCure() : base(0xE2B)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Hue = 0x2D;
|
||||
|
||||
_uses = 20;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1055060; // Grizelda's Extra Strength Hangover Cure
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Engines.Quests.Hag;
|
|||
public partial class MoonfireBrew : Item
|
||||
{
|
||||
[Constructible]
|
||||
public MoonfireBrew() : base(0xF04) => Weight = 1.0;
|
||||
public MoonfireBrew() : base(0xF04)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1055065; // a bottle of magical moonfire brew
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,13 +72,11 @@ public abstract partial class BasePigmentsOfTokuno : Item, IUsesRemaining
|
|||
|
||||
public BasePigmentsOfTokuno() : base(0xEFF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
_usesRemaining = 1;
|
||||
}
|
||||
|
||||
public BasePigmentsOfTokuno(int uses) : base(0xEFF)
|
||||
{
|
||||
Weight = 1.0;
|
||||
_usesRemaining = uses;
|
||||
}
|
||||
|
||||
|
|
@ -86,6 +84,8 @@ public abstract partial class BasePigmentsOfTokuno : Item, IUsesRemaining
|
|||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1070933; // Pigments of Tokuno
|
||||
|
||||
protected TextDefinition Label
|
||||
|
|
|
|||
|
|
@ -330,11 +330,7 @@ public partial class PigmentsOfTokuno : BasePigmentsOfTokuno
|
|||
}
|
||||
|
||||
[Constructible]
|
||||
public PigmentsOfTokuno(PigmentType type, int uses) : base(uses)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Type = type;
|
||||
}
|
||||
public PigmentsOfTokuno(PigmentType type, int uses) : base(uses) => Type = type;
|
||||
|
||||
[SerializableProperty(0)]
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
|
|
|
|||
|
|
@ -354,11 +354,9 @@ public partial class AncientUrn : Item
|
|||
}
|
||||
|
||||
[Constructible]
|
||||
public AncientUrn(string urnName) : base(0x241D)
|
||||
{
|
||||
_urnName = urnName;
|
||||
Weight = 1.0;
|
||||
}
|
||||
public AncientUrn(string urnName) : base(0x241D) => _urnName = urnName;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public static string[] Names { get; } =
|
||||
{
|
||||
|
|
@ -432,12 +430,9 @@ public partial class HonorableSwords : Item
|
|||
}
|
||||
|
||||
[Constructible]
|
||||
public HonorableSwords(string swordsName) : base(0x2853)
|
||||
{
|
||||
_swordsName = swordsName;
|
||||
public HonorableSwords(string swordsName) : base(0x2853) => _swordsName = swordsName;
|
||||
|
||||
Weight = 5.0;
|
||||
}
|
||||
public override double DefaultWeight => 5.0;
|
||||
|
||||
public override int LabelNumber => 1071015; // Honorable Swords
|
||||
|
||||
|
|
@ -620,11 +615,7 @@ public partial class LesserPigmentsOfTokuno : BasePigmentsOfTokuno
|
|||
}
|
||||
|
||||
[Constructible]
|
||||
public LesserPigmentsOfTokuno(LesserPigmentType type) : base(1)
|
||||
{
|
||||
Weight = 1.0;
|
||||
Type = type;
|
||||
}
|
||||
public LesserPigmentsOfTokuno(LesserPigmentType type) : base(1) => Type = type;
|
||||
|
||||
[SerializableProperty(0)]
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
|
|
|
|||
|
|
@ -419,9 +419,10 @@ public partial class CharacterStatueDeed : Item, IRewardItem
|
|||
}
|
||||
|
||||
LootType = LootType.Blessed;
|
||||
Weight = 1.0;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber
|
||||
{
|
||||
get
|
||||
|
|
|
|||
|
|
@ -19,9 +19,10 @@ public partial class CharacterStatueMaker : Item, IRewardItem
|
|||
InvalidateHue();
|
||||
|
||||
LootType = LootType.Blessed;
|
||||
Weight = 5.0;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 5.0;
|
||||
|
||||
public override int LabelNumber => 1076173; // Character Statue Maker
|
||||
|
||||
[SerializableProperty(1)]
|
||||
|
|
|
|||
|
|
@ -6,11 +6,9 @@ namespace Server.Items;
|
|||
public partial class DecorativeTopiary : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DecorativeTopiary() : base(0x2378)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public DecorativeTopiary() : base(0x2378) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void OnSingleClick(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,11 +6,9 @@ namespace Server.Items;
|
|||
public partial class FestiveCactus : Item
|
||||
{
|
||||
[Constructible]
|
||||
public FestiveCactus() : base(0x2376)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public FestiveCactus() : base(0x2376) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void OnSingleClick(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,12 +18,13 @@ public partial class LightOfTheWinterSolstice : Item
|
|||
{
|
||||
_dipper = dipper?.Intern() ?? StaffInfo.GetRandomStaff();
|
||||
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
Light = LightType.Circle300;
|
||||
Hue = Utility.RandomDyedHue();
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void OnSingleClick(Mobile from)
|
||||
{
|
||||
base.OnSingleClick(from);
|
||||
|
|
|
|||
|
|
@ -163,10 +163,11 @@ public partial class MistletoeDeed : Item
|
|||
public MistletoeDeed(int hue = 0) : base(0x14F0)
|
||||
{
|
||||
Hue = hue;
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1070882; // Mistletoe Deed
|
||||
|
||||
public override void OnSingleClick(Mobile from)
|
||||
|
|
|
|||
|
|
@ -9,10 +9,11 @@ public partial class PileOfGlacialSnow : Item
|
|||
public PileOfGlacialSnow() : base(0x913)
|
||||
{
|
||||
Hue = 0x480;
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1070874; // a Pile of Glacial Snow
|
||||
|
||||
public override void OnSingleClick(Mobile from)
|
||||
|
|
|
|||
|
|
@ -9,10 +9,11 @@ public partial class SnowPile : Item
|
|||
public SnowPile() : base(0x913)
|
||||
{
|
||||
Hue = 0x481;
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1005578; // a pile of snow
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
|
|
|
|||
|
|
@ -6,11 +6,9 @@ namespace Server.Items;
|
|||
public partial class SnowyTree : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SnowyTree() : base(0x2377)
|
||||
{
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public SnowyTree() : base(0x2377) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void OnSingleClick(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,11 +61,9 @@ public partial class Fireflies : Item, IAddon
|
|||
public partial class FirefliesDeed : Item
|
||||
{
|
||||
[Constructible]
|
||||
public FirefliesDeed() : base(0x14F0)
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
Weight = 1.0;
|
||||
}
|
||||
public FirefliesDeed() : base(0x14F0) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1150061;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,13 @@
|
|||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items.Holiday
|
||||
{
|
||||
[SerializationGenerator(0, false)]
|
||||
[TypeAlias("Server.Items.AngelDecoration"), Flippable(0x46FA, 0x46FB)]
|
||||
public partial class AngelDecoration : Item
|
||||
{
|
||||
public AngelDecoration() : base(0x46FA)
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
namespace Server.Items.Holiday;
|
||||
|
||||
Weight = 30;
|
||||
}
|
||||
}
|
||||
[Flippable(0x46FA, 0x46FB)]
|
||||
[TypeAlias("Server.Items.AngelDecoration")]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class AngelDecoration : Item
|
||||
{
|
||||
public AngelDecoration() : base(0x46FA) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 30.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,13 @@
|
|||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items.Holiday
|
||||
{
|
||||
[SerializationGenerator(0, false)]
|
||||
[TypeAlias("Server.Items.RockingHorse"), Flippable(0x4214, 0x4215)]
|
||||
public partial class RockingHorse : Item
|
||||
{
|
||||
public RockingHorse() : base(0x4214)
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
namespace Server.Items.Holiday;
|
||||
|
||||
Weight = 30;
|
||||
}
|
||||
}
|
||||
[Flippable(0x4214, 0x4215)]
|
||||
[TypeAlias("Server.Items.RockingHorse")]
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class RockingHorse : Item
|
||||
{
|
||||
public RockingHorse() : base(0x4214) => LootType = LootType.Blessed;
|
||||
|
||||
public override double DefaultWeight => 30.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class MrPlainsCookies : Food
|
||||
{
|
||||
[Constructible]
|
||||
public MrPlainsCookies() : base(0x160C)
|
||||
{
|
||||
Weight = 1.0;
|
||||
FillFactor = 4;
|
||||
Hue = 0xF4;
|
||||
}
|
||||
namespace Server.Items;
|
||||
|
||||
public override string DefaultName => "Mr Plain's Cookies";
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class MrPlainsCookies : Food
|
||||
{
|
||||
[Constructible]
|
||||
public MrPlainsCookies() : base(0x160C)
|
||||
{
|
||||
FillFactor = 4;
|
||||
Hue = 0xF4;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override string DefaultName => "Mr Plain's Cookies";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ namespace Server.Items
|
|||
|
||||
public BaseAddonContainerDeed() : base(0x14F0)
|
||||
{
|
||||
Weight = 1.0;
|
||||
|
||||
if (!Core.AOS)
|
||||
{
|
||||
LootType = LootType.Newbied;
|
||||
|
|
@ -25,6 +23,8 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public abstract BaseAddonContainer Addon { get; }
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@ namespace Server.Items
|
|||
|
||||
public BaseAddonDeed() : base(0x14F0)
|
||||
{
|
||||
Weight = 1.0;
|
||||
|
||||
if (!Core.AOS)
|
||||
{
|
||||
LootType = LootType.Newbied;
|
||||
}
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public abstract BaseAddon Addon { get; }
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class ChainCoif : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public ChainCoif() : base(0x13BB) => Weight = 1.0;
|
||||
public ChainCoif() : base(0x13BB)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 4;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class FemaleLeatherChest : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public FemaleLeatherChest() : base(0x1C06) => Weight = 1.0;
|
||||
public FemaleLeatherChest() : base(0x1C06)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class LeatherBustierArms : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public LeatherBustierArms() : base(0x1C0A) => Weight = 1.0;
|
||||
public LeatherBustierArms() : base(0x1C0A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class LeatherGloves : BaseArmor, IArcaneEquip
|
||||
{
|
||||
[Constructible]
|
||||
public LeatherGloves() : base(0x13C6) => Weight = 1.0;
|
||||
public LeatherGloves() : base(0x13C6)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items
|
|||
public partial class LeatherGorget : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public LeatherGorget() : base(0x13C7) => Weight = 1.0;
|
||||
public LeatherGorget() : base(0x13C7)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items
|
|||
public partial class LeatherHiroSode : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public LeatherHiroSode() : base(0x277E) => Weight = 1.0;
|
||||
public LeatherHiroSode() : base(0x277E)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class LeatherSkirt : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public LeatherSkirt() : base(0x1C08) => Weight = 1.0;
|
||||
public LeatherSkirt() : base(0x1C08)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class StuddedBustierArms : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public StuddedBustierArms() : base(0x1C0C) => Weight = 1.0;
|
||||
public StuddedBustierArms() : base(0x1C0C)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class StuddedGloves : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public StuddedGloves() : base(0x13D5) => Weight = 1.0;
|
||||
public StuddedGloves() : base(0x13D5)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items
|
|||
public partial class StuddedGorget : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public StuddedGorget() : base(0x13D6) => Weight = 1.0;
|
||||
public StuddedGorget() : base(0x13D6)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items
|
|||
public partial class StuddedHiroSode : BaseArmor
|
||||
{
|
||||
[Constructible]
|
||||
public StuddedHiroSode() : base(0x277F) => Weight = 1.0;
|
||||
public StuddedHiroSode() : base(0x277F)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 2;
|
||||
public override int BaseFireResistance => 4;
|
||||
|
|
|
|||
|
|
@ -96,7 +96,11 @@ namespace Server.Items
|
|||
public partial class FlowerGarland : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public FlowerGarland(int hue = 0) : base(0x2306, hue) => Weight = 1.0;
|
||||
public FlowerGarland(int hue = 0) : base(0x2306, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 3;
|
||||
public override int BaseFireResistance => 3;
|
||||
|
|
@ -112,7 +116,11 @@ namespace Server.Items
|
|||
public partial class FloppyHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public FloppyHat(int hue = 0) : base(0x1713, hue) => Weight = 1.0;
|
||||
public FloppyHat(int hue = 0) : base(0x1713, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -128,7 +136,11 @@ namespace Server.Items
|
|||
public partial class WideBrimHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public WideBrimHat(int hue = 0) : base(0x1714, hue) => Weight = 1.0;
|
||||
public WideBrimHat(int hue = 0) : base(0x1714, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -144,7 +156,11 @@ namespace Server.Items
|
|||
public partial class Cap : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public Cap(int hue = 0) : base(0x1715, hue) => Weight = 1.0;
|
||||
public Cap(int hue = 0) : base(0x1715, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -160,7 +176,11 @@ namespace Server.Items
|
|||
public partial class SkullCap : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public SkullCap(int hue = 0) : base(0x1544, hue) => Weight = 1.0;
|
||||
public SkullCap(int hue = 0) : base(0x1544, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 3;
|
||||
|
|
@ -176,7 +196,11 @@ namespace Server.Items
|
|||
public partial class Bandana : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public Bandana(int hue = 0) : base(0x1540, hue) => Weight = 1.0;
|
||||
public Bandana(int hue = 0) : base(0x1540, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 3;
|
||||
|
|
@ -280,7 +304,11 @@ namespace Server.Items
|
|||
public partial class TallStrawHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public TallStrawHat(int hue = 0) : base(0x1716, hue) => Weight = 1.0;
|
||||
public TallStrawHat(int hue = 0) : base(0x1716, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -296,7 +324,11 @@ namespace Server.Items
|
|||
public partial class StrawHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public StrawHat(int hue = 0) : base(0x1717, hue) => Weight = 1.0;
|
||||
public StrawHat(int hue = 0) : base(0x1717, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -401,7 +433,11 @@ namespace Server.Items
|
|||
public partial class WizardsHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public WizardsHat(int hue = 0) : base(0x1718, hue) => Weight = 1.0;
|
||||
public WizardsHat(int hue = 0) : base(0x1718, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -417,7 +453,11 @@ namespace Server.Items
|
|||
public partial class MagicWizardsHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public MagicWizardsHat(int hue = 0) : base(0x1718, hue) => Weight = 1.0;
|
||||
public MagicWizardsHat(int hue = 0) : base(0x1718, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -439,7 +479,11 @@ namespace Server.Items
|
|||
public partial class Bonnet : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public Bonnet(int hue = 0) : base(0x1719, hue) => Weight = 1.0;
|
||||
public Bonnet(int hue = 0) : base(0x1719, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -455,7 +499,11 @@ namespace Server.Items
|
|||
public partial class FeatheredHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public FeatheredHat(int hue = 0) : base(0x171A, hue) => Weight = 1.0;
|
||||
public FeatheredHat(int hue = 0) : base(0x171A, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -471,7 +519,11 @@ namespace Server.Items
|
|||
public partial class TricorneHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public TricorneHat(int hue = 0) : base(0x171B, hue) => Weight = 1.0;
|
||||
public TricorneHat(int hue = 0) : base(0x171B, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
@ -487,7 +539,11 @@ namespace Server.Items
|
|||
public partial class JesterHat : BaseHat
|
||||
{
|
||||
[Constructible]
|
||||
public JesterHat(int hue = 0) : base(0x171C, hue) => Weight = 1.0;
|
||||
public JesterHat(int hue = 0) : base(0x171C, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BasePhysicalResistance => 0;
|
||||
public override int BaseFireResistance => 5;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,11 @@ namespace Server.Items
|
|||
public partial class BodySash : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public BodySash(int hue = 0) : base(0x1541, hue) => Weight = 1.0;
|
||||
public BodySash(int hue = 0) : base(0x1541, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
|
|
@ -55,7 +59,11 @@ namespace Server.Items
|
|||
public partial class FormalShirt : BaseMiddleTorso
|
||||
{
|
||||
[Constructible]
|
||||
public FormalShirt(int hue = 0) : base(0x2310, hue) => Weight = 1.0;
|
||||
public FormalShirt(int hue = 0) : base(0x2310, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
|
|
|
|||
|
|
@ -23,7 +23,11 @@ namespace Server.Items
|
|||
public partial class Shirt : BaseShirt
|
||||
{
|
||||
[Constructible]
|
||||
public Shirt(int hue = 0) : base(0x1517, hue) => Weight = 1.0;
|
||||
public Shirt(int hue = 0) : base(0x1517, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x2794, 0x27DF)]
|
||||
|
|
|
|||
|
|
@ -153,7 +153,11 @@ namespace Server.Items
|
|||
public partial class Sandals : BaseShoes
|
||||
{
|
||||
[Constructible]
|
||||
public Sandals(int hue = 0) : base(0x170D, hue) => Weight = 1.0;
|
||||
public Sandals(int hue = 0) : base(0x170D, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override CraftResource DefaultResource => CraftResource.RegularLeather;
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,11 @@ namespace Server.Items
|
|||
public partial class Obi : BaseWaist
|
||||
{
|
||||
[Constructible]
|
||||
public Obi(int hue = 0) : base(0x27A0, hue) => Weight = 1.0;
|
||||
public Obi(int hue = 0) : base(0x27A0, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x2B68, 0x315F)]
|
||||
|
|
|
|||
|
|
@ -53,7 +53,11 @@ namespace Server.Items
|
|||
public partial class OrnateElvenChair : Item
|
||||
{
|
||||
[Constructible]
|
||||
public OrnateElvenChair() : base(0x2DE3) => Weight = 1.0;
|
||||
public OrnateElvenChair() : base(0x2DE3)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[DynamicFlipping]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@ namespace Server.Items
|
|||
public partial class Throne : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Throne() : base(0xB33) => Weight = 1.0;
|
||||
public Throne() : base(0xB33)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class GiantReplicaAcorn : Item
|
||||
{
|
||||
[Constructible]
|
||||
public GiantReplicaAcorn() : base(0x2D4A) => Weight = 1.0;
|
||||
public GiantReplicaAcorn() : base(0x2D4A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1072889; // giant replica acorn
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class MountedDreadHorn : Item
|
||||
{
|
||||
[Constructible]
|
||||
public MountedDreadHorn() : base(0x3158) => Weight = 1.0;
|
||||
public MountedDreadHorn() : base(0x3158)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1074464; // mounted Dread Horn
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items
|
|||
public partial class ElegantLowTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ElegantLowTable() : base(0x2819) => Weight = 1.0;
|
||||
public ElegantLowTable() : base(0x2819)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -15,7 +19,11 @@ namespace Server.Items
|
|||
public partial class PlainLowTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public PlainLowTable() : base(0x281A) => Weight = 1.0;
|
||||
public PlainLowTable() : base(0x281A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -24,7 +32,11 @@ namespace Server.Items
|
|||
public partial class LargeTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeTable() : base(0xB90) => Weight = 1.0;
|
||||
public LargeTable() : base(0xB90)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -33,7 +45,11 @@ namespace Server.Items
|
|||
public partial class Nightstand : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Nightstand() : base(0xB35) => Weight = 1.0;
|
||||
public Nightstand() : base(0xB35)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -42,6 +58,10 @@ namespace Server.Items
|
|||
public partial class YewWoodTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public YewWoodTable() : base(0xB8F) => Weight = 1.0;
|
||||
public YewWoodTable() : base(0xB8F)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ namespace Server.Items
|
|||
public partial class WritingTable : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WritingTable() : base(0xB4A) => Weight = 1.0;
|
||||
public WritingTable() : base(0xB4A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -269,13 +269,21 @@ public partial class Backpack : BaseContainer, IDyable
|
|||
public partial class Pouch : TrappableContainer
|
||||
{
|
||||
[Constructible]
|
||||
public Pouch() : base(0xE79) => Weight = 1.0;
|
||||
public Pouch() : base(0xE79)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public abstract partial class BaseBagBall : BaseContainer, IDyable
|
||||
{
|
||||
public BaseBagBall(int itemID) : base(itemID) => Weight = 1.0;
|
||||
public BaseBagBall(int itemID) : base(itemID)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public bool Dye(Mobile from, DyeTub sender)
|
||||
{
|
||||
|
|
@ -352,7 +360,11 @@ public partial class PicnicBasket : BaseContainer
|
|||
public partial class Basket : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public Basket() : base(0x990) => Weight = 1.0;
|
||||
public Basket() : base(0x990)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -388,7 +400,11 @@ public partial class MediumCrate : LockableContainer
|
|||
public partial class LargeCrate : LockableContainer
|
||||
{
|
||||
[Constructible]
|
||||
public LargeCrate() : base(0xE3D) => Weight = 1.0;
|
||||
public LargeCrate() : base(0xE3D)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[DynamicFlipping]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,11 @@ namespace Server.Items;
|
|||
public partial class TallCabinet : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public TallCabinet() : base(0x2815) => Weight = 1.0;
|
||||
public TallCabinet() : base(0x2815)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -19,7 +23,11 @@ public partial class TallCabinet : BaseContainer
|
|||
public partial class ShortCabinet : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public ShortCabinet() : base(0x2817) => Weight = 1.0;
|
||||
public ShortCabinet() : base(0x2817)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -28,7 +36,11 @@ public partial class ShortCabinet : BaseContainer
|
|||
public partial class RedArmoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public RedArmoire() : base(0x2857) => Weight = 1.0;
|
||||
public RedArmoire() : base(0x2857)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -37,7 +49,11 @@ public partial class RedArmoire : BaseContainer
|
|||
public partial class CherryArmoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public CherryArmoire() : base(0x285D) => Weight = 1.0;
|
||||
public CherryArmoire() : base(0x285D)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -46,7 +62,11 @@ public partial class CherryArmoire : BaseContainer
|
|||
public partial class MapleArmoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public MapleArmoire() : base(0x285B) => Weight = 1.0;
|
||||
public MapleArmoire() : base(0x285B)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -55,7 +75,11 @@ public partial class MapleArmoire : BaseContainer
|
|||
public partial class ElegantArmoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public ElegantArmoire() : base(0x2859) => Weight = 1.0;
|
||||
public ElegantArmoire() : base(0x2859)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -64,7 +88,11 @@ public partial class ElegantArmoire : BaseContainer
|
|||
public partial class FancyElvenArmoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public FancyElvenArmoire() : base(0x2D07) => Weight = 1.0;
|
||||
public FancyElvenArmoire() : base(0x2D07)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
public override int DefaultGumpID => 0x4E;
|
||||
public override int DefaultDropSound => 0x42;
|
||||
}
|
||||
|
|
@ -75,7 +103,11 @@ public partial class FancyElvenArmoire : BaseContainer
|
|||
public partial class SimpleElvenArmoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public SimpleElvenArmoire() : base(0x2D05) => Weight = 1.0;
|
||||
public SimpleElvenArmoire() : base(0x2D05)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
public override int DefaultGumpID => 0x4F;
|
||||
public override int DefaultDropSound => 0x42;
|
||||
}
|
||||
|
|
@ -86,7 +118,11 @@ public partial class SimpleElvenArmoire : BaseContainer
|
|||
public partial class FullBookcase : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public FullBookcase() : base(0xA97) => Weight = 1.0;
|
||||
public FullBookcase() : base(0xA97)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -106,7 +142,11 @@ public partial class EmptyBookcase : BaseContainer
|
|||
public partial class Drawer : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public Drawer() : base(0xA2C) => Weight = 1.0;
|
||||
public Drawer() : base(0xA2C)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -115,7 +155,11 @@ public partial class Drawer : BaseContainer
|
|||
public partial class FancyDrawer : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public FancyDrawer() : base(0xA30) => Weight = 1.0;
|
||||
public FancyDrawer() : base(0xA30)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Furniture]
|
||||
|
|
@ -124,7 +168,11 @@ public partial class FancyDrawer : BaseContainer
|
|||
public partial class Armoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public Armoire() : base(0xA4F) => Weight = 1.0;
|
||||
public Armoire() : base(0xA4F)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void DisplayTo(Mobile m)
|
||||
{
|
||||
|
|
@ -147,7 +195,11 @@ public partial class Armoire : BaseContainer
|
|||
public partial class FancyArmoire : BaseContainer
|
||||
{
|
||||
[Constructible]
|
||||
public FancyArmoire() : base(0xA4D) => Weight = 1.0;
|
||||
public FancyArmoire() : base(0xA4D)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void DisplayTo(Mobile m)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -20,7 +20,11 @@ public partial class DragonBardingDeed : Item, ICraftable
|
|||
[SerializedCommandProperty(AccessLevel.GameMaster)]
|
||||
private bool _exceptional;
|
||||
|
||||
public DragonBardingDeed() : base(0x14F0) => Weight = 1.0;
|
||||
public DragonBardingDeed() : base(0x14F0)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => _exceptional ? 1053181 : 1053012; // dragon barding deed
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items;
|
|||
public partial class Wasabi : Food
|
||||
{
|
||||
[Constructible]
|
||||
public Wasabi() : base(0x24E8) => Weight = 1.0;
|
||||
public Wasabi() : base(0x24E8)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
|
|
|
|||
|
|
@ -38,7 +38,11 @@ public interface IWaterSource : IHasQuantity
|
|||
public partial class BeverageBottle : BaseBeverage
|
||||
{
|
||||
[Constructible]
|
||||
public BeverageBottle(BeverageType type) : base(type) => Weight = 1.0;
|
||||
public BeverageBottle(BeverageType type) : base(type)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BaseLabelNumber => 1042959; // a bottle of Ale
|
||||
public override int MaxQuantity => 5;
|
||||
|
|
@ -68,7 +72,11 @@ public partial class BeverageBottle : BaseBeverage
|
|||
public partial class Jug : BaseBeverage
|
||||
{
|
||||
[Constructible]
|
||||
public Jug(BeverageType type) : base(type) => Weight = 1.0;
|
||||
public Jug(BeverageType type) : base(type)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BaseLabelNumber => 1042965; // a jug of Ale
|
||||
public override int MaxQuantity => 10;
|
||||
|
|
@ -81,10 +89,16 @@ public partial class Jug : BaseBeverage
|
|||
public partial class CeramicMug : BaseBeverage
|
||||
{
|
||||
[Constructible]
|
||||
public CeramicMug() => Weight = 1.0;
|
||||
public CeramicMug()
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public CeramicMug(BeverageType type) : base(type) => Weight = 1.0;
|
||||
public CeramicMug(BeverageType type) : base(type)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BaseLabelNumber => 1042982; // a ceramic mug of Ale
|
||||
public override int MaxQuantity => 1;
|
||||
|
|
@ -96,10 +110,16 @@ public partial class CeramicMug : BaseBeverage
|
|||
public partial class PewterMug : BaseBeverage
|
||||
{
|
||||
[Constructible]
|
||||
public PewterMug() => Weight = 1.0;
|
||||
public PewterMug()
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public PewterMug(BeverageType type) : base(type) => Weight = 1.0;
|
||||
public PewterMug(BeverageType type) : base(type)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BaseLabelNumber => 1042994; // a pewter mug with Ale
|
||||
public override int MaxQuantity => 1;
|
||||
|
|
@ -111,10 +131,16 @@ public partial class PewterMug : BaseBeverage
|
|||
public partial class Goblet : BaseBeverage
|
||||
{
|
||||
[Constructible]
|
||||
public Goblet() => Weight = 1.0;
|
||||
public Goblet()
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public Goblet(BeverageType type) : base(type) => Weight = 1.0;
|
||||
public Goblet(BeverageType type) : base(type)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int BaseLabelNumber => 1043000; // a goblet of Ale
|
||||
public override int MaxQuantity => 1;
|
||||
|
|
@ -134,10 +160,16 @@ public partial class Goblet : BaseBeverage
|
|||
public partial class GlassMug : BaseBeverage
|
||||
{
|
||||
[Constructible]
|
||||
public GlassMug() => Weight = 1.0;
|
||||
public GlassMug()
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public GlassMug(BeverageType type) : base(type) => Weight = 1.0;
|
||||
public GlassMug(BeverageType type) : base(type)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int EmptyLabelNumber => 1022456; // mug
|
||||
public override int BaseLabelNumber => 1042976; // a mug of Ale
|
||||
|
|
|
|||
|
|
@ -6,14 +6,22 @@ namespace Server.Items;
|
|||
public partial class EmptyWoodenBowl : Item
|
||||
{
|
||||
[Constructible]
|
||||
public EmptyWoodenBowl() : base(0x15F8) => Weight = 1.0;
|
||||
public EmptyWoodenBowl() : base(0x15F8)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class EmptyPewterBowl : Item
|
||||
{
|
||||
[Constructible]
|
||||
public EmptyPewterBowl() : base(0x15FD) => Weight = 1.0;
|
||||
public EmptyPewterBowl() : base(0x15FD)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
|
|
|
|||
|
|
@ -128,7 +128,11 @@ public partial class RawBird : CookableFood
|
|||
public partial class UnbakedPeachCobbler : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UnbakedPeachCobbler() : base(0x1042, 25) => Weight = 1.0;
|
||||
public UnbakedPeachCobbler() : base(0x1042, 25)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041335; // unbaked peach cobbler
|
||||
|
||||
|
|
@ -139,7 +143,11 @@ public partial class UnbakedPeachCobbler : CookableFood
|
|||
public partial class UnbakedFruitPie : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UnbakedFruitPie() : base(0x1042, 25) => Weight = 1.0;
|
||||
public UnbakedFruitPie() : base(0x1042, 25)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041334; // unbaked fruit pie
|
||||
|
||||
|
|
@ -150,7 +158,11 @@ public partial class UnbakedFruitPie : CookableFood
|
|||
public partial class UnbakedMeatPie : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UnbakedMeatPie() : base(0x1042, 25) => Weight = 1.0;
|
||||
public UnbakedMeatPie() : base(0x1042, 25)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041338; // unbaked meat pie
|
||||
|
||||
|
|
@ -161,7 +173,11 @@ public partial class UnbakedMeatPie : CookableFood
|
|||
public partial class UnbakedPumpkinPie : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UnbakedPumpkinPie() : base(0x1042, 25) => Weight = 1.0;
|
||||
public UnbakedPumpkinPie() : base(0x1042, 25)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041342; // unbaked pumpkin pie
|
||||
|
||||
|
|
@ -172,7 +188,11 @@ public partial class UnbakedPumpkinPie : CookableFood
|
|||
public partial class UnbakedApplePie : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UnbakedApplePie() : base(0x1042, 25) => Weight = 1.0;
|
||||
public UnbakedApplePie() : base(0x1042, 25)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041336; // unbaked apple pie
|
||||
|
||||
|
|
@ -184,7 +204,11 @@ public partial class UnbakedApplePie : CookableFood
|
|||
public partial class UncookedCheesePizza : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UncookedCheesePizza() : base(0x1083, 20) => Weight = 1.0;
|
||||
public UncookedCheesePizza() : base(0x1083, 20)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041341; // uncooked cheese pizza
|
||||
|
||||
|
|
@ -195,7 +219,11 @@ public partial class UncookedCheesePizza : CookableFood
|
|||
public partial class UncookedSausagePizza : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UncookedSausagePizza() : base(0x1083, 20) => Weight = 1.0;
|
||||
public UncookedSausagePizza() : base(0x1083, 20)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041337; // uncooked sausage pizza
|
||||
|
||||
|
|
@ -206,7 +234,11 @@ public partial class UncookedSausagePizza : CookableFood
|
|||
public partial class UnbakedQuiche : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public UnbakedQuiche() : base(0x1042, 25) => Weight = 1.0;
|
||||
public UnbakedQuiche() : base(0x1042, 25)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041339; // unbaked quiche
|
||||
|
||||
|
|
@ -261,7 +293,11 @@ public partial class EasterEggs : CookableFood
|
|||
public partial class CookieMix : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public CookieMix() : base(0x103F, 20) => Weight = 1.0;
|
||||
public CookieMix() : base(0x103F, 20)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override Food Cook() => new Cookies();
|
||||
}
|
||||
|
|
@ -270,7 +306,11 @@ public partial class CookieMix : CookableFood
|
|||
public partial class CakeMix : CookableFood
|
||||
{
|
||||
[Constructible]
|
||||
public CakeMix() : base(0x103F, 40) => Weight = 1.0;
|
||||
public CakeMix() : base(0x103F, 40)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041002; // cake mix
|
||||
|
||||
|
|
|
|||
|
|
@ -44,14 +44,22 @@ public partial class JarHoney : Item
|
|||
public partial class BowlFlour : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BowlFlour() : base(0xa1e) => Weight = 1.0;
|
||||
public BowlFlour() : base(0xa1e)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class WoodenBowl : Item
|
||||
{
|
||||
[Constructible]
|
||||
public WoodenBowl() : base(0x15f8) => Weight = 1.0;
|
||||
public WoodenBowl() : base(0x15f8)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[TypeAlias("Server.Items.SackFlourOpen")]
|
||||
|
|
|
|||
|
|
@ -7,11 +7,9 @@ namespace Server.Items;
|
|||
public partial class Carrot : Food
|
||||
{
|
||||
[Constructible]
|
||||
public Carrot(int amount = 1) : base(0xc78, amount)
|
||||
{
|
||||
Weight = 1.0;
|
||||
FillFactor = 1;
|
||||
}
|
||||
public Carrot(int amount = 1) : base(0xc78, amount) => FillFactor = 1;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0xc7b, 0xc7c)]
|
||||
|
|
@ -19,11 +17,9 @@ public partial class Carrot : Food
|
|||
public partial class Cabbage : Food
|
||||
{
|
||||
[Constructible]
|
||||
public Cabbage(int amount = 1) : base(0xc7b, amount)
|
||||
{
|
||||
Weight = 1.0;
|
||||
FillFactor = 1;
|
||||
}
|
||||
public Cabbage(int amount = 1) : base(0xc7b, amount) => FillFactor = 1;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0xc6d, 0xc6e)]
|
||||
|
|
@ -31,11 +27,9 @@ public partial class Cabbage : Food
|
|||
public partial class Onion : Food
|
||||
{
|
||||
[Constructible]
|
||||
public Onion(int amount = 1) : base(0xc6d, amount)
|
||||
{
|
||||
Weight = 1.0;
|
||||
FillFactor = 1;
|
||||
}
|
||||
public Onion(int amount = 1) : base(0xc6d, amount) => FillFactor = 1;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0xc70, 0xc71)]
|
||||
|
|
@ -43,11 +37,9 @@ public partial class Onion : Food
|
|||
public partial class Lettuce : Food
|
||||
{
|
||||
[Constructible]
|
||||
public Lettuce(int amount = 1) : base(0xc70, amount)
|
||||
{
|
||||
Weight = 1.0;
|
||||
FillFactor = 1;
|
||||
}
|
||||
public Lettuce(int amount = 1) : base(0xc70, amount) => FillFactor = 1;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0xC6A, 0xC6B)]
|
||||
|
|
@ -55,20 +47,16 @@ public partial class Lettuce : Food
|
|||
public partial class Pumpkin : Food
|
||||
{
|
||||
[Constructible]
|
||||
public Pumpkin(int amount = 1) : base(0xC6A, amount)
|
||||
{
|
||||
Weight = 1.0;
|
||||
FillFactor = 8;
|
||||
}
|
||||
public Pumpkin(int amount = 1) : base(0xC6A, amount) => FillFactor = 8;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallPumpkin : Food
|
||||
{
|
||||
[Constructible]
|
||||
public SmallPumpkin(int amount = 1) : base(0xC6C, amount)
|
||||
{
|
||||
Weight = 1.0;
|
||||
FillFactor = 8;
|
||||
}
|
||||
public SmallPumpkin(int amount = 1) : base(0xC6C, amount) => FillFactor = 8;
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items;
|
|||
public partial class Dices : Item, ITelekinesisable
|
||||
{
|
||||
[Constructible]
|
||||
public Dices() : base(0xFA7) => Weight = 1.0;
|
||||
public Dices() : base(0xFA7)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public void OnTelekinesis(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,7 +9,11 @@ namespace Server.Items;
|
|||
public partial class GuildDeed : Item
|
||||
{
|
||||
[Constructible]
|
||||
public GuildDeed() : base(0x14F0) => Weight = 1.0;
|
||||
public GuildDeed() : base(0x14F0)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041055; // a guild deed
|
||||
|
||||
|
|
|
|||
|
|
@ -6,5 +6,9 @@ namespace Server.Items;
|
|||
public partial class Beads : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Beads() : base(0x108B) => Weight = 1.0;
|
||||
public Beads() : base(0x108B)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,5 +6,9 @@ namespace Server.Items;
|
|||
public partial class ExecutionersCap : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ExecutionersCap() : base(0xF83) => Weight = 1.0;
|
||||
public ExecutionersCap() : base(0xF83)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items;
|
|||
public partial class SmallFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallFlask() : base(0x182E) => Weight = 1.0;
|
||||
public SmallFlask() : base(0x182E)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x182A, 0x182B, 0x182C, 0x182D)]
|
||||
|
|
@ -15,7 +19,11 @@ public partial class SmallFlask : Item
|
|||
public partial class MediumFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public MediumFlask() : base(0x182A) => Weight = 1.0;
|
||||
public MediumFlask() : base(0x182A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x183B, 0x183C, 0x183D)]
|
||||
|
|
@ -23,7 +31,11 @@ public partial class MediumFlask : Item
|
|||
public partial class LargeFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeFlask() : base(0x183B) => Weight = 1.0;
|
||||
public LargeFlask() : base(0x183B)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x1832, 0x1833, 0x1834, 0x1835, 0x1836, 0x1837)]
|
||||
|
|
@ -31,7 +43,11 @@ public partial class LargeFlask : Item
|
|||
public partial class CurvedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public CurvedFlask() : base(0x1832) => Weight = 1.0;
|
||||
public CurvedFlask() : base(0x1832)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x1838, 0x1839, 0x183A)]
|
||||
|
|
@ -39,7 +55,11 @@ public partial class CurvedFlask : Item
|
|||
public partial class LongFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LongFlask() : base(0x1838) => Weight = 1.0;
|
||||
public LongFlask() : base(0x1838)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x1810, 0x1811)]
|
||||
|
|
@ -47,49 +67,77 @@ public partial class LongFlask : Item
|
|||
public partial class SpinningHourglass : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SpinningHourglass() : base(0x1810) => Weight = 1.0;
|
||||
public SpinningHourglass() : base(0x1810)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class GreenBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public GreenBottle() : base(0x0EFB) => Weight = 1.0;
|
||||
public GreenBottle() : base(0x0EFB)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class RedBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RedBottle() : base(0x0EFC) => Weight = 1.0;
|
||||
public RedBottle() : base(0x0EFC)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallBrownBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallBrownBottle() : base(0x0EFD) => Weight = 1.0;
|
||||
public SmallBrownBottle() : base(0x0EFD)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallGreenBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallGreenBottle() : base(0x0F01) => Weight = 1.0;
|
||||
public SmallGreenBottle() : base(0x0F01)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallVioletBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallVioletBottle() : base(0x0F02) => Weight = 1.0;
|
||||
public SmallVioletBottle() : base(0x0F02)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class TinyYellowBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public TinyYellowBottle() : base(0x0F03) => Weight = 1.0;
|
||||
public TinyYellowBottle() : base(0x0F03)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
// remove
|
||||
|
|
@ -97,175 +145,275 @@ public partial class TinyYellowBottle : Item
|
|||
public partial class SmallBlueFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallBlueFlask() : base(0x182A) => Weight = 1.0;
|
||||
public SmallBlueFlask() : base(0x182A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallYellowFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallYellowFlask() : base(0x182B) => Weight = 1.0;
|
||||
public SmallYellowFlask() : base(0x182B)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallRedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallRedFlask() : base(0x182C) => Weight = 1.0;
|
||||
public SmallRedFlask() : base(0x182C)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallEmptyFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallEmptyFlask() : base(0x182D) => Weight = 1.0;
|
||||
public SmallEmptyFlask() : base(0x182D)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class YellowBeaker : Item
|
||||
{
|
||||
[Constructible]
|
||||
public YellowBeaker() : base(0x182E) => Weight = 1.0;
|
||||
public YellowBeaker() : base(0x182E)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class RedBeaker : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RedBeaker() : base(0x182F) => Weight = 1.0;
|
||||
public RedBeaker() : base(0x182F)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class BlueBeaker : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BlueBeaker() : base(0x1830) => Weight = 1.0;
|
||||
public BlueBeaker() : base(0x1830)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class GreenBeaker : Item
|
||||
{
|
||||
[Constructible]
|
||||
public GreenBeaker() : base(0x1831) => Weight = 1.0;
|
||||
public GreenBeaker() : base(0x1831)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class EmptyCurvedFlaskW : Item
|
||||
{
|
||||
[Constructible]
|
||||
public EmptyCurvedFlaskW() : base(0x1832) => Weight = 1.0;
|
||||
public EmptyCurvedFlaskW() : base(0x1832)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class RedCurvedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RedCurvedFlask() : base(0x1833) => Weight = 1.0;
|
||||
public RedCurvedFlask() : base(0x1833)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class LtBlueCurvedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LtBlueCurvedFlask() : base(0x1834) => Weight = 1.0;
|
||||
public LtBlueCurvedFlask() : base(0x1834)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class EmptyCurvedFlaskE : Item
|
||||
{
|
||||
[Constructible]
|
||||
public EmptyCurvedFlaskE() : base(0x1835) => Weight = 1.0;
|
||||
public EmptyCurvedFlaskE() : base(0x1835)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class BlueCurvedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public BlueCurvedFlask() : base(0x1836) => Weight = 1.0;
|
||||
public BlueCurvedFlask() : base(0x1836)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class GreenCurvedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public GreenCurvedFlask() : base(0x1837) => Weight = 1.0;
|
||||
public GreenCurvedFlask() : base(0x1837)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class RedRibbedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public RedRibbedFlask() : base(0x1838) => Weight = 1.0;
|
||||
public RedRibbedFlask() : base(0x1838)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class VioletRibbedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public VioletRibbedFlask() : base(0x1839) => Weight = 1.0;
|
||||
public VioletRibbedFlask() : base(0x1839)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class EmptyRibbedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public EmptyRibbedFlask() : base(0x183A) => Weight = 1.0;
|
||||
public EmptyRibbedFlask() : base(0x183A)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class LargeYellowFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeYellowFlask() : base(0x183B) => Weight = 1.0;
|
||||
public LargeYellowFlask() : base(0x183B)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class LargeVioletFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeVioletFlask() : base(0x183C) => Weight = 1.0;
|
||||
public LargeVioletFlask() : base(0x183C)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class LargeEmptyFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public LargeEmptyFlask() : base(0x183D) => Weight = 1.0;
|
||||
public LargeEmptyFlask() : base(0x183D)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class AniRedRibbedFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public AniRedRibbedFlask() : base(0x183E) => Weight = 1.0;
|
||||
public AniRedRibbedFlask() : base(0x183E)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class AniLargeVioletFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public AniLargeVioletFlask() : base(0x1841) => Weight = 1.0;
|
||||
public AniLargeVioletFlask() : base(0x1841)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class AniSmallBlueFlask : Item
|
||||
{
|
||||
[Constructible]
|
||||
public AniSmallBlueFlask() : base(0x1844) => Weight = 1.0;
|
||||
public AniSmallBlueFlask() : base(0x1844)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallBlueBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallBlueBottle() : base(0x1847) => Weight = 1.0;
|
||||
public SmallBlueBottle() : base(0x1847)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SmallGreenBottle2 : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SmallGreenBottle2() : base(0x1848) => Weight = 1.0;
|
||||
public SmallGreenBottle2() : base(0x1848)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x185B, 0x185C)]
|
||||
|
|
@ -273,7 +421,11 @@ public partial class SmallGreenBottle2 : Item
|
|||
public partial class EmptyVialsWRack : Item
|
||||
{
|
||||
[Constructible]
|
||||
public EmptyVialsWRack() : base(0x185B) => Weight = 1.0;
|
||||
public EmptyVialsWRack() : base(0x185B)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x185D, 0x185E)]
|
||||
|
|
@ -281,33 +433,53 @@ public partial class EmptyVialsWRack : Item
|
|||
public partial class FullVialsWRack : Item
|
||||
{
|
||||
[Constructible]
|
||||
public FullVialsWRack() : base(0x185D) => Weight = 1.0;
|
||||
public FullVialsWRack() : base(0x185D)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class EmptyVial : Item
|
||||
{
|
||||
[Constructible]
|
||||
public EmptyVial() : base(0x0E24) => Weight = 1.0;
|
||||
public EmptyVial() : base(0x0E24)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class HourglassAni : Item
|
||||
{
|
||||
[Constructible]
|
||||
public HourglassAni() : base(0x1811) => Weight = 1.0;
|
||||
public HourglassAni() : base(0x1811)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Hourglass : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Hourglass() : base(0x1810) => Weight = 1.0;
|
||||
public Hourglass() : base(0x1810)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class TinyRedBottle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public TinyRedBottle() : base(0x0F04) => Weight = 1.0;
|
||||
public TinyRedBottle() : base(0x0F04)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,11 @@ namespace Server.Items;
|
|||
public partial class HairDye : Item
|
||||
{
|
||||
[Constructible]
|
||||
public HairDye() : base(0xEFF) => Weight = 1.0;
|
||||
public HairDye() : base(0xEFF)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041060; // Hair Dye
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@ namespace Server.Items;
|
|||
public partial class ContractOfEmployment : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ContractOfEmployment() : base(0x14F0) => Weight = 1.0;
|
||||
public ContractOfEmployment() : base(0x14F0)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041243; // a contract of employment
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@ namespace Server.Items;
|
|||
public partial class PowerCrystal : Item
|
||||
{
|
||||
[Constructible]
|
||||
public PowerCrystal() : base(0x1F1C) => Weight = 1.0;
|
||||
public PowerCrystal() : base(0x1F1C)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override string DefaultName => "power crystal";
|
||||
|
||||
|
|
|
|||
|
|
@ -128,82 +128,130 @@ public partial class ForgedMetal : Item
|
|||
public partial class Whip : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Whip() : base(0x166E) => Weight = 1.0;
|
||||
public Whip() : base(0x166E)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class PaintsAndBrush : Item
|
||||
{
|
||||
[Constructible]
|
||||
public PaintsAndBrush() : base(0xFC1) => Weight = 1.0;
|
||||
public PaintsAndBrush() : base(0xFC1)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class PenAndInk : Item
|
||||
{
|
||||
[Constructible]
|
||||
public PenAndInk() : base(0xFBF) => Weight = 1.0;
|
||||
public PenAndInk() : base(0xFBF)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class ChiselsNorth : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ChiselsNorth() : base(0x1026) => Weight = 1.0;
|
||||
public ChiselsNorth() : base(0x1026)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class ChiselsWest : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ChiselsWest() : base(0x1027) => Weight = 1.0;
|
||||
public ChiselsWest() : base(0x1027)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class DirtyPan : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DirtyPan() : base(0x9E8) => Weight = 1.0;
|
||||
public DirtyPan() : base(0x9E8)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class DirtySmallRoundPot : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DirtySmallRoundPot() : base(0x9E7) => Weight = 1.0;
|
||||
public DirtySmallRoundPot() : base(0x9E7)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class DirtyPot : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DirtyPot() : base(0x9E6) => Weight = 1.0;
|
||||
public DirtyPot() : base(0x9E6)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class DirtyRoundPot : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DirtyRoundPot() : base(0x9DF) => Weight = 1.0;
|
||||
public DirtyRoundPot() : base(0x9DF)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class DirtyFrypan : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DirtyFrypan() : base(0x9DE) => Weight = 1.0;
|
||||
public DirtyFrypan() : base(0x9DE)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class DirtySmallPot : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DirtySmallPot() : base(0x9DD) => Weight = 1.0;
|
||||
public DirtySmallPot() : base(0x9DD)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class DirtyKettle : Item
|
||||
{
|
||||
[Constructible]
|
||||
public DirtyKettle() : base(0x9DC) => Weight = 1.0;
|
||||
public DirtyKettle() : base(0x9DC)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,11 @@ public partial class TaxidermyKit : Item
|
|||
};
|
||||
|
||||
[Constructible]
|
||||
public TaxidermyKit() : base(0x1EBA) => Weight = 1.0;
|
||||
public TaxidermyKit() : base(0x1EBA)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1041279; // a taxidermy kit
|
||||
|
||||
|
|
|
|||
|
|
@ -6,5 +6,9 @@ namespace Server.Items;
|
|||
public partial class Tambourine : BaseInstrument
|
||||
{
|
||||
[Constructible]
|
||||
public Tambourine() : base(0xE9D, 0x52, 0x53) => Weight = 1.0;
|
||||
public Tambourine() : base(0xE9D, 0x52, 0x53)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,5 +6,9 @@ namespace Server.Items;
|
|||
public partial class TambourineTassel : BaseInstrument
|
||||
{
|
||||
[Constructible]
|
||||
public TambourineTassel() : base(0xE9E, 0x52, 0x53) => Weight = 1.0;
|
||||
public TambourineTassel() : base(0xE9E, 0x52, 0x53)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items;
|
|||
public partial class GlassblowingBook : Item
|
||||
{
|
||||
[Constructible]
|
||||
public GlassblowingBook() : base(0xFF4) => Weight = 1.0;
|
||||
public GlassblowingBook() : base(0xFF4)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1153528; // Crafting glass with Glassblowing
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items;
|
|||
public partial class MasonryBook : Item
|
||||
{
|
||||
[Constructible]
|
||||
public MasonryBook() : base(0xFBE) => Weight = 1.0;
|
||||
public MasonryBook() : base(0xFBE)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1153527; // Making valuables with Stonecrafting
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items;
|
|||
public partial class SandMiningBook : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SandMiningBook() : base(0xFF4) => Weight = 1.0;
|
||||
public SandMiningBook() : base(0xFF4)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
public override int LabelNumber => 1153531; // Find Glass-Quality Sand
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@ namespace Server.Items;
|
|||
public partial class StoneMiningBook : Item
|
||||
{
|
||||
[Constructible]
|
||||
public StoneMiningBook() : base(0xFBE) => Weight = 1.0;
|
||||
public StoneMiningBook() : base(0xFBE)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override int LabelNumber => 1153530; // Mining For Quality Stone
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,11 @@ public interface IScissorable
|
|||
public partial class Scissors : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Scissors() : base(0xF9F) => Weight = 1.0;
|
||||
public Scissors() : base(0xF9F)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,7 +17,11 @@ public partial class DisguiseKit : Item
|
|||
public override int LabelNumber => 1041078; // a disguise kit
|
||||
|
||||
[Constructible]
|
||||
public DisguiseKit() : base(0xE05) => Weight = 1.0;
|
||||
public DisguiseKit() : base(0xE05)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public bool ValidateUse(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,7 +25,11 @@ public partial class Clock : Item
|
|||
private static readonly DateTime WorldStart = new(1997, 9, 1);
|
||||
|
||||
[Constructible]
|
||||
public Clock(int itemID = 0x104B) : base(itemID) => Weight = 3.0;
|
||||
public Clock(int itemID = 0x104B) : base(itemID)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 3.0;
|
||||
|
||||
public static DateTime ServerStart { get; private set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -7,21 +7,33 @@ namespace Server.Items;
|
|||
public partial class Fork : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Fork() : base(0x9F4) => Weight = 1.0;
|
||||
public Fork() : base(0x9F4)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class ForkLeft : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ForkLeft() : base(0x9F4) => Weight = 1.0;
|
||||
public ForkLeft() : base(0x9F4)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class ForkRight : Item
|
||||
{
|
||||
[Constructible]
|
||||
public ForkRight() : base(0x9F5) => Weight = 1.0;
|
||||
public ForkRight() : base(0x9F5)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x9F8, 0x9F9, 0x9C2, 0x9C3)]
|
||||
|
|
@ -29,21 +41,33 @@ public partial class ForkRight : Item
|
|||
public partial class Spoon : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Spoon() : base(0x9F8) => Weight = 1.0;
|
||||
public Spoon() : base(0x9F8)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SpoonLeft : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SpoonLeft() : base(0x9F8) => Weight = 1.0;
|
||||
public SpoonLeft() : base(0x9F8)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class SpoonRight : Item
|
||||
{
|
||||
[Constructible]
|
||||
public SpoonRight() : base(0x9F9) => Weight = 1.0;
|
||||
public SpoonRight() : base(0x9F9)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[Flippable(0x9F6, 0x9F7, 0x9A5, 0x9A6)]
|
||||
|
|
@ -51,26 +75,42 @@ public partial class SpoonRight : Item
|
|||
public partial class Knife : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Knife() : base(0x9F6) => Weight = 1.0;
|
||||
public Knife() : base(0x9F6)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class KnifeLeft : Item
|
||||
{
|
||||
[Constructible]
|
||||
public KnifeLeft() : base(0x9F6) => Weight = 1.0;
|
||||
public KnifeLeft() : base(0x9F6)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class KnifeRight : Item
|
||||
{
|
||||
[Constructible]
|
||||
public KnifeRight() : base(0x9F7) => Weight = 1.0;
|
||||
public KnifeRight() : base(0x9F7)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Plate : Item
|
||||
{
|
||||
[Constructible]
|
||||
public Plate() : base(0x9D7) => Weight = 1.0;
|
||||
public Plate() : base(0x9D7)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,16 @@ namespace Server.Items;
|
|||
public partial class DrawKnife : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public DrawKnife() : base(0x10E4) => Weight = 1.0;
|
||||
public DrawKnife() : base(0x10E4)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public DrawKnife(int uses) : base(uses, 0x10E4) => Weight = 1.0;
|
||||
public DrawKnife(int uses) : base(uses, 0x10E4)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override CraftSystem CraftSystem => DefCarpentry.CraftSystem;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,16 @@ namespace Server.Items;
|
|||
public partial class FlourSifter : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public FlourSifter() : base(0x103E) => Weight = 1.0;
|
||||
public FlourSifter() : base(0x103E)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public FlourSifter(int uses) : base(uses, 0x103E) => Weight = 1.0;
|
||||
public FlourSifter(int uses) : base(uses, 0x103E)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override CraftSystem CraftSystem => DefCooking.CraftSystem;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,16 @@ namespace Server.Items;
|
|||
public partial class Froe : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Froe() : base(0x10E5) => Weight = 1.0;
|
||||
public Froe() : base(0x10E5)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public Froe(int uses) : base(uses, 0x10E5) => Weight = 1.0;
|
||||
public Froe(int uses) : base(uses, 0x10E5)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override CraftSystem CraftSystem => DefCarpentry.CraftSystem;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,16 @@ namespace Server.Items;
|
|||
public partial class Inshave : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public Inshave() : base(0x10E6) => Weight = 1.0;
|
||||
public Inshave() : base(0x10E6)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public Inshave(int uses) : base(uses, 0x10E6) => Weight = 1.0;
|
||||
public Inshave(int uses) : base(uses, 0x10E6)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override CraftSystem CraftSystem => DefCarpentry.CraftSystem;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,16 @@ namespace Server.Items;
|
|||
public partial class MalletAndChisel : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public MalletAndChisel() : base(0x12B3) => Weight = 1.0;
|
||||
public MalletAndChisel() : base(0x12B3)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public MalletAndChisel(int uses) : base(uses, 0x12B3) => Weight = 1.0;
|
||||
public MalletAndChisel(int uses) : base(uses, 0x12B3)
|
||||
{
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public override CraftSystem CraftSystem => DefMasonry.CraftSystem;
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue