minor updates
This commit is contained in:
parent
90baa55807
commit
96655d1e73
7 changed files with 32 additions and 5 deletions
|
|
@ -20,6 +20,9 @@ for i, ingredient in pairs(util.me.crucible_ingredients) do
|
||||||
end
|
end
|
||||||
for i, furnace in pairs(util.me.furnaces) do
|
for i, furnace in pairs(util.me.furnaces) do
|
||||||
util.add_ingredient(furnace, "crucible", 1)
|
util.add_ingredient(furnace, "crucible", 1)
|
||||||
|
for j, ingredient in pairs(util.me.crucible_ingredients) do
|
||||||
|
util.remove_ingredient(furnace, ingredient)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- fullerenes & nanotubes
|
-- fullerenes & nanotubes
|
||||||
|
|
@ -59,7 +62,7 @@ if util.me.use_carbon_black() then
|
||||||
end
|
end
|
||||||
|
|
||||||
util.add_effect("plastics", {type="unlock-recipe", recipe="carbon-black"})
|
util.add_effect("plastics", {type="unlock-recipe", recipe="carbon-black"})
|
||||||
util.add_effect("plastics", {type="unlock-recipe", recipe="graphite-carbon-black"})
|
util.add_effect("oil-processing", {type="unlock-recipe", recipe="graphite-carbon-black"})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,17 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.1.2
|
||||||
|
Date: 2022-01-30
|
||||||
|
Changes:
|
||||||
|
- More minor tech tree tweaks
|
||||||
|
- More compatibility tweaks
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.1.1
|
Version: 0.1.1
|
||||||
Date: 2022-01-29
|
Date: 2022-01-29
|
||||||
Changes:
|
Changes:
|
||||||
- SE ballistic shielding data recipe
|
- SE ballistic shielding data recipe
|
||||||
|
- Minor rough diamond icon tweak
|
||||||
|
- Minor description tweaks
|
||||||
|
- Minor tech tree tweaks
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
Date: 2022-01-27
|
Date: 2022-01-27
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ for i, entity in pairs(data.raw["assembling-machine"]) do
|
||||||
diamondsInElectricSmelter(entity)
|
diamondsInElectricSmelter(entity)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- furnace recipe rework, remove crucible ingredients
|
-- furnace recipe rework, remove crucible ingredients one more time
|
||||||
for i, furnace in pairs(util.me.furnaces) do
|
for i, furnace in pairs(util.me.furnaces) do
|
||||||
for j, ingredient in pairs(util.me.crucible_ingredients) do
|
for j, ingredient in pairs(util.me.crucible_ingredients) do
|
||||||
util.remove_ingredient(furnace, ingredient)
|
util.remove_ingredient(furnace, ingredient)
|
||||||
|
|
|
||||||
|
|
@ -539,6 +539,15 @@ function util.set_icons(recipe_name, icons)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Set recipe icons
|
||||||
|
function util.set_item_icons(item_name, icons)
|
||||||
|
if data.raw.recipe[item_name] then
|
||||||
|
data.raw.recipe[item_name].icons = icons
|
||||||
|
data.raw.recipe[item_name].icon = nil
|
||||||
|
data.raw.recipe[item_name].icon_size = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function util.set_to_founding(recipe)
|
function util.set_to_founding(recipe)
|
||||||
util.set_category(recipe, "founding")
|
util.set_category(recipe, "founding")
|
||||||
util.set_subgroup(recipe, "foundry-intermediate")
|
util.set_subgroup(recipe, "foundry-intermediate")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzcarbon",
|
"name": "bzcarbon",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Graphite & Diamonds",
|
"title": "Graphite & Diamonds",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ low-density-structure-nanotubes=__ITEM__low-density-structure__
|
||||||
se-low-density-structure-beryllium=__ITEM__low-density-structure__
|
se-low-density-structure-beryllium=__ITEM__low-density-structure__
|
||||||
|
|
||||||
[recipe-description]
|
[recipe-description]
|
||||||
graphite-carbon-black=Convert excess carbon black to graphite at a low ratio.
|
graphite-carbon-black=Convert excess carbon black to graphite at an unfavorable ratio.
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
|
|
||||||
|
|
|
||||||
8
me.lua
8
me.lua
|
|
@ -44,7 +44,13 @@ function me.add_modified(name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
me.crucible_ingredients = {"tungsten-plate", "zirconia", "stone-brick", "silica"}
|
me.crucible_ingredients = {"tungsten-plate", "zirconia", "silica"}
|
||||||
|
if (mods and mods.bzaluminum) or (game and game.active_mods and game.active_mods.bzaluminum) then
|
||||||
|
table.insert(me.crucible_ingredients, "alumina")
|
||||||
|
else
|
||||||
|
table.insert(me.crucible_ingredients, "stone-brick")
|
||||||
|
end
|
||||||
|
|
||||||
me.furnaces = {
|
me.furnaces = {
|
||||||
"electric-furnace",
|
"electric-furnace",
|
||||||
"electric-foundry", -- BZ
|
"electric-foundry", -- BZ
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue