This commit is contained in:
2024-11-01 18:41:50 +09:00
parent 1ccf4e5a3a
commit db63fed892

View File

@@ -375,6 +375,10 @@ if settings.startup['PHI-CT'].value then
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
local item = table.deepcopy(data.raw['item']['steel-chest'])
item.name = 'trash-chest'
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'})
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.default_item_weight = settings.startup['PHI-CT-CARGO-WEIGHT'].value