diff --git a/src/data/layers/packing.tsx b/src/data/layers/packing.tsx index 4f8478b..edf9a7c 100644 --- a/src/data/layers/packing.tsx +++ b/src/data/layers/packing.tsx @@ -103,9 +103,11 @@ const layer = createLayer(id, function (this: BaseLayer) { }); const packedPresentsSize = computed(() => - Decimal.div(packedPresents.value, packingDensity.value) + Decimal.times(packedPresents.value, 0.008).dividedBy(packingDensity.value) + ); + const currentMaxPresents = computed(() => + Decimal.times(sledSpace, packingDensity.value).div(0.008) ); - const currentMaxPresents = computed(() => Decimal.times(sledSpace, packingDensity.value)); const remainingSize = computed(() => Decimal.sub(sledSpace, packedPresentsSize.value)); const elfPackingSpeed = createSequentialModifier(() => [ @@ -497,7 +499,9 @@ const layer = createLayer(id, function (this: BaseLayer) { {render(trackerDisplay)} -

You can pack {format(remainingSize.value)} more presents

+

+ The bag has {format(remainingSize.value)} m3 empty room +

{render(resetPacking)} {render(packPresent)}