Original version

This commit is contained in:
Simon Brodtmann 2025-10-10 17:51:30 +02:00
parent 9a335fbe36
commit 84df859fb5
40 changed files with 2708 additions and 0 deletions

20
Chromium2/LICENSE.md Normal file
View file

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2023 Timeken
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

16
Chromium2/README.md Normal file
View file

@ -0,0 +1,16 @@
# MetalsForYou
## Version History
See changelog.txt
## Created by
## Thanks to
### Compatibility
### Localization

63
Chromium2/changelog.txt Normal file
View file

@ -0,0 +1,63 @@
---------------------------------------------------------------------------------------------------
Version: 0.3.2
Date: 2024-07-30
Features:
- Added inconel-718 to SE heavy composite.
---------------------------------------------------------------------------------------------------
Version: 0.3.1
Date: 2024-07-16
Features:
- Added stainless steel plate to SE corrosion resistance data.
- Added air bearing to SE friction data.
- Added chromel-r fabric to SE thermodynamics data.
- Increased heat resistant low density structure SE space recipe 2 -> 4
---------------------------------------------------------------------------------------------------
Version: 0.3.0
Date: 2024-07-05
Features:
- Added heat resistant low density structure SE space recipe.
- Added heat resistant low density structure SE delivery cannon.
- Fixed air bearing not having an unlock.
---------------------------------------------------------------------------------------------------
Version: 0.2.6
Date: 2024-01-21
Features:
- Removed old unused files.
---------------------------------------------------------------------------------------------------
Version: 0.2.5
Date: 2023-01-13
Features:
- Added heat resistant low density structure to SE space radiator.
---------------------------------------------------------------------------------------------------
Version: 0.2.4
Date: 2023-01-06
Features:
- Fixed advanced electric motor unlock when not playing SE.
---------------------------------------------------------------------------------------------------
Version: 0.2.3
Date: 2023-01-01
Features:
- Fixed inconel-718 not using niobium plate.
---------------------------------------------------------------------------------------------------
Version: 0.2.2
Date: 2023-12-27
Features:
- Fixed turbine blade and automation core 3 unlock when not using SE.
---------------------------------------------------------------------------------------------------
Version: 0.2.1
Date: 2023-12-24
Features:
- Changed advanced electric motors subgroup to engine components if If I Had A Nickel is installed.
---------------------------------------------------------------------------------------------------
Version: 0.2.0
Date: 2023-12-19
Features:
- Added 248k support (molten, pure and cast chromium)
- Added an earlier chromium plate recipe.
- Moved stainless steel plate to unlock earlier.
- Fixed Indium cryogenic seal not using stainless steel plate.
---------------------------------------------------------------------------------------------------
Version: 0.1.0
Date: 2023-11-23
Features:
- Alpha release.

View file

@ -0,0 +1 @@
local util = require("recipe-final-fix")

View file

@ -0,0 +1,2 @@
require("recipe-modify")
require("prototypes.chromium-matter")

1049
Chromium2/data-util.lua Normal file

File diff suppressed because it is too large Load diff

7
Chromium2/data.lua Normal file
View file

@ -0,0 +1,7 @@
require("prototypes.chromite-ore")
require("prototypes.chromium-recipe")
require("prototypes.technology")
require("prototypes.chromium-enriched") -- Enriched Al for Krastorio 2
require("prototypes.chromium-recipe-se") -- Space Exploration
require("prototypes.chromium-248k") -- 248k

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

28
Chromium2/info.json Normal file
View file

@ -0,0 +1,28 @@
{
"name": "Chromium",
"version": "0.3.2",
"factorio_version": "1.1",
"title": "Chromium",
"author": "Timeken",
"contact": "",
"homepage": "",
"dependencies": [
"base >= 1.1.0",
"? 248k",
"? aai-industry",
"? BrassTacks",
"? bobassembly",
"? bzaluminum",
"? bzfoundry",
"? bzgas",
"? bzsilicon",
"? IfNickel",
"? Indium",
"? Krastorio2",
"? RampantArsenal",
"? space-exploration",
"? Tantalite",
"? ThemTharHills"
],
"description": "Chromium is a mod adding the element chromium.\n\nThis mod is inspired by Brevven's BZ mods. \n\n Most if not all art is placeholder."
}

View file

@ -0,0 +1,62 @@
[technology-name]
chromium-processing=Chromium processing
polyethylene-plastic=Polyethylene plastic
stainless-steel-processing=Stainless steel processing
basic-vehicle-frame-production=Basic vehicle frame production
vehicle-frame-production=Vehicle frame production
chromel-r-fabric=Chromel-R fabric
chrome-alloys=Chrome alloys
heat-resistant-low-density-structure=Heat resistant low density structure
beryllium-heat-resistant-low-density-structure=Beryllium heat resistant low density structure
[technology-description]
[autoplace-control-names]
chromite-ore=[item=chromite-ore] Chromite ore
[item-name]
chromite-ore=Chromite ore
chromium-plate=Chromium plate
enriched-chromium=Enriched chromium
chromium-ingot=Chromium ingot
chromium-matter-processing=Chromium matter processing
stainless-steel-plate=Stainless steel plate
chromel-r-fabric=Chromel-R fabric
basic-vehicle-frame=Basic vehicle frame
vehicle-frame=Vehicle frame
automation-core-3=Automation core MK3
inconel-718=Inconel 718 alloy
turbine-blades=Turbine blades
heat-resistant-low-density-structure=Heat resistant low density structure
air-bearing=Air bearing
advanced-electric-motor=Advanced electric motor
fi-materials-pure-chrome=Pure chromium
[fluid-name]
molten-chromium=Molten chromium
fi-arc-pure-chrome=Molten chromium
[entity-name]
chromite-ore=Chromite ore
[mod-setting-name]
[mod-setting-description]
[recipe-name]
dirty-water-filtration-chromium=Filter dirty water [item=chromite-ore]
chromium-plate=Chromium plate
chromium-electrolysis=Chromium electrolysis
fi-purify-chrome-recipe=Purify chromimu
fi-arc-pure-chrome-recipe=Molten chromium
fi-cast-pure-chrome-recipe=Cast pure chromium
beryllium-heat-resistant-low-density-structure=Beryllium heat resistant low density structure
[recipe-description]

View file

