Compare commits
3 commits
88bf78f615
...
bf2a844eeb
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bf2a844eeb | ||
![]() |
3075523b3f | ||
![]() |
96b685a222 |
5 changed files with 45 additions and 10 deletions
|
@ -107,6 +107,7 @@ nutrients-from-wood-pulp=Nutrients from wood pulp
|
||||||
active-noise-cancelling=Active noise cancelling
|
active-noise-cancelling=Active noise cancelling
|
||||||
casting-gold=Casting gold
|
casting-gold=Casting gold
|
||||||
gold-ore-crushing=Gold ore crushing
|
gold-ore-crushing=Gold ore crushing
|
||||||
|
processing-unit-gold=Processing unit (gold)
|
||||||
|
|
||||||
[recipe-description]
|
[recipe-description]
|
||||||
moist-stromatolite-remnant-desiccation-without-steam=Used for balancing the production of steam.
|
moist-stromatolite-remnant-desiccation-without-steam=Used for balancing the production of steam.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
local item_sounds = require("__base__.prototypes.item_sounds")
|
local item_sounds = require("__base__.prototypes.item_sounds")
|
||||||
local Technology = require("__cf-lib__/data/Technology")
|
|
||||||
local Recipe = require("__cf-lib__/data/Recipe")
|
local Recipe = require("__cf-lib__/data/Recipe")
|
||||||
|
|
||||||
if not mods["crushing-industry"] then return end
|
if not mods["crushing-industry"] then return end
|
||||||
|
@ -11,8 +10,8 @@ data:extend({
|
||||||
name = "crushed-gold-ore",
|
name = "crushed-gold-ore",
|
||||||
icon = Lignumis.graphics .. "icons/crushed-gold-ore.png",
|
icon = Lignumis.graphics .. "icons/crushed-gold-ore.png",
|
||||||
pictures = {
|
pictures = {
|
||||||
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore.png", scale = 0.5, mipmap_count = 4 },
|
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore.png", scale = 0.5, mipmap_count = 4 },
|
||||||
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore-1.png", scale = 0.5, mipmap_count = 4 },
|
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore-1.png", scale = 0.5, mipmap_count = 4 },
|
||||||
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore-2.png", scale = 0.5, mipmap_count = 4 },
|
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore-2.png", scale = 0.5, mipmap_count = 4 },
|
||||||
},
|
},
|
||||||
subgroup = "raw-resource",
|
subgroup = "raw-resource",
|
||||||
|
@ -79,16 +78,21 @@ data:extend({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Recipe:new("molten-gold"):replaceIngredient("gold-ore", "crushed-gold-ore", 75)
|
||||||
|
|
||||||
if settings.startup["crushing-industry-byproducts"].value then
|
if settings.startup["crushing-industry-byproducts"].value then
|
||||||
table.insert(data.raw["recipe"]["crushed-gold-ore"].results, { type = "item", name = "gold-ore", amount = 1, probability = 0.05 })
|
table.insert(data.raw["recipe"]["crushed-gold-ore"].results,
|
||||||
table.insert(data.raw["recipe"]["crushed-gold-ore"].results, { type = "item", name = "sand", amount = 1, probability = 0.02 })
|
{ type = "item", name = "gold-ore", amount = 1, probability = 0.05 })
|
||||||
|
table.insert(data.raw["recipe"]["crushed-gold-ore"].results,
|
||||||
|
{ type = "item", name = "moist-stromatolite-remnant", amount = 1, probability = 0.02 })
|
||||||
end
|
end
|
||||||
|
|
||||||
local gold_recipe = Recipe:new("burner-crusher")
|
local gold_recipe = Recipe:new("burner-crusher")
|
||||||
:replaceIngredient("iron-gear-wheel", "wooden-gear-wheel")
|
:replaceIngredient("iron-gear-wheel", "wooden-gear-wheel")
|
||||||
:replaceIngredient("iron-plate", "gold-plate")
|
:replaceIngredient("iron-plate", "gold-plate")
|
||||||
:assign({
|
:assign({
|
||||||
category = settings.startup["lignumis-lumber-mill-more-recipes"].value and "wood-processing-or-assembling" or "crafting"
|
category = settings.startup["lignumis-lumber-mill-more-recipes"].value and "wood-processing-or-assembling" or
|
||||||
|
"crafting"
|
||||||
})
|
})
|
||||||
|
|
||||||
gold_recipe:clone("burner-crusher-copper")
|
gold_recipe:clone("burner-crusher-copper")
|
||||||
|
|
|
@ -40,6 +40,8 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "gold-cable",
|
name = "gold-cable",
|
||||||
|
category = "crafting",
|
||||||
|
additional_categories = { "electromagnetics" },
|
||||||
ingredients = { { type = "item", name = "gold-plate", amount = 1 } },
|
ingredients = { { type = "item", name = "gold-plate", amount = 1 } },
|
||||||
results = { { type = "item", name = "gold-cable", amount = 2 } },
|
results = { { type = "item", name = "gold-cable", amount = 2 } },
|
||||||
allow_productivity = true
|
allow_productivity = true
|
||||||
|
|
|
@ -167,7 +167,7 @@ data:extend({
|
||||||
allow_productivity = true,
|
allow_productivity = true,
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = "__base__/graphics/icons/low-density-structure.png" },
|
{ icon = "__base__/graphics/icons/low-density-structure.png" },
|
||||||
{ icon = Lignumis.graphics .. "icons/gold-plate.png", scale = 0.25, shift = { 8, 8 } }
|
{ icon = Lignumis.graphics .. "icons/gold-plate.png", scale = 0.25, shift = { 8, 8 } }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -216,6 +216,34 @@ data:extend({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if settings.startup["lignumis-basic-circuit-board"].value then
|
||||||
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "processing-unit-gold",
|
||||||
|
category = "crafting-with-steam",
|
||||||
|
additional_categories = { "electromagnetics" },
|
||||||
|
enabled = false,
|
||||||
|
auto_recycle = false,
|
||||||
|
energy_required = 10,
|
||||||
|
ingredients =
|
||||||
|
{
|
||||||
|
{ type = "item", name = "basic-circuit-board", amount = 20 },
|
||||||
|
{ type = "item", name = "gold-cable", amount = 8 },
|
||||||
|
{ type = "item", name = "plastic-bar", amount = 3 },
|
||||||
|
{ type = "fluid", name = "wood-pulp", amount = 5 }
|
||||||
|
},
|
||||||
|
results = { { type = "item", name = "processing-unit", amount = 1 } },
|
||||||
|
allow_productivity = true,
|
||||||
|
icons = {
|
||||||
|
{ icon = "__base__/graphics/icons/processing-unit.png" },
|
||||||
|
{ icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
Technology:new("processing-unit"):addRecipe("processing-unit-gold")
|
||||||
|
end
|
||||||
|
|
||||||
local plastics = Technology:new("plastics")
|
local plastics = Technology:new("plastics")
|
||||||
plastics:addRecipe("cupriavidus-necator-starter")
|
plastics:addRecipe("cupriavidus-necator-starter")
|
||||||
plastics:addRecipe("cupriavidus-necator")
|
plastics:addRecipe("cupriavidus-necator")
|
||||||
|
|
|
@ -9,7 +9,7 @@ assembling_machine.name = "steam-assembling-machine"
|
||||||
assembling_machine.icons = { { icon = Lignumis.graphics .. "icons/steam-assembling-machine.png", icon_size = 64 } }
|
assembling_machine.icons = { { icon = Lignumis.graphics .. "icons/steam-assembling-machine.png", icon_size = 64 } }
|
||||||
assembling_machine.minable.result = "steam-assembling-machine"
|
assembling_machine.minable.result = "steam-assembling-machine"
|
||||||
assembling_machine.next_upgrade = "assembling-machine-1"
|
assembling_machine.next_upgrade = "assembling-machine-1"
|
||||||
assembling_machine.module_slots = nil
|
assembling_machine.module_slots = 2
|
||||||
assembling_machine.corpses = "steam-assembling-machine-remnants"
|
assembling_machine.corpses = "steam-assembling-machine-remnants"
|
||||||
assembling_machine.resistances = nil
|
assembling_machine.resistances = nil
|
||||||
assembling_machine.graphics_set = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-1"].graphics_set)
|
assembling_machine.graphics_set = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-1"].graphics_set)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue