fix: Consolidates commodity interface for reagents. (#1709)

This commit is contained in:
Kamron Batman 2024-03-21 11:31:14 -07:00 • committed by GitHub
parent 3332fabc39
commit f3d1fb82d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 39 additions and 80 deletions

View file

@ -3,7 +3,7 @@ using ModernUO.Serialization;
namespace Server.Items;
[SerializationGenerator(0, false)]
public partial class DaemonBone : BaseReagent, ICommodity
public partial class DaemonBone : BaseReagent
{
[Constructible]
public DaemonBone(int amount = 1) : base(0xF80, amount)
@ -12,6 +12,5 @@ public partial class DaemonBone : BaseReagent, ICommodity
public override double DefaultWeight => 1.0;
int ICommodity.DescriptionNumber => LabelNumber;
bool ICommodity.IsDeedable => Core.ML;
}
public override bool IsDeedable => Core.ML;
}