Skip to content

Commit

Permalink
Removed tech "Pumpjack"
Browse files Browse the repository at this point in the history
I don't see any need for Revamp to add this
  • Loading branch information
KiwiHawk committed Oct 1, 2023
1 parent 3d9c3c1 commit 243490c
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 37 deletions.
4 changes: 0 additions & 4 deletions bobmining/prototypes/pumpjack-updates.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
if settings.startup["bobmods-mining-pumpjacks"].value == true then
if data.raw.technology["pumpjack"] then
bobmods.lib.tech.replace_prerequisite("bob-pumpjacks-1", "oil-processing", "pumpjack")
end

if data.raw.item["steel-gear-wheel"] then
bobmods.lib.recipe.replace_ingredient("bob-pumpjack-1", "iron-gear-wheel", "steel-gear-wheel")
end
Expand Down
1 change: 1 addition & 0 deletions bobrevamp/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Date: ???
Changes:
- Removed technology Solid Fuel #120
- Moved solid fuel recipes to tech "Flammables" #120
- Removed technology "Pumpjack" #120
---------------------------------------------------------------------------------------------------
Version: 1.1.6
Date: 01. 01. 2023
Expand Down
6 changes: 0 additions & 6 deletions bobrevamp/data-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,12 @@ bobmods.lib.recipe.add_ingredient("rocket-silo", { "heat-shield-tile", 100 })
-- oil overhaul
if settings.startup["bobmods-revamp-old-oil"].value == true or settings.startup["bobmods-revamp-oil"].value == true then
bobmods.lib.tech.remove_recipe_unlock("oil-processing", "chemical-plant")
bobmods.lib.tech.remove_recipe_unlock("oil-processing", "pumpjack")
bobmods.lib.tech.remove_recipe_unlock("oil-processing", "solid-fuel-from-petroleum-gas")
bobmods.lib.tech.add_recipe_unlock("flammables", "solid-fuel-from-petroleum-gas")
bobmods.lib.tech.remove_prerequisite("oil-processing", "steel-processing")
bobmods.lib.tech.add_prerequisite("oil-processing", "pumpjack")
data.raw.technology["oil-processing"].icon = "__base__/graphics/technology/oil-processing.png"
bobmods.lib.tech.set_science_pack_count("oil-processing", 30)

if bobmods.electronics then
bobmods.lib.tech.add_prerequisite("pumpjack", "electronics")
end

if
data.raw.recipe["basic-oil-processing"]
and data.raw.recipe["basic-oil-processing"].results
Expand Down
26 changes: 0 additions & 26 deletions bobrevamp/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,6 @@ require("prototypes.rtg")
-- oil overhaul
if settings.startup["bobmods-revamp-old-oil"].value == true or settings.startup["bobmods-revamp-oil"].value == true then
data:extend({
{
type = "technology",
name = "pumpjack",
icon = "__base__/graphics/technology/oil-gathering.png",
icon_size = 256,
icon_mipmaps = 4,
order = "d-a-c",
prerequisites = {
"steel-processing",
"logistic-science-pack",
},
unit = {
count = 30,
time = 30,
ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
},
},
effects = {
{
type = "unlock-recipe",
recipe = "pumpjack",
},
},
},
{
type = "technology",
name = "chemical-plant",
Expand Down
1 change: 0 additions & 1 deletion bobrevamp/locale/en/bobrevamp.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[technology-name]
chemical-plant=Chemical plant
pumpjack=Pumpjack research
solid-fuel=Solid fuel research
rocket-fuel=__ITEM__rocket-fuel__ research
hydrazine=Hydrazine research
Expand Down

0 comments on commit 243490c

Please sign in to comment.