Skip to content

Commit

Permalink
Remove underused items/fluids #334
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed Sep 4, 2024
1 parent 9a66ad9 commit 281695d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions SeaBlock/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Date: ??.??.??
- Changed catalyst recipes to use the appropriate catalyst for their tech tier
- Remove underused items/fluids #334
- Hid crushed stone. Use stone instead. Ratios will all stay the same
- Hid liquid fuel. Enriched fuel is now made directly from fuel oil plus residual gas
Bugfixes:
- Fixed tech steam-power missing a locale in some mod configurations #332
---------------------------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion SeaBlock/data-updates/fuel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ end

-- petroleum gas/methane has same solid fuel value as naphtha.
data.raw.fluid["liquid-fuel-oil"].fuel_value = "1MJ"
data.raw.fluid["liquid-fuel"].fuel_value = "1MJ"
data.raw.fluid["liquid-naphtha"].fuel_value = "0.5MJ"
data.raw.fluid["gas-methane"].fuel_value = "0.5MJ"
data.raw.fluid["crude-oil"].fuel_value = "0.5MJ"
Expand Down
22 changes: 22 additions & 0 deletions SeaBlock/data-updates/misc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,28 @@ if data.raw.inserter["steam-inserter"] then
bobmods.lib.recipe.replace_ingredient_in_all("steam-inserter", "burner-inserter")
end

-- Hide Liquid Fuel
if data.raw.recipe["enriched-fuel-from-liquid-fuel"] then
bobmods.lib.recipe.set_ingredients("enriched-fuel-from-liquid-fuel",
{
{ type = "fluid", name = "liquid-fuel-oil", amount = 80 },
{ type = "fluid", name = "gas-residual", amount = 20 },
}
)
data.raw.recipe["enriched-fuel-from-liquid-fuel"].icons = angelsmods.functions.create_solid_recipe_icon(
{ "liquid-fuel-oil", "gas-residual" },
"enriched-fuel"
)
end
bobmods.lib.tech.remove_recipe_unlock("fluid-canister-processing", "empty-liquid-fuel-barrel")
bobmods.lib.tech.remove_recipe_unlock("fluid-canister-processing", "fill-liquid-fuel-barrel")
bobmods.lib.tech.remove_recipe_unlock("flammables", "liquid-fuel")
bobmods.lib.recipe.hide("empty-liquid-fuel-barrel")
bobmods.lib.recipe.hide("fill-liquid-fuel-barrel")
bobmods.lib.recipe.hide("liquid-fuel")
seablock.lib.hide("fluid", "liquid-fuel")
seablock.lib.hide("item", "liquid-fuel-barrel")

-- Swap out concrete for bricks

if data.raw.recipe["burner-reactor-2"] then
Expand Down

0 comments on commit 281695d

Please sign in to comment.