Skip to content

Commit

Permalink
Night vision equipment ingredients #181
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed May 27, 2024
1 parent c7e58d6 commit f4deb32
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bobequipment/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion bobequipment/prototypes/recipe/equipment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ data:extend({
},
})

bobmods.lib.recipe.replace_ingredient("night-vision-equipment", "advanced-circuit", "electronic-circuit")
data:extend({
{
type = "recipe",
Expand All @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions bobequipment/prototypes/recipe/updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 2 additions & 1 deletion bobequipment/prototypes/technology/equipment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ data:extend({
}),
order = "g-g-b",
prerequisites = {
"chemical-science-pack",
"night-vision-equipment",
"advanced-electronics-2",
},
effects = {
{
Expand Down Expand Up @@ -351,6 +351,7 @@ data:extend({
icon_mipmaps = 4,
order = "g-g-c",
prerequisites = {
"advanced-electronics-2",
"night-vision-equipment-2",
"production-science-pack",
},
Expand Down

0 comments on commit f4deb32

Please sign in to comment.