i might know
Code: Select all
require("prototypes.settings")
roboportamount = tonumber("settings.startup[roboport-amount].value")
data:extend({
{
type = "recipe",
name = "robotdeployerrecipe",
enabled = not "settings.startup[requires-research].value",
ingredients =
{
{"roboport",roboportamount},
},
result = "robot-deployer"
}
})