@ -0,0 +1,76 @@
local resource_autoplace = require('resource-autoplace')
local util = require("data-util")
data:extend({
{
type = "autoplace-control",
category = "resource",
name = "chromite-ore",
richness = true,
order = "b-e"
},
{
type = "noise-layer",
name = "chromite-ore"
},
{
type = "resource",
icon_size = 64, icon_mipmaps = 3,
name = "chromite-ore",
icon = "__Chromium__/graphics/icons/chromite-ore.png",
flags = {"placeable-neutral"},
order="a-b-a",
map_color = {r=0.90, g=0.80, b=1.00},
minable =
{
hardness = 1,
mining_particle = "copper-ore-particle",
mining_time = 1,
result = "chromite-ore"
},
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
autoplace = resource_autoplace.resource_autoplace_settings{
name = "chromite-ore",
order = "b-z",
base_density = 2,
base_spots_per_km2 = 1,
has_starting_area_placement = true,
regular_rq_factor_multiplier = 1.0,
starting_rq_factor_multiplier = 1.0,
},
stage_counts = {15000, 9500, 5500, 2900, 1300, 400, 150, 80},
stages =
{
sheet =
{
filename = "__Chromium__/graphics/entity/ores/chromite-ore.png",
priority = "extra-high",
size = 64,
frame_count = 8,
variation_count = 8,
hr_version =
{
filename = "__Chromium__/graphics/entity/ores/hr-chromite-ore.png",
priority = "extra-high",
size = 128,
frame_count = 8,
variation_count = 8,
scale = 0.5
}
}
},
},
{
type = "item",
name = "chromite-ore",
icon_size = 64, icon_mipmaps = 3,
icon = "__Chromium__/graphics/icons/chromite-ore.png",
subgroup = "raw-resource",
order = "t-c-a",
stack_size = util.get_stack_size(50)
},
})

View file

@ -0,0 +1,93 @@
local util = require("data-util")
if mods["248k"] then
data:extend({
{
type = "fluid",
name = "fi-arc-pure-chrome",
default_temperature = 1900,
max_temperature = 2650,
heat_capacity = "100kJ",
base_color = { r=0.92, g=0.29, b=0.22 },
flow_color = { r=0.92, g=0.29, b=0.22 },
pressure_to_speed_ratio = 0.400,
flow_to_energy_ratio = 0,
icon = "__Chromium__/graphics/icons/fi-arc-pure-chrome.png",
icon_size = 64, icon_mipmaps = 4,
order = "a-a"
},
{
type = "item",
name = "fi-materials-pure-chrome",
icon = "__Chromium__/graphics/icons/fi-materials-pure-chrome.png",
icon_size = 64,
stack_size = 100,
subgroup = "fi_item_subgroup_a-c",
order = "b-a",
},
{
type = "recipe",
name = "fi-purify-chrome-recipe",
enabled = false,
category = "el_purifier_category",
main_product = "el_dirty_water",
ingredients = {
{type="fluid", name="water", amount=50},
{type="item", name="chromite-ore", amount=10}
},
results = {
{type="fluid", name="el_dirty_water", amount=50},
{type="item", name="fi-materials-pure-chrome", amount=5},
},
energy_required = 1,
always_show_made_in = true,
icon_size = 64,
icons = (mods["Krastorio2"] and
{
{ icon = "__248k__/ressources/fluids/el_dirty_water.png", icon_size = 64},
{ icon = "__Chromium__/graphics/icons/chromite-ore.png", icon_size = 64, scale=0.2, shift= {-8, -8}},
} or {
{ icon = "__Chromium__/graphics/icons/chromite-ore.png", icon_size = 64},
}),
group = "fi_item_group",
subgroup = "fi_item_subgroup_f",
order = "f-a",
},
{
type = "recipe",
name = "fi-arc-pure-chrome-recipe",
enabled = false,
category = "el_arc_furnace_category",
ingredients = {
{type="item", name="fi-materials-pure-chrome", amount=1},
},
results = {
{type="fluid", name="fi-arc-pure-chrome", amount=200},
},
energy_required = 0.2,
order = "a-b",
group = "fi_item_group",
subgroup = "fi_item_subgroup_f",
always_show_made_in = true
},
{
type = "recipe",
name = "fi-cast-pure-chrome-recipe",
enabled = false,
category = "el_caster_category",
ingredients = {
{type="fluid", name="fi-arc-pure-chrome", amount=100},
},
results = {
{type="item", name="chromium-plate", amount=1},
},
energy_required = 0.2,
order = "a-b",
always_show_made_in = true,
allow_decomposition = false
}
})
util.add_unlock("fi_caster_tech","fi-arc-pure-chrome-recipe")
util.add_unlock("fi_caster_tech","fi-cast-pure-chrome-recipe")
util.add_unlock("fi_purifier_tech","fi-purify-chrome-recipe")
end

View file

@ -0,0 +1,116 @@
local util = require("data-util")
if mods["Krastorio2"] then
data:extend(
{
{
type = "item",
name = "enriched-chromium",
icon_size = 64,
icon = "__Chromium__/graphics/icons/enriched-chromium.png",
group ="raw-material",
subgroup = "chromium",
order = "a",
stack_size = util.get_stack_size(100)
},
{
type = "recipe",
name = "enriched-chromium",
main_product="enriched-chromium",
icon = "__Chromium__/graphics/icons/enriched-chromium.png",
icon_size = 64,
category = "chemistry",
energy_required = 3,
enabled = false,
always_show_made_in = true,
always_show_products = true,
group ="raw-material",
subgroup = "chromium",
ingredients =
{
{type = "fluid", name = "sulfuric-acid", amount = 3},
{type = "fluid", name = "water", amount = 25, catalyst_amount = 25},
{type = "item", name = "chromite-ore", amount = 9}
},
results =
{
{type = "item", name = "enriched-chromium", amount = 6},
{type = "item", name = "iron-ore", amount = 1},
{type = "fluid", name = "dirty-water", amount = 25, catalyst_amount = 25}
},
crafting_machine_tint =
{
primary = {r = 0.721, g = 0.525, b = 0.043, a = 0.000},
secondary = {r = 0.200, g = 0.680, b = 0.300, a = 0.357},
tertiary = {r = 0.690, g = 0.768, b = 0.870, a = 0.000},
quaternary = {r = 0.0, g = 0.980, b = 0.603, a = 0.900}
},
order = "e03[enriched-chromium]"
},
{
type = "recipe",
name = "enriched-chromium-plate",
icons =
{
{ icon = "__Chromium__/graphics/icons/chromium-plate.png", icon_size = 64 },
{ icon = "__Chromium__/graphics/icons/enriched-chromium.png", icon_size = 64, scale=0.125, shift= {-8, -8}},
},
category = "smelting",
energy_required = 16,
enabled = false,
always_show_made_in = true,
always_show_products = true,
ingredients = { {"enriched-chromium", 5} },
results = { {"chromium-plate", 5} },
order = "a",
},
{
type = "recipe",
name = "dirty-water-filtration-chromium",
category = "fluid-filtration",
icons =
{
{
icon = data.raw.fluid["dirty-water"].icon,
icon_size = data.raw.fluid["dirty-water"].icon_size
},
{
icon = data.raw.item["chromite-ore"].icon,
icon_size = data.raw.item["chromite-ore"].icon_size,
scale = 0.20 * (data.raw.fluid["dirty-water"].icon_size/data.raw.item["chromite-ore"].icon_size),
shift = {0, 4}
}
},
icon_size = data.raw.fluid["dirty-water"].icon_size,
energy_required = 2,
enabled = false,
allow_as_intermediate = false,
always_show_made_in = true,
always_show_products = true,
ingredients =
{
{type = "fluid", name = "dirty-water", amount = 100, catalyst_amount = 100},
},
results =
{
{type = "fluid", name = "water", amount = 90, catalyst_amount = 90},
{type = "item", name = "stone", probability = 0.40, amount = 1},
{type = "item", name = "chromite-ore", probability = 0.10, amount = 1},
},
crafting_machine_tint =
{
primary = {r = 0.60, g = 0.20, b = 0, a = 0.6},
secondary = {r = 1.0, g = 0.843, b = 0.0, a = 0.9}
},
group ="raw-material",
subgroup = "chromium",
order = "w013[dirty-water-filtration-chromium]"
}
})
util.add_effect("kr-enriched-ores", { type = "unlock-recipe", recipe = "enriched-chromium" })
util.add_effect("kr-enriched-ores", { type = "unlock-recipe", recipe = "enriched-chromium-plate" })
util.add_effect("kr-enriched-ores", { type = "unlock-recipe", recipe = "dirty-water-filtration-chromium" })
util.add_productivity("enriched-chromium")
util.add_productivity("enriched-chromium-plate")
end

