crucible
This commit is contained in:
parent
b1b70b55e2
commit
9e067b4fd0
9 changed files with 57 additions and 10 deletions
|
|
@ -12,6 +12,15 @@ util.add_prerequisite("power-armor-mk2", "graphene")
|
|||
util.add_prerequisite("rocket-control-unit", "graphene")
|
||||
|
||||
|
||||
-- furnace recipe rework w/ crucible, more in data-final-fixes
|
||||
util.add_effect("advanced-material-processing-2", {type="unlock-recipe", recipe="crucible"})
|
||||
for i, ingredient in pairs(util.me.crucible_ingredients) do
|
||||
util.add_ingredient("crucible", ingredient, 5)
|
||||
end
|
||||
for i, furnace in pairs(util.me.furnaces) do
|
||||
util.add_ingredient(furnace, "crucible", 1)
|
||||
end
|
||||
|
||||
-- fullerenes & nanotubes
|
||||
if util.me.use_fullerenes() then
|
||||
util.add_prerequisite("graphene", "fullerenes")
|
||||
|
|
@ -53,11 +62,7 @@ end
|
|||
util.replace_some_ingredient("electronic-circuit", "copper-cable", 1, "graphite", 1)
|
||||
util.add_ingredient("battery", "graphite", 1)
|
||||
util.add_ingredient("pump", "graphite", 2)
|
||||
if mods.bzzirconium then
|
||||
-- TODO CRUCIBLE RECIPE HERE
|
||||
else
|
||||
util.add_ingredient("electric-furnace", "graphite", 5)
|
||||
end
|
||||
|
||||
|
||||
util.add_ingredient("speed-module-2", "diamond", 4)
|
||||
util.add_ingredient("effectivity-module-2", "diamond", 4)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
-- Graphite etc
|
||||
|
||||
local util = require("__bzcarbon__.data-util");
|
||||
|
||||
local graphite_category = "advanced-crafting"
|
||||
|
|
@ -446,4 +444,28 @@ data:extend({
|
|||
})
|
||||
end
|
||||
|
||||
|
||||
if mods.bzzirconium or mods.bztungsten then
|
||||
data:extend({
|
||||
{
|
||||
type = "item",
|
||||
name = "crucible",
|
||||
icon = "__bzcarbon__/graphics/icons/crucible.png", icon_size = 128,
|
||||
subgroup = "intermediate-product",
|
||||
order = "g[crucible]",
|
||||
stack_size = 50,
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
name = "crucible",
|
||||
category = "crafting",
|
||||
order = "d[graphite]",
|
||||
enabled = false,
|
||||
energy_required = 3,
|
||||
ingredients = {
|
||||
{type="item", name="graphite", amount=5},
|
||||
},
|
||||
result = "crucible",
|
||||
result_count = 1,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ require("carbon-recipe-final-stacking")
|
|||
require("carbon-recipe-final-k2")
|
||||
require("carbon-recipe-final-se")
|
||||
require("carbon-recipe-final-rrr")
|
||||
|
||||
require("carbon-recipe-modules") -- Should be last import
|
||||
|
||||
local util = require("__bzcarbon__.data-util");
|
||||
|
|
@ -27,3 +26,11 @@ end
|
|||
for i, entity in pairs(data.raw["assembling-machine"]) do
|
||||
diamondsInElectricSmelter(entity)
|
||||
end
|
||||
|
||||
-- furnace recipe rework, remove crucible ingredients
|
||||
for i, furnace in pairs(furnaces) do
|
||||
for j, ingredient in pairs(util.me.crucible_ingredients) do
|
||||
util.remove_ingredient(furnace, ingredient)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
BIN
graphics/icons/crucible.png
Normal file
BIN
graphics/icons/crucible.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
graphics/icons/crucible.xcf
Normal file
BIN
graphics/icons/crucible.xcf
Normal file
Binary file not shown.
13
me.lua
13
me.lua
|
|
@ -24,4 +24,17 @@ if me.get_setting(me.name.."-recipe-bypass") then
|
|||
end
|
||||
end
|
||||
|
||||
me.crucible_ingredients = {"tungsten-plate", "zirconia", "stone-brick", "silica"}
|
||||
me.furnaces = {
|
||||
"electric-furnace",
|
||||
"electric-foundry", -- BZ
|
||||
"industrial-furnace", -- AAI
|
||||
"kr-advanced-furnace", -- K2
|
||||
"electric-furnace-mk2", -- FE+
|
||||
"electric-furnace-mk3", -- FE+
|
||||
"mega-furnace", -- Mega furnace
|
||||
"advanced-electric-furnace-rampant-industrial",
|
||||
}
|
||||
|
||||
|
||||
return me
|
||||
|
|
|
|||
BIN
thumbnail.png
BIN
thumbnail.png
Binary file not shown.
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 18 KiB |
BIN
thumbnail.xcf
BIN
thumbnail.xcf
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue