mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -4,6 +4,7 @@ Date: 2025-06-06
|
|||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
- [CL] Some code clean up.
|
- [CL] Some code clean up.
|
||||||
|
- [MI] Dropped support for train efficiency affecting wagon size.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.109
|
Version: 3.0.109
|
||||||
|
|||||||
@@ -264,8 +264,6 @@ if settings.startup['PHI-MI'].value then
|
|||||||
v.max_health = (v.max_health and (v.max_health * s)) or nil
|
v.max_health = (v.max_health and (v.max_health * s)) or nil
|
||||||
v.max_speed = (v.max_speed and (v.max_speed * s)) or nil
|
v.max_speed = (v.max_speed and (v.max_speed * s)) or nil
|
||||||
v.braking_force = (v.braking_force and (v.braking_force * s)) or nil
|
v.braking_force = (v.braking_force and (v.braking_force * s)) or nil
|
||||||
v.inventory_size = (v.inventory_size and math.ceil(v.inventory_size * s)) or nil
|
|
||||||
v.capacity = (v.capacity and math.ceil(v.capacity * s)) or nil
|
|
||||||
|
|
||||||
if v.max_power then
|
if v.max_power then
|
||||||
v.max_power = tostring(tonumber(string.match(v.max_power, '[%d%.]+')) * s) .. string.match(v.max_power, '%a+')
|
v.max_power = tostring(tonumber(string.match(v.max_power, '[%d%.]+')) * s) .. string.match(v.max_power, '%a+')
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ data:extend({
|
|||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = 10,
|
default_value = 10,
|
||||||
minimum_value = 1,
|
minimum_value = 1,
|
||||||
maximum_value = 300,
|
maximum_value = 160,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-PIPE'}, {'mod-setting-name.PHI-MI-PIPE'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-PIPE'}, {'mod-setting-name.PHI-MI-PIPE'}},
|
||||||
order = 'B01'
|
order = 'B01'
|
||||||
}, {
|
}, {
|
||||||
@@ -95,7 +95,7 @@ data:extend({
|
|||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = 10,
|
default_value = 10,
|
||||||
minimum_value = 1,
|
minimum_value = 1,
|
||||||
maximum_value = 300,
|
maximum_value = 160,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-ROBOT'}, {'mod-setting-name.PHI-MI-ROBOT'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-ROBOT'}, {'mod-setting-name.PHI-MI-ROBOT'}},
|
||||||
order = 'B02'
|
order = 'B02'
|
||||||
}, {
|
}, {
|
||||||
@@ -111,7 +111,7 @@ data:extend({
|
|||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = 10,
|
default_value = 10,
|
||||||
minimum_value = 1,
|
minimum_value = 1,
|
||||||
maximum_value = 300,
|
maximum_value = 160,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-TRAIN'}, {'mod-setting-name.PHI-MI-TRAIN'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-TRAIN'}, {'mod-setting-name.PHI-MI-TRAIN'}},
|
||||||
order = 'B04'
|
order = 'B04'
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user