View file

@ -0,0 +1,60 @@
-- Matter recipes for Krastorio2
if mods["Krastorio2"] then
local util = require("data-util")
local matter = require("__Krastorio2__/lib/public/data-stages/matter-util")
data:extend(
{
{
type = "technology",
name = "chromium-matter-processing",
icons =
{
{
icon = "__Krastorio2Assets__/technologies/matter-coal.png",
icon_size = 256,
},
{
icon = "__Chromium__/graphics/icons/chromite-ore.png",
icon_size = 64,
scale = 1.4,
}
},
prerequisites = {"kr-matter-processing"},
unit =
{
count = 350,
ingredients =
{
{"production-science-pack", 1},
{"utility-science-pack", 1},
{"matter-tech-card", 1}
},
time = 45
}
},
})
local chromium_ore_matter =
{
item_name = "chromite-ore",
minimum_conversion_quantity = 10,
matter_value = 5,
energy_required = 1,
need_stabilizer = false,
unlocked_by_technology = "chromium-matter-processing"
}
matter.createMatterRecipe(chromium_ore_matter)
local chromium_plate_matter =
{
item_name = "chromium-plate",
minimum_conversion_quantity = 10,
matter_value = 10,
energy_required = 3,
only_deconversion = true,
need_stabilizer = true,
unlocked_by_technology = "chromium-matter-processing"
}
matter.createMatterRecipe(chromium_plate_matter)
end

View file

@ -0,0 +1,171 @@
-- Additional recipes if Space Exploration mod is enabled
local util = require("data-util")
if mods["space-exploration"] then
se_delivery_cannon_recipes["chromite-ore"] = {name= "chromite-ore"}
se_delivery_cannon_recipes["chromium-plate"] = {name= "chromium-plate"}
se_delivery_cannon_recipes["heat-resistant-low-density-structure"] = {name= "heat-resistant-low-density-structure"}
util.se_landfill({ore="chromite-ore"})
if string.sub(mods["space-exploration"], 1, 3) == "0.6" then
util.se_matter({ore="chromite-ore", energy_required=1, quant_out=10, stream_out=60})
data:extend({
{
type = "item-subgroup",
name = "chromium",
group = "resources",
order = "a-h-z-a",
}
})
util.set_item_subgroup("chromium-plate", "chromium")
data:extend({
{
type = "item",
name = "chromium-ingot",
icons = {{icon = "__Chromium__/graphics/icons/chromium-ingot.png", icon_size = 64}},
order = "b-b",
stack_size = 50,
subgroup = "chromium",
},
{
type = "fluid",
name = "molten-chromium",
default_temperature = 232,
max_temperature = 232,
base_color = {r=191, g=219, b=233},
flow_color = {r=191, g=219, b=233},
icons = {{icon = "__Chromium__/graphics/icons/molten-chromium.png", icon_size = 64}},
order = "a[molten]-a",
pressure_to_speed_ratio = 0.4,
flow_to_energy_ratio = 0.59,
auto_barrel = false,
subgroup = "fluid",
},
{
type = "recipe",
category = "smelting",
name = "molten-chromium",
subgroup = "chromium",
results = {
{type = "fluid", name = "molten-chromium", amount = mods["Krastorio2"] and 750 or 900},
},
energy_required = 45,
ingredients = {
{name = mods["Krastorio2"] and "enriched-chromium" or "chromite-ore", amount = 24},
{type = "fluid", name = "se-pyroflux", amount = 10},
},
enabled = false,
always_show_made_in = true,
allow_as_intermediate = false,
order = "a-a"
},
{
type = "recipe",
name = "chromium-ingot",
category = "casting",
results = {{"chromium-ingot", 1}},
energy_required = 18.75,
ingredients = {
{type = "fluid", name = "molten-chromium", amount = 250},
},
enabled = false,
always_show_made_in = true,
allow_as_intermediate = false,
},
{
type = "recipe",
category = "crafting",
name = "chromium-ingot-to-plate",
icons = {
{icon = "__Chromium__/graphics/icons/chromium-plate.png", icon_size = 64},
{icon = "__Chromium__/graphics/icons/chromium-ingot.png", icon_size = 32, scale = 0.125, shift = {-8, -8}},
},
results = {
{name = "chromium-plate", amount = 10},
},
energy_required = 3.75,
ingredients = {
{name = "chromium-ingot", amount = 1}
},
enabled = false,
always_show_made_in = true,
allow_decomposition = false,
order = "a-c-b"
},
})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "molten-chromium"})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "chromium-ingot"})
util.add_effect("se-pyroflux-smelting", {type = "unlock-recipe", recipe= "chromium-ingot-to-plate"})
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "molten-chromium"})
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "chromium-ingot"})
util.add_effect("se-vulcanite-smelting", {type = "unlock-recipe", recipe= "chromium-ingot-to-plate"})
if mods["Krastorio2"] then
util.set_item_subgroup("enriched-chromium", "chromium")
data.raw.recipe["enriched-chromium-plate"].order= "d[chromium-plate]"
se_delivery_cannon_recipes["enriched-chromium"] = {name= "enriched-chromium"}
end
se_delivery_cannon_recipes["chromium-ingot"] = {name= "chromium-ingot"}
else
data.raw.item["chromium-plate"].subgroup = "plates"
if mods["Krastorio2"] then
data:extend({
{
type = "recipe",
name = "enriched-chromium-smelting-vulcanite",
category = "smelting",
order = "d[chromium-plate]",
energy_required = 18,
enabled = false,
always_show_made_in = true,
allow_as_intermediate = false,
ingredients = {
{name = "enriched-chromium", amount = 8},
{name = "se-vulcanite-block", amount = 1},
},
results = {
{name = "chromium-plate", amount = 12},
},
icons =
{
{ icon = "__Chromium__/graphics/icons/chromium-plate.png", icon_size = 64},
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 32, scale=0.25, shift= {-10, -10}},
},
},
})
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
{type = "unlock-recipe", recipe= "enriched-chromium-smelting-vulcanite"})
data.raw.recipe["enriched-chromium-plate"].order= "d[chromium-plate]"
se_delivery_cannon_recipes["enriched-chromium"] = {name= "enriched-chromium"}
else
data:extend({
{
type = "recipe",
name = "chromium-smelting-vulcanite",
category = "smelting",
order = "d[chromium-plate]",
energy_required = 18,
enabled = false,
always_show_made_in = true,
allow_as_intermediate = false,
ingredients = {
{name = "chromite-ore", amount = 8},
{name = "se-vulcanite-block", amount = 1},
},
results = {
{name = "chromium-plate", amount = 12},
},
icons =
{
{ icon = "__Chromium__/graphics/icons/chromium-plate.png", icon_size = 64},
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 32, scale=0.25, shift= {-10, -10}},
},
},
})
table.insert(data.raw.technology["se-processing-vulcanite"].effects,
{type = "unlock-recipe", recipe= "chromium-smelting-vulcanite"})
end
end
end

