fix: Consolidates commodity interface for reagents. (#1709)
This commit is contained in:
parent
3332fabc39
commit
f3d1fb82d8
17 changed files with 39 additions and 80 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue