Compare commits
8 commits
9a335fbe36
...
80c2d63ca4
Author | SHA1 | Date | |
---|---|---|---|
![]() |
80c2d63ca4 | ||
![]() |
d456184b93 | ||
![]() |
931a0afc7b | ||
![]() |
2ce24b0ee4 | ||
![]() |
90d6ba5a0a | ||
![]() |
48daec2c59 | ||
![]() |
172d584cd1 | ||
![]() |
84df859fb5 |
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.idea
|
3
Chromium2/.editorconfig
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
20
Chromium2/LICENSE.md
Normal 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
|
@ -0,0 +1,16 @@
|
||||||
|
# MetalsForYou
|
||||||
|
|
||||||
|
## Version History
|
||||||
|
See changelog.txt
|
||||||
|
|
||||||
|
## Created by
|
||||||
|
|
||||||
|
|
||||||
|
## Thanks to
|
||||||
|
|
||||||
|
### Compatibility
|
||||||
|
|
||||||
|
|
||||||
|
### Localization
|
||||||
|
|
||||||
|
|
63
Chromium2/changelog.txt
Normal 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.
|
1
Chromium2/data-final-fixes.lua
Normal file
|
@ -0,0 +1 @@
|
||||||
|
local util = require("recipe-final-fix")
|
2
Chromium2/data-updates.lua
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
require("recipe-modify")
|
||||||
|
require("prototypes.chromium-matter")
|
1047
Chromium2/data-util.lua
Normal file
7
Chromium2/data.lua
Normal 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
|
BIN
Chromium2/graphics/entity/ores/hr-chromite-ore.png
Normal file
After Width: | Height: | Size: 217 KiB |
BIN
Chromium2/graphics/icons/advanced-electric-motor.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
Chromium2/graphics/icons/air-bearing.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
Chromium2/graphics/icons/automation-core-3.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
Chromium2/graphics/icons/basic-vehicle-frame.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
Chromium2/graphics/icons/chromel-r-fabric.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
Chromium2/graphics/icons/chromite-ore.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
Chromium2/graphics/icons/chromium-ingot.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
Chromium2/graphics/icons/chromium-plate.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
Chromium2/graphics/icons/enriched-chromium.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
Chromium2/graphics/icons/fi-arc-pure-chrome.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
Chromium2/graphics/icons/fi-materials-pure-chrome.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 11 KiB |
BIN
Chromium2/graphics/icons/heatsink.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
Chromium2/graphics/icons/inconel-718.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
Chromium2/graphics/icons/molten-chromium.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
Chromium2/graphics/icons/stainless-steel-plate.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
Chromium2/graphics/icons/turbine-blades.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
Chromium2/graphics/icons/vehicle-frame.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
Chromium2/graphics/technology/polyethylene.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
27
Chromium2/info.json
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"name": "Chromium",
|
||||||
|
"version": "2.0.0",
|
||||||
|
"factorio_version": "2.0",
|
||||||
|
"title": "Chromium",
|
||||||
|
"author": "Timeken, cackling fiend",
|
||||||
|
"homepage": "https://discord.gg/ufvFUJtVwk",
|
||||||
|
"dependencies": [
|
||||||
|
"base >= 1.1.0",
|
||||||
|
"? 248k-Redux",
|
||||||
|
"? aai-industry",
|
||||||
|
"? BrassTacks-Updated",
|
||||||
|
"? bobassembly",
|
||||||
|
"? bzaluminum",
|
||||||
|
"? bzfoundry",
|
||||||
|
"? bzgas",
|
||||||
|
"? bzsilicon",
|
||||||
|
"? IfNickel-Updated",
|
||||||
|
"? Indium",
|
||||||
|
"? Krastorio2",
|
||||||
|
"? RampantArsenal",
|
||||||
|
"? space-exploration",
|
||||||
|
"? Tantalite",
|
||||||
|
"? ThemTharHills-Updated"
|
||||||
|
],
|
||||||
|
"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."
|
||||||
|
}
|
62
Chromium2/locale/en/Chromium.cfg
Normal 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]
|
70
Chromium2/prototypes/chromite-ore.lua
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
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/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)
|
||||||
|
},
|
||||||
|
})
|
93
Chromium2/prototypes/chromium-248k.lua
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
local util = require("data-util")
|
||||||
|
|
||||||
|
if mods["248k-Redux"] 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
|
116
Chromium2/prototypes/chromium-enriched.lua
Normal 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 = { {type="item", name="enriched-chromium", amount=5} },
|
||||||
|
results = { {type="item", name="chromium-plate", amount=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,
|
||||||
|
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
|
53
Chromium2/prototypes/chromium-matter.lua
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
-- Matter recipes for Krastorio2
|
||||||
|
if mods["Krastorio2"] then
|
||||||
|
local matter = require("__Krastorio2__/prototypes/libraries/matter")
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
matter.createMatterRecipe({
|
||||||
|
material = { type = "item", name = "chromite-ore", amount = 10 },
|
||||||
|
matter_count = 5,
|
||||||
|
energy_required = 1,
|
||||||
|
need_stabilizer = false,
|
||||||
|
unlocked_by_technology = "chromium-matter-processing"
|
||||||
|
})
|
||||||
|
|
||||||
|
matter.createMatterRecipe({
|
||||||
|
material = { type = "item", name = "chromium-plate", amount = 10 },
|
||||||
|
matter_count = 10,
|
||||||
|
energy_required = 3,
|
||||||
|
only_deconversion = true,
|
||||||
|
need_stabilizer = true,
|
||||||
|
unlocked_by_technology = "chromium-matter-processing"
|
||||||
|
})
|
||||||
|
end
|
109
Chromium2/prototypes/chromium-recipe-se.lua
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
-- 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"})
|
||||||
|
|
||||||
|
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 = {{type="item", name="chromium-ingot", amount=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"}
|
||||||
|
|
||||||
|
end
|
429
Chromium2/prototypes/chromium-recipe.lua
Normal 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 = {{type="item", name="chromite-ore", amount=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 = {{type="item", name="steel-plate", amount=8}, {type="item", name="chromium-plate", amount=2}}
|
||||||
|
if mods["IfNickel-Updated"] then
|
||||||
|
stainless_steel_ingredients = {{type="item", name="steel-plate", amount=8}, {type="item", name="chromium-plate", amount=1}, {type="item", name="nickel-plate", amount=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 = {{type="item", name="stainless-steel-plate", amount=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 = {{type="item", name="plastic-bar", amount=15}},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
local chromel_r_fabric_ingredients = {{type="item", name="copper-plate", amount=8}, {type="item", name="chromium-plate", amount=2}}
|
||||||
|
if mods["IfNickel-Updated"] then
|
||||||
|
chromel_r_fabric_ingredients = {{type="item", name="nickel-plate", amount=8}, {type="item", name="chromium-plate", amount=2}}
|
||||||
|
end
|
||||||
|
local chromel_r_fabric_crafting = "crafting"
|
||||||
|
if mods["248k-Redux"] 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 = {{type="item", name="chromel-r-fabric", amount=5}},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
local basic_vehicle_frame_ingredients = {{type="item", name="steel-plate", amount=5}, {type="item", name="copper-plate", amount=10}}
|
||||||
|
if mods["bzaluminum"] then
|
||||||
|
basic_vehicle_frame_ingredients = {{type="item", name="steel-plate", amount=5}, {type="item", name="alumina", amount=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 = {{type="item", name="basic-vehicle-frame", amount=1}},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
local vehicle_frame_ingredients = {{type="item", name="basic-vehicle-frame", amount=1}, {type="item", name="stainless-steel-plate", amount=15}, {type="item", name="copper-plate", amount=20}}
|
||||||
|
if mods["bzaluminum"] then
|
||||||
|
vehicle_frame_ingredients = {{type="item", name="basic-vehicle-frame", amount=1}, {type="item", name="stainless-steel-plate", amount=15}, {type="item", name="aluminum-6061", amount=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 = {{type="item", name="vehicle-frame", amount=1}},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
local inconel_ingredients = {{type="item", name="steel-plate", amount=5}, {type="item", name="chromium-plate", amount=3}, {type="item", name="iron-plate", amount=1}, mods["Tantalite"] and {type="item", name="niobium-plate", amount=1}}
|
||||||
|
if mods["IfNickel-Updated"] then
|
||||||
|
inconel_ingredients = {{type="item", name="nickel-plate", amount=5}, {type="item", name="chromium-plate", amount=3}, {type="item", name="iron-plate", amount=1}, mods["Tantalite"] and {type="item", name="niobium-plate", amount=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 = {{type="item", name="inconel-718", amount=10}},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
local automation_core3_ingredients = {(data.raw.item["automation-core-2"] and {type="item", name="automation-core-2", amount=1}) or {type="item", name="steel-plate", amount=5}, {type="item", name="inconel-718", amount=10}}
|
||||||
|
local automation_core3_subgroup = "intermediate-product"
|
||||||
|
if (mods["BrassTacks-Updated"] and data.raw.item["advanced-gearbox"]) and (mods["IfNickel-Updated"] and data.raw.item["advanced-machining-tool"]) then --check for hardmode
|
||||||
|
automation_core3_ingredients = {data.raw.item["automation-core-2"] and {type="item", name="automation-core-2", amount=1}, {type="item", name="advanced-gearbox", amount=1}, {type="item", name="complex-joint", amount=2}, {type="item", name="advanced-machining-tool", amount=2}, {type="item", name="inconel-718", amount=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 = {{type="item", name="automation-core-3", amount=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 = {{type="item", name="inconel-718", amount=10}, mods["248k-Redux"] and {type="item", name="fi_materials_GFK", amount=5}, {type="item", name="air-bearing", amount=2}}
|
||||||
|
local turbines_blade_subgroup = "intermediate-product"
|
||||||
|
if mods["IfNickel-Updated"] 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 = {{type="item", name="turbine-blades", amount=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-Updated"] 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 = {{type="item", name="inconel-718", amount=1}, {type="item", name="low-density-structure", amount=1}, mods["space-exploration"] and {type="item", name="se-heat-shielding", amount=1}},
|
||||||
|
results = {{type="item", name="heat-resistant-low-density-structure", amount=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 = {{type="item", name="stainless-steel-plate", amount=2},data.raw.item["cryogenic-seal"] and {type="item", name="cryogenic-seal", amount=1}, { type = "fluid", name = "lubricant", amount = 5 }},
|
||||||
|
results = {{type="item", name="air-bearing", amount=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-Updated"] 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 = {{type="item", name="inconel-718", amount=2}, {type="item", name="air-bearing", amount=1}, {type="item", name="electric-engine-unit", amount=2}, mods["ThemTharHills-Updated"] and {type="item", name="hv-power-regulator", amount=1}, { type = "fluid", name = "lubricant", amount = 40 }},
|
||||||
|
results = {{type="item", name="advanced-electric-motor", amount=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 = {{type="item", name="inconel-718", amount=1}, {type="item", name="se-beryllium-plate", amount=1}, {type="item", name="se-heat-shielding", amount=1}},
|
||||||
|
results = {{type="item", name="heat-resistant-low-density-structure", amount=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")
|
309
Chromium2/prototypes/technology.lua
Normal 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-Updated"] 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-Updated"] 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
|
43
Chromium2/recipe-final-fix.lua
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
local util = require("data-util")
|
||||||
|
|
||||||
|
|
||||||
|
if mods["IfNickel-Updated"] 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-Updated"] 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-Updated"] and "advanced-gearbox" then
|
||||||
|
util.remove_ingredient("assembling-machine-3", "concrete")
|
||||||
|
util.replace_ingredient("assembling-machine-3", mods["BrassTacks-Updated"] and "complex-joint", "concrete", 8)
|
||||||
|
util.replace_ingredient("assembling-machine-3", mods["BrassTacks-Updated"] and "advanced-gearbox", "advanced-electric-motor", 4)
|
||||||
|
else
|
||||||
|
util.add_ingredient("assembling-machine-3", "advanced-electric-motor", 4)
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods["IfNickel-Updated"] and "advanced-machining-tool" then
|
||||||
|
util.replace_ingredient("assembling-machine-3", mods["IfNickel-Updated"] and "advanced-machining-tool", "automation-core-3", 2)
|
||||||
|
else
|
||||||
|
util.add_ingredient("assembling-machine-3", "automation-core-3", 2)
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods["ThemTharHills-Updated"] 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-Updated"] and "advanced-gearbox")
|
||||||
|
util.remove_ingredient("se-space-assembling-machine", mods["IfNickel-Updated"] and "advanced-machining-tool")
|
||||||
|
util.remove_ingredient("se-space-assembling-machine", mods["BrassTacks-Updated"] and "complex-joint")
|
||||||
|
end
|
||||||
|
end
|
163
Chromium2/recipe-modify.lua
Normal 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-Redux"] 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
After Width: | Height: | Size: 6.5 KiB |