View file

@ -0,0 +1,429 @@
local util = require("data-util")
data:extend({{
type = "item-subgroup",
name = "chromium",
group = "intermediate-products",
order = "c"
},
{
type = "item-subgroup",
name = "frame-components",
group = "intermediate-products",
order = "f"
}
})
data:extend({
{
type = "item",
name = "chromium-plate",
icon = "__Chromium__/graphics/icons/chromium-plate.png",
icon_size = 64,
subgroup = "chromium",
order = "b[chromium-plate]",
stack_size = util.get_stack_size(100)
},
{
type = "recipe",
name = "chromium-plate",
category = "smelting",
order = "a[chromium-plate]",
icons = (mods["Krastorio2"] and
{
{ icon = "__Chromium__/graphics/icons/chromium-plate.png", icon_size = 64},
{ icon = "__Chromium__/graphics/icons/chromite-ore.png", icon_size = 64, scale=0.125, shift= {-8, -8}},
} or {
{ icon = "__Chromium__/graphics/icons/chromium-plate.png", icon_size = 64},
}
),
main_product = "chromium-plate",
enabled = false,
energy_required = 24,
ingredients = {{"chromite-ore", 15}},
results = {
{type="item", name = "chromium-plate", amount=5}
}
}
})
if mods["Krastorio2"] then
data:extend({
{
type = "recipe",
name = "chromium-electrolysis",
icons = {
{ icon = "__Chromium__/graphics/icons/chromium-plate.png", icon_size = 64},
{ icon = "__Chromium__/graphics/icons/chromite-ore.png", icon_size = 64, scale=0.125, shift= {-8, -8}}
},
category = "electrolysis",
order = "a[chromium-plate]",
energy_required = 25,
enabled = false,
always_show_made_in = true,
ingredients = {
{type = "fluid", name = "sulfuric-acid", amount = 25},
{type = "fluid", name = "ammonia", amount = 50},
{type = "item", name = "chromite-ore", amount = 20}
},
results = {
{type="item", name = "chromium-plate", amount=10},
{type="item", name = "iron-plate", amount=5}
},
subgroup = "chromium",
}
})
end
local stainless_steel_ingredients = {{"steel-plate", 8}, {"chromium-plate", 2}}
if mods["IfNickel"] then
stainless_steel_ingredients = {{"steel-plate", 8}, {"chromium-plate", 1}, {"nickel-plate", 1}}
end
local stainless_steel_category = "crafting"
if mods["bzfoundry"] then
stainless_steel_category = "founding"
end
data:extend({
{
type = "item",
name = "stainless-steel-plate",
icon = "__Chromium__/graphics/icons/stainless-steel-plate.png",
icon_size = 64,
subgroup = "chromium",
order = "b[stainless-steel-plate]",
stack_size = util.get_stack_size(100),
},
{
type = "recipe",
name = "stainless-steel-plate",
category = stainless_steel_category,
order = "d[stainless-steel-plate]",
enabled = false,
energy_required = 4,
ingredients = stainless_steel_ingredients,
results = {{"stainless-steel-plate", 10}},
}
})
local polyethylene_plastic_ingredients = {
{type = "fluid", name = "petroleum-gas", amount = 50},
{type = "fluid", name = "steam", amount = 50},
{type = "item", name = "chromium-plate", amount = 2}
}
if mods["bzgas"] and mods["bzsilicon"] then
polyethylene_plastic_ingredients = {
{type = "fluid", name = "gas", amount = 50},
{type = "fluid", name = "steam", amount = 50},
{type = "item", name = "chromium-plate", amount = 2},
{type = "item", name = "silica", amount = 2}
}
end
data:extend({
{
type = "recipe",
name = "polyethylene-plastic",
category = "chemistry",
order = "d[plastic-bar]",
enabled = false,
energy_required = 8,
ingredients = polyethylene_plastic_ingredients,
results = {{"plastic-bar", 15}},
}
})
local chromel_r_fabric_ingredients = {{"copper-plate", 8}, {"chromium-plate", 2}}
if mods["IfNickel"] then
chromel_r_fabric_ingredients = {{"nickel-plate", 8}, {"chromium-plate", 2}}
end
local chromel_r_fabric_crafting = "crafting"
if mods["248k"] then
chromel_r_fabric_crafting = "fi_fiberer_category"
end
data:extend({
{
type = "item",
name = "chromel-r-fabric",
icon = "__Chromium__/graphics/icons/chromel-r-fabric.png",
icon_size = 64,
subgroup = "chromium",
order = "c[chromel-r-fabric]",
stack_size = util.get_stack_size(100),
},
{
type = "recipe",
name = "chromel-r-fabric",
category = chromel_r_fabric_crafting,
order = "c[chromel-r-fabric]",
enabled = false,
energy_required = 5,
ingredients = chromel_r_fabric_ingredients,
results = {{"chromel-r-fabric", 5}},
}
})
local basic_vehicle_frame_ingredients = {{"steel-plate", 5}, {"copper-plate", 10}}
if mods["bzaluminum"] then
basic_vehicle_frame_ingredients = {{"steel-plate", 5}, {"alumina", 10}}
end
data:extend({
{
type = "item",
name = "basic-vehicle-frame",
icon = "__Chromium__/graphics/icons/basic-vehicle-frame.png",
icon_size = 128,
subgroup = "intermediate-product",
order = "v[basic-vehicle-frame]",
stack_size = util.get_stack_size(100),
},
{
type = "recipe",
name = "basic-vehicle-frame",
category = "crafting",
order = "v[basic-vehicle-frame]",
enabled = false,
energy_required = 4,
ingredients = basic_vehicle_frame_ingredients,
results = {{"basic-vehicle-frame", 1}},
}
})
local vehicle_frame_ingredients = {{"basic-vehicle-frame", 1}, {"stainless-steel-plate", 15}, {"copper-plate", 20}}
if mods["bzaluminum"] then
vehicle_frame_ingredients = {{"basic-vehicle-frame", 1}, {"stainless-steel-plate", 15}, {"aluminum-6061", 20}}
end
data:extend({
{
type = "item",
name = "vehicle-frame",
icon = "__Chromium__/graphics/icons/vehicle-frame.png",
icon_size = 128,
subgroup = "intermediate-product",
order = "v[vehicle-frame]",
stack_size = util.get_stack_size(100),
},
{
type = "recipe",
name = "vehicle-frame",
category = "crafting",
order = "v[vehicle-frame]",
enabled = false,
energy_required = 6,
ingredients = vehicle_frame_ingredients,
results = {{"vehicle-frame", 1}},
}
})
local inconel_ingredients = {{"steel-plate", 5}, {"chromium-plate", 3}, {"iron-plate", 1}, mods["Tantalite"] and {"niobium-plate", 1}}
if mods["IfNickel"] then
inconel_ingredients = {{"nickel-plate", 5}, {"chromium-plate", 3}, {"iron-plate", 1}, mods["Tantalite"] and {"niobium-plate", 1}}
end
local inconel_category = "crafting"
local inconel_subgroup = "intermediate-product"
if mods["bzfoundry"] then
inconel_category = "founding"
inconel_subgroup = "foundry-intermediate"
end
data:extend({
{
type = "item",
name = "inconel-718",
icon = "__Chromium__/graphics/icons/inconel-718.png",
icon_size = 64,
group = "intermediate-products",
subgroup = inconel_subgroup,
order = "i",
stack_size = util.get_stack_size(100),
},
{
type = "recipe",
name = "inconel-718",
category = inconel_category,
order = "i",
enabled = false,
energy_required = 30,
ingredients = inconel_ingredients,
results = {{"inconel-718", 10}},
}
})
local automation_core3_ingredients = {(data.raw.item["automation-core-2"] and {"automation-core-2", 1}) or {"steel-plate", 5}, {"inconel-718", 10}}
local automation_core3_subgroup = "intermediate-product"
if (mods["BrassTacks"] and data.raw.item["advanced-gearbox"]) and (mods["IfNickel"] and data.raw.item["advanced-machining-tool"]) then --check for hardmode
automation_core3_ingredients = {data.raw.item["automation-core-2"] and {"automation-core-2", 1}, {"advanced-gearbox", 1}, {"complex-joint", 2}, {"advanced-machining-tool", 2}, {"inconel-718", 4}}
automation_core3_subgroup = "articulated-components"
end
data:extend({
{
type = "item",
name = "automation-core-3",
icon = "__Chromium__/graphics/icons/automation-core-3.png",
icon_size = 64,
group = "intermediate-product",
subgroup = automation_core3_subgroup,
order = "d",
stack_size = util.get_stack_size(50),
},
{
type = "recipe",
name = "automation-core-3",
category = "crafting",
order = "d",
enabled = false,
energy_required = 5,
ingredients = automation_core3_ingredients,
results = {{"automation-core-3", 1}},
}
})
if mods["space-exploration"] then
util.add_unlock("se-space-assembling","automation-core-3")
else
util.add_unlock("automation-3","automation-core-3")
end
util.add_productivity("automation-core-3")
local turbines_blade_ingredients = {{"inconel-718", 10}, mods["248k"] and {"fi_materials_GFK", 5}, {"air-bearing", 2}}
local turbines_blade_subgroup = "intermediate-product"
if mods["IfNickel"] then
turbines_blade_subgroup = "engine-components"
end
data:extend({
{
type = "item",
name = "turbine-blades",
icon = "__Chromium__/graphics/icons/turbine-blades.png",
icon_size = 64,
group = "intermediate-products",
subgroup = turbines_blade_subgroup,
order = "t",
stack_size = util.get_stack_size(50),
},
{
type = "recipe",
name = "turbine-blades",
category = "crafting",
order = "t",
enabled = false,
energy_required = 15,
ingredients = turbines_blade_ingredients,
results = {{"turbine-blades", 1}},
}
})
if mods["space-exploration"] then
util.add_unlock("steam-turbine","turbine-blades")
else
util.add_unlock("nuclear-power","turbine-blades")
end
local hrld_structure_subgroup = "intermediate-product"
if mods["IfNickel"] then
hrld_structure_subgroup ="frame-components"
end
data:extend({
{
type = "item",
name = "heat-resistant-low-density-structure",
icon = "__Chromium__/graphics/icons/heat-resistant-low-density-structure.png",
icon_size = 64,
group = "intermediate-products",
subgroup = hrld_structure_subgroup,
order = "h",
stack_size = util.get_stack_size(50),
},
{
type = "recipe",
name = "heat-resistant-low-density-structure",
category = "crafting",
order = "h",
enabled = false,
energy_required = 8,
ingredients = {{"inconel-718", 1}, {"low-density-structure", 1}, mods["space-exploration"] and {"se-heat-shielding", 1}},
results = {{"heat-resistant-low-density-structure", 2}},
}
})
data:extend({
{
type = "item",
name = "air-bearing",
icon = "__Chromium__/graphics/icons/air-bearing.png",
icon_size = 64,
group = "intermediate-products",
subgroup = "intermediate-product",
order = "h",
stack_size = util.get_stack_size(100),
},
{
type = "recipe",
name = "air-bearing",
category = "crafting-with-fluid",
order = "h",
enabled = false,
energy_required = 5,
ingredients = {{"stainless-steel-plate", 2},data.raw.item["cryogenic-seal"] and {"cryogenic-seal", 1}, { type = "fluid", name = "lubricant", amount = 5 }},
results = {{"air-bearing", 1}},
}
})
if mods["Krastorio2"] then
util.add_unlock("steam-turbine","air-bearing")
else
util.add_unlock("nuclear-power","air-bearing")
end
local advanced_electric_motor_subgroup = "intermediate-product"
if mods["IfNickel"] then
advanced_electric_motor_subgroup = "engine-components"
end
data:extend({
{
type = "item",
name = "advanced-electric-motor",
icon = "__Chromium__/graphics/icons/advanced-electric-motor.png",
icon_size = 64,
group = "intermediate-products",
subgroup = advanced_electric_motor_subgroup,
order = "g",
stack_size = util.get_stack_size(50),
},
{
type = "recipe",
name = "advanced-electric-motor",
category = "crafting-with-fluid",
order = "g",
enabled = false,
energy_required = 12,
ingredients = {{"inconel-718", 2}, {"air-bearing", 1}, {"electric-engine-unit", 2}, mods["ThemTharHills"] and {"hv-power-regulator", 1}, { type = "fluid", name = "lubricant", amount = 40 }},
results = {{"advanced-electric-motor", 1}},
}
})
if mods["space-exploration"] then
util.add_unlock("se-space-assembling","advanced-electric-motor")
else
util.add_unlock("automation-3","advanced-electric-motor")
end
if mods["space-exploration"] then
data:extend({
{
type = "recipe",
name = "beryllium-heat-resistant-low-density-structure",
icons = {
{ icon = "__Chromium__/graphics/icons/heat-resistant-low-density-structure.png", icon_size = 64},
{ icon = "__space-exploration-graphics__/graphics/icons/astronomic/planet-orbit.png", icon_size = 64, scale=0.25, shift= {-8, -8}}
},
category = "space-crafting",
order = "h",
enabled = false,
energy_required = 10,
ingredients = {{"inconel-718", 1}, {"se-beryllium-plate", 1}, {"se-heat-shielding", 1}},
results = {{"heat-resistant-low-density-structure", 4}},
}
})
end
util.add_productivity("chromium-plate")
util.add_productivity("stainless-steel-plate")
util.add_productivity("polyethylene-plastic")
util.add_productivity("chromel-r-fabric")
util.add_productivity("basic-vehicle-frame")
util.add_productivity("vehicle-frame")
util.add_productivity("heat-resistant-low-density-structure")
util.add_productivity("advanced-electric-motor")
util.add_productivity("air-bearing")

