Video to show problem: https://imgur.com/a/wHhzR
related post: viewtopic.php?f=25&t=32654#p207964 (Modify input buffer of assembling machine)
So after Klonens tip I tried:Klonan wrote: The input buffer isn't set by modifying the assembling machine prototype,
But it is set on the specific recipe prototype, with the flag 'overload_multiplier'
example:Code: Select all
{ type = "recipe", name = "gun-turret", enabled = false, energy_required = 10, ingredients = { {"iron-gear-wheel", 10}, {"copper-plate", 10}, {"iron-plate", 20} }, result = "gun-turret", overload_multiplier = 20 }
Code: Select all
data:extend(
{
{
type = "recipe",
name = "iron-plate",
category = "smelting",
energy_required = 3.5,
ingredients = {{"iron-ore", 1}},
result = "iron-plate",
overload_multiplier = 20
},
[...]
Code: Select all
for key, recipe in pairs(data.raw["recipe"]) do
recipe.overload_multiplier = 2000
end
Code: Select all
data.raw["recipe"]["iron-plate"].overload_multiplier = 20