mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-09-27 02:14:01 +00:00
.
This commit is contained in:
@@ -35,8 +35,7 @@ end
|
||||
|
||||
local calc_function = setmetatable({
|
||||
ln = math.log,
|
||||
log = function(x) return math.log(x, 10) end,
|
||||
log2 = function(x) return math.log(x, 2) end,
|
||||
log = function(x, b) return math.log(x, b or 10) end,
|
||||
round = function(x) return x >= 0 and math.floor(x + 0.5) or math.ceil(x - 0.5) end,
|
||||
trunc = function(x) return (math.modf(x)) end,
|
||||
sign = function(x) return x > 0 and 1 or (x < 0 and -1 or 0) end,
|
||||
|
||||
+1
-1
@@ -171,7 +171,7 @@ data:extend({
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.setting-category-color', 'CT', {'phi-cl.enable'}, {'mod-setting-name.PHI-CT'}},
|
||||
localised_description = {'', {'phi-cl.setting-change-color', '[25] A19 C3 U3'}},
|
||||
localised_description = {'', {'phi-cl.setting-change-color', '[26] A20 C3 U3'}},
|
||||
order = 'E00'
|
||||
}, {
|
||||
type = 'string-setting',
|
||||
|
||||
Reference in New Issue
Block a user