start with burner inserter
This commit is contained in:
parent
30e9760ef7
commit
4116dc4fe2
3 changed files with 24 additions and 0 deletions
16
control.lua
16
control.lua
|
|
@ -14,3 +14,19 @@ function on_console_chat(event)
|
|||
end
|
||||
end
|
||||
script.on_event(defines.events.on_console_chat, on_console_chat)
|
||||
|
||||
|
||||
-- Free burner inserter
|
||||
-- (thanks to modder planetfall for inspiration, from Brass Tacks)
|
||||
script.on_init(
|
||||
function()
|
||||
if remote.interfaces["freeplay"] then
|
||||
local care_package = remote.call("freeplay", "get_created_items")
|
||||
if settings.global["bzaluminum-starting-items"].value then
|
||||
care_package["burner-inserter"] = 1
|
||||
end
|
||||
remote.call("freeplay", "set_created_items", care_package)
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -76,8 +76,10 @@ dirty-water-filtration-aluminum=Filter dirty water, giving __ITEM__aluminum_lowe
|
|||
bzaluminum-recipe-bypass=Bypass recipes
|
||||
bzaluminum-list=Make a list of modified recipes
|
||||
bzaluminum-byproduct=Output byproducts
|
||||
bzaluminum-starting-items=Start with a burner inserter
|
||||
|
||||
[mod-setting-description]
|
||||
bzaluminum-recipe-bypass=Skip modifying these recipes (comma-separated list).
|
||||
bzaluminum-list=If enabled, the text command [color=orange]BZList[/color] will dump a file to the script-output directory with a full list of recipes modified.\nRecommended to turn this off after you are done configuring your other settings.
|
||||
bzaluminum-byproduct=If enabled, and if silica is used, __ITEM__aluminum_lower__ production will output silica as a byproduct.
|
||||
bzaluminum-starting-items=Burner inserters require aluminum to make, which means manually moving alumina around. Leave this setting on to get a single burner inserter to propel you forward by a few seconds in a new game.
|
||||
|
|
|
|||
|
|
@ -18,4 +18,10 @@ data:extend({
|
|||
setting_type = "startup",
|
||||
default_value = false,
|
||||
},
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "bzaluminum-starting-items",
|
||||
setting_type = "runtime-global",
|
||||
default_value = true,
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue