mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.0.59
|
||||
Date: 2025-01-28
|
||||
|
||||
Features:
|
||||
- [MI] Option for more type of item productivity.
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.0.58
|
||||
Date: 2025-01-25
|
||||
|
||||
@@ -356,33 +356,6 @@ local items = {
|
||||
graphics_name = 'solar-panel-equipment'
|
||||
}
|
||||
},
|
||||
['item_productivity'] = {
|
||||
['solar-panel'] = 'solar-energy',
|
||||
['accumulator'] = 'electric-energy-accumulators',
|
||||
['landfill'] = 'landfill',
|
||||
['cliff-explosives'] = 'cliff-explosives',
|
||||
['concrete'] = 'concrete',
|
||||
['refined-concrete'] = 'concrete',
|
||||
['foundation'] = 'foundation',
|
||||
--[[
|
||||
['artificial-yumako-soil'] = 'artificial-soil',
|
||||
['artificial-jellynut-soil'] = 'artificial-soil',
|
||||
['overgrowth-yumako-soil'] = 'overgrowth-soil',
|
||||
['overgrowth-jellynut-soil'] = 'overgrowth-soil',
|
||||
]]
|
||||
['copper-cable'] = 'automation',
|
||||
['electronic-circuit'] = 'automation',
|
||||
['advanced-circuit'] = 'advanced-circuit',
|
||||
['sulfur'] = 'sulfur-processing',
|
||||
['explosives'] = 'explosives',
|
||||
['battery'] = 'battery',
|
||||
['engine'] = 'engine',
|
||||
['electric-engine'] = 'electric-engine',
|
||||
['flying-robot-frame'] = 'robotics',
|
||||
['iron-gear-wheel'] = 'automation',
|
||||
['iron-stick'] = 'concrete',
|
||||
['ice-melting'] = 'ice-melting',
|
||||
},
|
||||
['space-age'] = {
|
||||
['science'] = {
|
||||
['agricultural-science-pack'] = true,
|
||||
|
||||
@@ -333,35 +333,6 @@ if settings.startup['PHI-MI'].value then
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup['PHI-MI-PRODUCTIVITY'].value then
|
||||
for k, v in pairs(items.item_productivity) do
|
||||
if data.raw.recipe[k] and data.raw.technology[v] then
|
||||
data:extend({{
|
||||
type = 'technology',
|
||||
name = k .. '-productivity',
|
||||
enabled = true,
|
||||
prerequisites = v,
|
||||
effects = {
|
||||
{
|
||||
type = 'change-recipe-productivity',
|
||||
recipe = k,
|
||||
change = 0.1
|
||||
}
|
||||
},
|
||||
unit = {
|
||||
count_formula = '(1.5^L)*1000',
|
||||
ingredients = table.deepcopy(data.raw.technology[v].unit.ingredients),
|
||||
time = data.raw.technology[v].unit.time
|
||||
},
|
||||
icon = data.raw.technology[v].icon,
|
||||
icon_size = 64,
|
||||
max_level = 'infinite',
|
||||
upgrade = true
|
||||
}})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
data.raw['utility-constants'].default.default_pipeline_extent = settings.startup['PHI-MI-PIPE-EXTENT'].value
|
||||
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-MI-ROCKET-CAPACITY'].value * 1000000
|
||||
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-MI-CARGO-WEIGHT'].value
|
||||
|
||||
@@ -123,7 +123,6 @@ PHI-MI-TRAIN=[color=54,228,255]MI7[/color]
|
||||
PHI-MI-PIPE-EXTENT=[color=54,228,255]MI8[/color]
|
||||
PHI-MI-ROCKET-CAPACITY=[color=54,228,255]MI9[/color]
|
||||
PHI-MI-CARGO-WEIGHT=[color=54,228,255]MI10[/color]
|
||||
PHI-MI-PRODUCTIVITY=[color=54,228,255]MI11[/color]
|
||||
|
||||
PHI-SA=[color=255,254,42]SA[/color]
|
||||
PHI-SA-HEAT-RADIUS=[color=54,228,255]SA1[/color]
|
||||
@@ -174,7 +173,6 @@ PHI-MI-TRAIN=Train efficiency
|
||||
PHI-MI-PIPE-EXTENT=Pipe Extent
|
||||
PHI-MI-ROCKET-CAPACITY=Rocket capacity
|
||||
PHI-MI-CARGO-WEIGHT=Rocket cargo weight
|
||||
PHI-MI-PRODUCTIVITY=Item productivity
|
||||
|
||||
PHI-SA=[color=255,254,42]Space Age[/color]
|
||||
PHI-SA-HEAT-RADIUS=Heat radius
|
||||
|
||||
@@ -123,7 +123,6 @@ PHI-MI-TRAIN=列車効率
|
||||
PHI-MI-PIPE-EXTENT=パイプ範囲
|
||||
PHI-MI-ROCKET-CAPACITY=ロケット容量
|
||||
PHI-MI-CARGO-WEIGHT=ロケット積載重量
|
||||
PHI-MI-PRODUCTIVITY=アイテム生産効率
|
||||
|
||||
PHI-SA=[color=255,254,42]Space Age[/color]
|
||||
PHI-SA-HEAT-RADIUS=熱半径
|
||||
|
||||
@@ -123,7 +123,6 @@ PHI-MI-TRAIN=火車效率
|
||||
PHI-MI-PIPE-EXTENT=管道長度
|
||||
PHI-MI-ROCKET-CAPACITY=火箭容量
|
||||
PHI-MI-CARGO-WEIGHT=火箭貨物重量
|
||||
PHI-MI-PRODUCTIVITY=物品生產力
|
||||
|
||||
PHI-SA=[color=255,254,42]太空時代[/color]
|
||||
PHI-SA-HEAT-RADIUS=熱半徑
|
||||
|
||||
@@ -218,13 +218,6 @@ data:extend({
|
||||
maximum_value = 1000,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-CARGO-WEIGHT'}, {'mod-setting-name.PHI-MI-CARGO-WEIGHT'}},
|
||||
order = 'C10'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-MI-PRODUCTIVITY',
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-MI-PRODUCTIVITY'}, {'mod-setting-name.PHI-MI-PRODUCTIVITY'}},
|
||||
order = 'C11'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-SA',
|
||||
|
||||
Reference in New Issue
Block a user