Skip to content

Commit

Permalink
Update to 0.18.0
Browse files Browse the repository at this point in the history
Add boiler to heat exchange and steam engine to turbine

Signed-off-by: Jelmergu <[email protected]>
  • Loading branch information
Jelmergu committed Jan 21, 2020
1 parent 6f925c4 commit a588ee7
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 3 deletions.
Binary file modified graphicsProjects/converter-project.xcf
Binary file not shown.
3 changes: 3 additions & 0 deletions upgrade-machines/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Version: 0.18.0
Date: 21. 01. 2020
General:
- Update for 0.18
New Recipes:
- Boiler to Heat exchanger
- Steam engine to Steam turbine
---------------------------------------------------------------------------------------------------
Version: 0.17.1
Date: 30. 05. 2019
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion upgrade-machines/locale/en/recipe-name.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ pistol-to-combat-shotgun=Pistol to Combat shotgun
light-to-heavy-armor=Light to Heavy armor
heavy-to-modular-armor=Heavy to Modular armor
modular-to-power-armor=Modular to Power armor
power-to-power-armor-mk2=Power to Power armor MK2
power-to-power-armor-mk2=Power to Power armor MK2
boiler-to-heat-exchanger=Boiler to Heat exchanger
steam-engine-to-steam-turbine=Steam engine to Steam turbine
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
for index, force in pairs(game.forces) do
if force.technologies["nuclear-power"].researched == true then
force.recipes["boiler-to-heat-exchanger"].enabled = true
force.recipes["boiler-to-heat-exchanger"].reload()
force.recipes["steam-engine-to-steam-turbine"].enabled = true
force.recipes["steam-engine-to-steam-turbine"].reload()
end
end
41 changes: 39 additions & 2 deletions upgrade-machines/prototypes/recipes/vanilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Jelmergu:addRecipe({
},
},
main_product = "electric-mining-drill",
energy_required = 1,
energy_required = 2,
})

Jelmergu:addRecipe(
Expand All @@ -42,7 +42,7 @@ Jelmergu:addRecipe(
{ "electronic-circuit", 1 }
},
result = "inserter",
energy_required = 1,
energy_required = 0.5,
enabled = true
}
)
Expand Down Expand Up @@ -187,4 +187,41 @@ Jelmergu:addRecipe(
energy_required = 25

}
)

Jelmergu:addRecipe(
{
name = "boiler-to-heat-exchanger",
ingredients = {
{"boiler", 2},
{"pipe", 2},
{"copper-plate", 100},
{"steel-plate", 10}

},
results = {
{"heat-exchanger", 1},
{"stone-furnace", 2},
},
expensive = false,
icon_size = 64,
energy_required = 3
}
)

Jelmergu:addRecipe(
{
name = "steam-engine-to-steam-turbine",
ingredients = {
{"steam-engine", 3},
{"pipe", 5},
{"copper-plate", 50},
{"iron-gear-wheel", 11}

},
icon_size = 64,
result = "steam-turbine",
expensive = false,
energy_required = 3
}
)
8 changes: 8 additions & 0 deletions upgrade-machines/prototypes/technology/vanilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,11 @@ table.insert(data.raw["technology"]["power-armor-mk2"].effects, {
type = "unlock-recipe",
recipe = "power-to-power-armor-mk2"
})
table.insert(data.raw["technology"]["nuclear-power"].effects, {
type = "unlock-recipe",
recipe = "boiler-to-heat-exchanger"
})
table.insert(data.raw["technology"]["nuclear-power"].effects, {
type = "unlock-recipe",
recipe = "steam-engine-to-steam-turbine"
})

0 comments on commit a588ee7

Please sign in to comment.