Default stacksize is 120

This commit is contained in:
Carrie 2025-01-31 12:12:17 -07:00 committed by IntegratedQuantum
parent 3d16252f52
commit b6dc901e69

View File

@ -94,7 +94,7 @@ pub const BaseItem = struct { // MARK: BaseItem
};
}
self.name = allocator.dupe(u8, zon.get([]const u8, "name", id));
self.stackSize = zon.get(u16, "stackSize", 64);
self.stackSize = zon.get(u16, "stackSize", 120);
const material = zon.getChild("material");
if(material == .object) {
self.material = Material{};