mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-30 12:01:39 +09:00
.
This commit is contained in:
@@ -375,6 +375,10 @@ if settings.startup['PHI-CT'].value then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-CT-UTILITY'].value then
|
if settings.startup['PHI-CT-UTILITY'].value then
|
||||||
|
for _, t in pairs({'arithmetic-combinator', 'decider-combinator', 'programmable-speaker', 'selector-combinator'}) do
|
||||||
|
data.raw[t][t].energy_source.usage_priority = 'primary-input'
|
||||||
|
end
|
||||||
|
|
||||||
local item = table.deepcopy(data.raw['item']['steel-chest'])
|
local item = table.deepcopy(data.raw['item']['steel-chest'])
|
||||||
item.name = 'trash-chest'
|
item.name = 'trash-chest'
|
||||||
item.place_result = item.name
|
item.place_result = item.name
|
||||||
@@ -624,12 +628,6 @@ if settings.startup['PHI-CT'].value then
|
|||||||
table.insert(data.raw.technology['logistics-3'].effects, {type='unlock-recipe', recipe='express-loader'})
|
table.insert(data.raw.technology['logistics-3'].effects, {type='unlock-recipe', recipe='express-loader'})
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-CT-UTILITY'].value then
|
|
||||||
for _, t in pairs({'arithmetic-combinator', 'decider-combinator', 'programmable-speaker', 'selector-combinator'}) do
|
|
||||||
data.raw[t][t].energy_source.usage_priority = 'primary-input'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-CT-ROCKET-CAPACITY'].value * 100000
|
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-CT-ROCKET-CAPACITY'].value * 100000
|
||||||
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-CT-CARGO-WEIGHT'].value
|
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-CT-CARGO-WEIGHT'].value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user