fix: Optimizes items to use default weights. (Part 3) (#2242)

This commit is contained in:
Kamron Batman 2025-07-24 16:21:27 -07:00 • committed by GitHub
parent 2c5441731e
commit 40ba85d7b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
104 changed files with 497 additions and 425 deletions

View file

@ -42,13 +42,14 @@ public partial class MapItem : Item, ICraftable
[Constructible]
public MapItem(Map facet = null) : base(0x14EC)
{
Weight = 1.0;
_width = 200;
_height = 200;
_facet = facet;
_pins = new List<Point2D>();
}
public override double DefaultWeight => 1.0;
public int OnCraft(
int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool,
CraftItem craftItem, int resHue