stacking, landfill, modmash
This commit is contained in:
parent
2fe3190059
commit
3aa1cd0128
5 changed files with 60 additions and 1 deletions
|
|
@ -15,6 +15,9 @@ if deadlock then
|
|||
if util.me.use_carbon_black() then
|
||||
deadlock.add_stack("carbon-black", "__bzcarbon__/graphics/icons/stacked/carbon-black-stacked.png", "deadlock-stacking-2", 64)
|
||||
end
|
||||
if util.me.use_rough_diamond() then
|
||||
deadlock.add_stack("rough-diamond", "__bzcarbon__/graphics/icons/stacked/rough-diamond-stacked.png" , "deadlock-stacking-2", 64)
|
||||
end
|
||||
end
|
||||
|
||||
-- Deadlock crating recipes
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ end
|
|||
se_delivery_cannon_recipes["graphite"] = {name= "graphite"}
|
||||
se_delivery_cannon_recipes["diamond"] = {name= "diamond"}
|
||||
if util.me.use_flake_graphite() then
|
||||
util.se_landfill({ore="flake-graphite"})
|
||||
se_delivery_cannon_recipes["flake-graphite"] = {name= "flake-graphite"}
|
||||
if mods["space-exploration"] > "0.6" then
|
||||
util.se_matter({ore="flake-graphite", energy_required=1, quant_out=10, stream_out=60})
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.5.2
|
||||
Date: 2022-12-08
|
||||
Changes:
|
||||
- Enable rough diamond stacking, stacked mining.
|
||||
- SE: Landfill from graphite
|
||||
- Compatibility fix for ModMash Splinter Subspace Logistics
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.5.1
|
||||
Date: 2022-12-05
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -123,5 +123,52 @@ if not mods.bzaluminum then
|
|||
util.replace_ingredients_prior_to("electronics", "electronic-circuit", "copper-cable", 2)
|
||||
end
|
||||
|
||||
if mods.modmashsplintersubspacelogistics then
|
||||
for i, item in pairs({"graphite", "diamond"}) do
|
||||
if data.raw.item["super-container-for-"..item] then
|
||||
for i, icon in pairs(data.raw.item["super-container-for-"..item].icons) do
|
||||
log(serpent.dump(icon))
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 2
|
||||
icon.icon_scale = icon.icon_scale / 2
|
||||
end
|
||||
end
|
||||
end
|
||||
if data.raw.recipe["super-container-for-"..item] then
|
||||
for i, icon in pairs(data.raw.recipe["super-container-for-"..item].icons) do
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 4
|
||||
icon.icon_scale = icon.icon_scale / 4
|
||||
end
|
||||
end
|
||||
end
|
||||
if data.raw.recipe["empty-super-container-of-"..item] then
|
||||
for i, icon in pairs(data.raw.recipe["empty-super-container-of-"..item].icons) do
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 4
|
||||
icon.icon_scale = icon.icon_scale / 4
|
||||
end
|
||||
end
|
||||
end
|
||||
for i, technology in pairs(data.raw.technology) do
|
||||
log(technology.name)
|
||||
if string.find(technology.name, "containment") then
|
||||
if technology.icons then
|
||||
for j, icon in pairs(technology.icons) do
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 8
|
||||
icon.icon_scale = icon.icon_scale / 8
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Must be last
|
||||
util.create_list()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzcarbon",
|
||||
"version": "0.5.1",
|
||||
"version": "0.5.2",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Graphite & Diamonds",
|
||||
"author": "Brevven",
|
||||
|
|
@ -15,6 +15,7 @@
|
|||
"? aai-industry",
|
||||
"? Krastorio2",
|
||||
"? 248k",
|
||||
"(?) modmashsplintersubspacelogistics",
|
||||
"? deadlock-beltboxes-loaders",
|
||||
"? DeadlockCrating"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue