mirror of
https://github.com/factoriolib/flib.git
synced 2025-09-04 08:26:22 +00:00
Add ronna and quetta support to flib_format.number
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.15.0
|
||||
Date: ????
|
||||
Features:
|
||||
- Added support for ronna and quetta SI prefixes to `flib_format.number`.
|
||||
Changes:
|
||||
- Updated to Factorio 2.0.
|
||||
- Removed `flib_direction.north` etc. constants. Use `defines.direction` instead.
|
||||
|
@@ -10,6 +10,8 @@ end
|
||||
local flib_format = {}
|
||||
|
||||
local suffix_list = {
|
||||
{ "Q", 1e30 }, -- quetta
|
||||
{ "R", 1e27 }, -- ronna
|
||||
{ "Y", 1e24 }, -- yotta
|
||||
{ "Z", 1e21 }, -- zetta
|
||||
{ "E", 1e18 }, -- exa
|
||||
|
Reference in New Issue
Block a user