View file

@ -0,0 +1,309 @@
local util = require("data-util")
if mods["Krastorio2"] then
data:extend(
{
{
type = "technology",
name = "chromium-processing",
icon_size = 64,
icon = "__Chromium__/graphics/icons/chromite-ore.png",
prerequisites = {"kr-advanced-chemistry"},
effects = {
{
type = "unlock-recipe",
recipe = "chromium-electrolysis",
},
},
unit =
{
count = 150,
ingredients =
{
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
mods["Krastorio2"] and { "chemical-science-pack", 1 }
},
time = 30
}
},
})
if mods["IfNickel"] and data.raw.item["gimbaled-thruster"] then
util.add_prerequisite("gimbaled-thruster", "chromium-processing")
--not sure why gimbaled thrusters don't need rocketry
util.add_prerequisite("gimbaled-thruster", "rocketry")
end
end
local polyethylene_plastic_prerequisites = {"advanced-material-processing-2"}
if mods["Krastorio2"] then
polyethylene_plastic_prerequisites = {"chromium-processing"}
end
data:extend(
{
{
type = "technology",
name = "polyethylene-plastic",
icons = {
{ icon = "__Chromium__/graphics/technology/polyethylene.png", icon_size = 64}
},
prerequisites = polyethylene_plastic_prerequisites,
effects = {
{
type = "unlock-recipe",
recipe = "polyethylene-plastic",
},
},
unit =
{
count = 200,
ingredients =
{
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 }
},
time = 45
}
},
})
data:extend(
{
{
type = "technology",
name = "stainless-steel-processing",
icons = {
{ icon = "__Chromium__/graphics/icons/stainless-steel-plate.png", icon_size = 64}
},
prerequisites = { "advanced-material-processing"},
effects = {
{
type = "unlock-recipe",
recipe = "stainless-steel-plate",
},
{
type = "unlock-recipe",
recipe = "chromium-plate",
},
{
type = "unlock-recipe",
recipe = "air-bearing",
}
},
unit =
{
count = 75,
ingredients =
{
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
},
time = 30
}
},
})
local chrome_alloys_prerequisites = {"advanced-material-processing-2"}
if mods["Krastorio2"] then
chrome_alloys_prerequisites = {"chromium-processing"}
end
data:extend(
{
{
type = "technology",
name = "chrome-alloys",
icons = {
{ icon = "__Chromium__/graphics/icons/inconel-718.png", icon_size = 64}
},
prerequisites = chrome_alloys_prerequisites,
effects = {
{
type = "unlock-recipe",
recipe = "inconel-718",
},
},
unit =
{
count = 150,
ingredients =
{
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 }
},
time = 30
}
},
})
util.add_prerequisite("steam-turbine","chrome-alloys")
data:extend(
{
{
type = "technology",
name = "basic-vehicle-frame-production",
icons = {
{ icon = "__Chromium__/graphics/icons/basic-vehicle-frame.png", icon_size = 128}
},
prerequisites = {"steel-processing"},
effects = {
{
type = "unlock-recipe",
recipe = "basic-vehicle-frame",
}
},
unit =
{
count = 75,
ingredients =
{
{ "automation-science-pack", 1 }
},
time = 10
}
},
})
util.add_prerequisite("automobilism", "basic-vehicle-frame-production")
data:extend(
{
{
type = "technology",
name = "vehicle-frame-production",
icons = {
{ icon = "__Chromium__/graphics/icons/vehicle-frame.png", icon_size = 128}
},
prerequisites = { "stainless-steel-processing", "automobilism"},
effects = {
{
type = "unlock-recipe",
recipe = "vehicle-frame",
}
},
unit =
{
count = 175,
ingredients =
{
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 }
},
time = 30
}
},
})
util.add_prerequisite("tank", "vehicle-frame-production")
local chromel_r_fabric_prerequisites = {"rocket-silo"}
local chromel_r_fabric_tech = {{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "production-science-pack", 1 }}
if mods["space-exploration"] then
chromel_r_fabric_prerequisites = {"se-rocket-science-pack"}
chromel_r_fabric_tech = {{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "se-rocket-science-pack", 1 }}
end
data:extend(
{
{
type = "technology",
name = "chromel-r-fabric",
icons = {
{ icon = "__Chromium__/graphics/icons/chromel-r-fabric.png", icon_size = 64}
},
prerequisites = chromel_r_fabric_prerequisites,
effects = {
{
type = "unlock-recipe",
recipe = "chromel-r-fabric",
}
},
unit =
{
count = 200,
ingredients = chromel_r_fabric_tech,
time = 30
}
},
})
if mods["space-exploration"] then
util.add_prerequisite("se-thruster-suit", "chromel-r-fabric")
end
if mods["IfNickel"] and data.raw.item["nitinol-plate"] then
util.add_prerequisite("nitinol-processing", "chromel-r-fabric")
end
local hr_low_density_structure_prerequisites = {"rocket-silo"}
local hr_low_density_structure_tech = {{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "production-science-pack", 1 }}
if mods["space-exploration"] then
hr_low_density_structure_prerequisites = {"se-rocket-science-pack"}
hr_low_density_structure_tech = {{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "se-rocket-science-pack", 1 }}
end
data:extend(
{
{
type = "technology",
name = "heat-resistant-low-density-structure",
icons = {
{ icon = "__Chromium__/graphics/icons/heat-resistant-low-density-structure.png", icon_size = 64}
},
prerequisites = hr_low_density_structure_prerequisites,
effects = {
{
type = "unlock-recipe",
recipe = "heat-resistant-low-density-structure",
}
},
unit =
{
count = 150,
ingredients = hr_low_density_structure_tech,
time = 30
}
},
})
if mods["space-exploration"] then
data:extend(
{
{
type = "technology",
name = "beryllium-heat-resistant-low-density-structure",
icons = {
{ icon = "__Chromium__/graphics/icons/heat-resistant-low-density-structure.png", icon_size = 64},
{ icon = "__space-exploration-graphics__/graphics/icons/astronomic/planet-orbit.png", icon_size = 64, scale=0.25, shift= {-8, -8}}
},
prerequisites = {"se-astronomic-science-pack-1"},
effects = {
{
type = "unlock-recipe",
recipe = "beryllium-heat-resistant-low-density-structure",
}
},
unit =
{
count = 100,
ingredients =
{{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "se-rocket-science-pack", 1 },
{ "space-science-pack", 1 },
{ "utility-science-pack", 1 },
{ "se-astronomic-science-pack-1", 1 }
},
time = 45
}
},
})
end

