mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 17:53:00 +02:00
CORPORATION: Update tooltip of storage space (#1237)
The tooltip of the storage space only shows sizes of materials/products. This is confusing for newbies. They use "Unit" (number of material/product units) when buying materials, but that tooltip only shows sizes without any description.
This commit is contained in:
@@ -179,8 +179,8 @@ export const formatRespect = (n: number) => formatNumber(n, 5);
|
||||
export const formatWanted = formatRespect;
|
||||
export const formatPreciseMultiplier = formatRespect;
|
||||
|
||||
/** Format a number with no suffix and 1 fractional digit. */
|
||||
export const formatMaterialSize = (n: number) => formatNumberNoSuffix(n, 1);
|
||||
/** Format a number with 3 fractional digits. */
|
||||
export const formatMaterialSize = (n: number) => formatNumber(n, 3);
|
||||
|
||||
/** Format a number with no suffix and 2 fractional digits. */
|
||||
export const formatMultiplier = (n: number) => formatNumberNoSuffix(n, 2);
|
||||
|
||||
Reference in New Issue
Block a user