diff --git a/bobequipment/changelog.txt b/bobequipment/changelog.txt index 0c8ee2abc..939bb0a05 100644 --- a/bobequipment/changelog.txt +++ b/bobequipment/changelog.txt @@ -4,7 +4,7 @@ Date: ??? Changes: - Reduced the tier of electronics required for Personal roboport robot control #180 - Changed personal batteries to have four tiers rather than six #181 - - Reduced the tier of electronics required for Energy shield #181 + - Reduced the tier of electronics required for some personal equipment #181 --------------------------------------------------------------------------------------------------- Version: 1.2.1 Date: 21. 02. 2024 diff --git a/bobequipment/prototypes/recipe/equipment.lua b/bobequipment/prototypes/recipe/equipment.lua index 1b44a4cfd..b94b3e393 100644 --- a/bobequipment/prototypes/recipe/equipment.lua +++ b/bobequipment/prototypes/recipe/equipment.lua @@ -138,6 +138,7 @@ data:extend({ }, }) +bobmods.lib.recipe.replace_ingredient("night-vision-equipment", "advanced-circuit", "electronic-circuit") data:extend({ { type = "recipe", @@ -146,7 +147,7 @@ data:extend({ energy_required = 10, ingredients = { { "night-vision-equipment", 1 }, - { "processing-unit", 5 }, + { "advanced-circuit", 5 }, { "plastic-bar", 2 }, }, result = "night-vision-equipment-2", diff --git a/bobequipment/prototypes/recipe/updates.lua b/bobequipment/prototypes/recipe/updates.lua index 0df0c9947..b6c6ba016 100644 --- a/bobequipment/prototypes/recipe/updates.lua +++ b/bobequipment/prototypes/recipe/updates.lua @@ -361,8 +361,6 @@ if data.raw.item["advanced-processing-unit"] then bobmods.lib.tech.add_prerequisite("fusion-reactor-equipment-2", "advanced-electronics-3") bobmods.lib.recipe.replace_ingredient("fusion-reactor-equipment-3", "processing-unit", "advanced-processing-unit") bobmods.lib.recipe.replace_ingredient("fusion-reactor-equipment-4", "processing-unit", "advanced-processing-unit") - bobmods.lib.recipe.replace_ingredient("night-vision-equipment-3", "processing-unit", "advanced-processing-unit") - bobmods.lib.tech.add_prerequisite("night-vision-equipment-3", "advanced-electronics-3") bobmods.lib.recipe.replace_ingredient("solar-panel-equipment-4", "processing-unit", "advanced-processing-unit") bobmods.lib.tech.add_prerequisite("solar-panel-equipment-4", "advanced-electronics-3") bobmods.lib.recipe.replace_ingredient( diff --git a/bobequipment/prototypes/technology/equipment.lua b/bobequipment/prototypes/technology/equipment.lua index 262431c95..dec66cdd8 100644 --- a/bobequipment/prototypes/technology/equipment.lua +++ b/bobequipment/prototypes/technology/equipment.lua @@ -320,8 +320,8 @@ data:extend({ }), order = "g-g-b", prerequisites = { + "chemical-science-pack", "night-vision-equipment", - "advanced-electronics-2", }, effects = { { @@ -351,6 +351,7 @@ data:extend({ icon_mipmaps = 4, order = "g-g-c", prerequisites = { + "advanced-electronics-2", "night-vision-equipment-2", "production-science-pack", },