View file

@ -0,0 +1,43 @@
local util = require("data-util")
if mods["IfNickel"] and data.raw["nitinol-plate"] then
util.replace_ingredient("nitinol-plate", "nickel-plate", "chromel-r-fabric")
if mods["space-exploration"] then
util.add_prerequisite("se-rocket-launch-pad", "nitinol-processing")
end
end
if mods["BrassTacks"] then
util.remove_ingredient("steam-turbine", "bearing")
end
if mods["Krastorio2"] then
util.remove_ingredient("assembling-machine-3", "steel-gear-wheel")
--not very nice but it works
if mods["BrassTacks"] and "advanced-gearbox" then
util.remove_ingredient("assembling-machine-3", "concrete")
util.replace_ingredient("assembling-machine-3", mods["BrassTacks"] and "complex-joint", "concrete", 8)
util.replace_ingredient("assembling-machine-3", mods["BrassTacks"] and "advanced-gearbox", "advanced-electric-motor", 4)
else
util.add_ingredient("assembling-machine-3", "advanced-electric-motor", 4)
end
if mods["IfNickel"] and "advanced-machining-tool" then
util.replace_ingredient("assembling-machine-3", mods["IfNickel"] and "advanced-machining-tool", "automation-core-3", 2)
else
util.add_ingredient("assembling-machine-3", "automation-core-3", 2)
end
if mods["ThemTharHills"] then
util.remove_ingredient("assembling-machine-3", "hv-power-regulator")
end
if mods["space-exploration"] then
util.add_ingredient("se-space-assembling-machine", "automation-core-3", 2)
util.remove_ingredient("se-space-assembling-machine", mods["BrassTacks"] and "advanced-gearbox")
util.remove_ingredient("se-space-assembling-machine", mods["IfNickel"] and "advanced-machining-tool")
util.remove_ingredient("se-space-assembling-machine", mods["BrassTacks"] and "complex-joint")
end
end

163
Chromium2/recipe-modify.lua Normal file
View file

@ -0,0 +1,163 @@
local util = require("data-util")
-- Main vanilla changes
util.replace_ingredient("car", "steel-plate", "basic-vehicle-frame",1)
util.replace_ingredient("tank", "steel-plate", "vehicle-frame",1)
util.add_ingredient("steam-turbine", "turbine-blades", 4)
util.remove_ingredient("steam-turbine", "copper-plate")
util.remove_ingredient("assembling-machine-3", "electric-engine-unit")
-- Mod changes
if mods["248k"] then
util.replace_ingredient("fi_low-density-structure_recipe", "copper-plate", "chromel-r-fabric", 10)
util.remove_ingredient("steam-turbine", "fi_materials_GFK")
end
if mods["bzaluminum"] then
util.remove_ingredient("car", "aluminum-6061")
util.remove_ingredient("vehicle-warden", "aluminum-6061")
util.add_ingredient("vehicle-warden", "vehicle-frame", 1)
util.remove_ingredient("tank", "alumina")
end
if mods["RampantArsenal"] then
util.replace_ingredient("advanced-car-vehicle-rampant-arsenal", "copper-plate", "vehicle-frame",1)
util.add_prerequisite("rampant-arsenal-technology-cars-2", "vehicle-frame-production")
end
if mods["aai-industry"] then
util.remove_ingredient("area-mining-drill", "electric-engine-unit")
util.remove_ingredient("area-mining-drill", "hv-power-regulator")
util.add_ingredient("area-mining-drill", "advanced-electric-motor", 4)
end
if mods["space-exploration"] then
util.replace_ingredient("se-thruster-suit", "low-density-structure", "chromel-r-fabric")
end
if mods["Indium"] then
util.replace_ingredient("cryogenic-seal", "steel-plate", "stainless-steel-plate")
end
if mods["bobassembly"] then
util.add_ingredient("centrifuge-2", "air-bearing", 20)
end
if mods["space-exploration"] then
util.add_product(mods["space-exploration"] and "se-scrap-recycling", {name="chromium-ore", amount=1, probability=0.05})
util.remove_ingredient("se-space-assembling-machine", "low-density-structure")
util.remove_ingredient("se-space-assembling-machine", "se-heat-shielding")
util.remove_ingredient("se-space-assembling-machine", "hv-power-regulator")
util.add_ingredient("se-space-assembling-machine", "heat-resistant-low-density-structure", 12)
util.replace_ingredient("se-space-assembling-machine", "electric-engine-unit", "advanced-electric-motor", 8)
util.remove_ingredient("se-space-manufactory", "low-density-structure")
util.remove_ingredient("se-space-manufactory", "se-heat-shielding")
util.remove_ingredient("se-space-manufactory", "electric-engine-unit")
util.add_ingredient("se-space-manufactory", "heat-resistant-low-density-structure", 88)
util.add_ingredient("se-space-manufactory", "advanced-electric-motor", 32)
util.remove_ingredient("se-space-biochemical-laboratory", "electric-engine-unit")
util.add_ingredient("se-space-biochemical-laboratory", "advanced-electric-motor", 32)
util.remove_ingredient("se-space-thermodynamics-laboratory", "low-density-structure")
util.remove_ingredient("se-space-thermodynamics-laboratory", "se-heat-shielding")
util.add_ingredient("se-space-thermodynamics-laboratory", "heat-resistant-low-density-structure", 120)
util.remove_ingredient("se-delivery-cannon-capsule", "low-density-structure")
util.remove_ingredient("se-delivery-cannon-capsule", "se-heat-shielding")
util.add_ingredient("se-delivery-cannon-capsule", "heat-resistant-low-density-structure", 2)
util.remove_ingredient("se-cargo-rocket-section", "low-density-structure")
util.remove_ingredient("se-cargo-rocket-section", "se-heat-shielding")
util.add_ingredient("se-cargo-rocket-section", "heat-resistant-low-density-structure", 8)
util.remove_ingredient("se-cargo-rocket-section-beryllium", "low-density-structure")
util.remove_ingredient("se-cargo-rocket-section-beryllium", "se-heat-shielding")
util.add_ingredient("se-cargo-rocket-section-beryllium", "heat-resistant-low-density-structure", 8)
util.remove_ingredient("se-space-capsule", "low-density-structure")
util.remove_ingredient("se-space-capsule", "se-heat-shielding")
util.add_ingredient("se-space-capsule", "heat-resistant-low-density-structure", 200)
util.remove_ingredient("se-space-capsule-refurbish", "low-density-structure")
util.remove_ingredient("se-space-capsule-refurbish", "se-heat-shielding")
util.add_ingredient("se-space-capsule-refurbish", "heat-resistant-low-density-structure", 75)
util.remove_ingredient("se-spaceship-wall", "low-density-structure")
util.remove_ingredient("se-spaceship-wall", "se-heat-shielding")
util.add_ingredient("se-spaceship-wall", "heat-resistant-low-density-structure", 8)
util.remove_ingredient("se-spaceship-antimatter-booster-tank", "low-density-structure")
util.remove_ingredient("se-spaceship-antimatter-booster-tank", "se-heat-shielding")
util.add_ingredient("se-spaceship-antimatter-booster-tank", "heat-resistant-low-density-structure", 100)
util.remove_ingredient("se-space-platform-scaffold", "low-density-structure")
util.remove_ingredient("se-space-platform-scaffold", "se-heat-shielding")
util.add_ingredient("se-space-platform-scaffold", "heat-resistant-low-density-structure", 2)
util.remove_ingredient("se-space-mirror", "low-density-structure")
util.remove_ingredient("se-space-mirror", "se-heat-shielding")
util.add_ingredient("se-space-mirror", "heat-resistant-low-density-structure", 2)
util.remove_ingredient("fusion-reactor-equipment", "low-density-structure")
util.remove_ingredient("fusion-reactor-equipment", "se-heat-shielding")
util.add_ingredient("fusion-reactor-equipment", "heat-resistant-low-density-structure", 100)
util.remove_ingredient("se-delivery-cannon-weapon-capsule", "low-density-structure")
util.remove_ingredient("se-delivery-cannon-weapon-capsule", "se-heat-shielding")
util.add_ingredient("se-delivery-cannon-weapon-capsule", "heat-resistant-low-density-structure", 20)
util.remove_ingredient("se-space-telescope-xray", "low-density-structure")
util.remove_ingredient("se-space-telescope-xray", "se-heat-shielding")
util.add_ingredient("se-space-telescope-xray", "heat-resistant-low-density-structure", 65)
util.remove_ingredient("se-space-telescope-gammaray", "low-density-structure")
util.remove_ingredient("se-space-telescope-gammaray", "se-heat-shielding")
util.add_ingredient("se-space-telescope-gammaray", "heat-resistant-low-density-structure", 65)
util.remove_ingredient("se-space-plasma-generator", "low-density-structure")
util.remove_ingredient("se-space-plasma-generator", "se-heat-shielding")
util.add_ingredient("se-space-plasma-generator", "heat-resistant-low-density-structure", 80)
util.remove_ingredient("se-space-particle-collider", "low-density-structure")
util.remove_ingredient("se-space-particle-collider", "se-heat-shielding")
util.add_ingredient("se-space-particle-collider", "heat-resistant-low-density-structure", 140)
util.remove_ingredient("se-space-particle-accelerator", "low-density-structure")
util.remove_ingredient("se-space-particle-accelerator", "se-heat-shielding")
util.add_ingredient("se-space-particle-accelerator", "heat-resistant-low-density-structure", 80)
util.remove_ingredient("se-antimatter-reactor", "low-density-structure")
util.remove_ingredient("se-antimatter-reactor", "se-heat-shielding")
util.add_ingredient("se-antimatter-reactor", "heat-resistant-low-density-structure", 1000)
util.remove_ingredient("se-space-radiation-laboratory", "low-density-structure")
util.remove_ingredient("se-space-radiation-laboratory", "se-heat-shielding")
util.add_ingredient("se-space-radiation-laboratory", "heat-resistant-low-density-structure", 80)
util.remove_ingredient("se-space-pipe-to-ground", "lead-plate")
util.remove_ingredient("se-space-pipe-to-ground", "tin-plate")
util.add_ingredient("se-space-pipe-to-ground", "indium-solder", 1)
util.remove_ingredient("se-space-radiator", "steel-plate")
util.remove_ingredient("se-space-radiator", "cuw")
util.add_ingredient("se-space-radiator", "heat-resistant-low-density-structure", 20)
util.add_ingredient("se-corrosion-resistance-data", "stainless-steel-plate", 1)
util.set_ingredient("se-corrosion-resistance-data", "se-empty-data", 2)
util.set_product_amount("se-corrosion-resistance-data", "se-corrosion-resistance-data", 2)
util.add_ingredient("se-friction-data", "air-bearing", 1)
util.set_ingredient("se-friction-data", "se-empty-data", 2)
util.set_product_amount("se-friction-data", "se-friction-data", 2)
util.add_ingredient("se-hot-thermodynamics-data","chromel-r-fabric", 1)
util.add_ingredient("se-heavy-composite","inconel-718", 6)
util.set_ingredient("se-heavy-composite", "se-iridium-plate", 10)
end

BIN
Chromium2/thumbnail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB