From 87394d3f9e6d72b60689b8fec8fc62f7dc9a1ae6 Mon Sep 17 00:00:00 2001 From: kingarthur91 Date: Thu, 14 Oct 2021 00:19:50 -0400 Subject: [PATCH] get lead replaced correctly in reactor --- angelsindustries/prototypes/recipes/angels-reactor.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angelsindustries/prototypes/recipes/angels-reactor.lua b/angelsindustries/prototypes/recipes/angels-reactor.lua index 2af7d5bbe..dc5b9f226 100644 --- a/angelsindustries/prototypes/recipes/angels-reactor.lua +++ b/angelsindustries/prototypes/recipes/angels-reactor.lua @@ -14,7 +14,7 @@ if angelsmods.industries.overhaul then {type = 'item', name = 't4-plate', amount = 100}, {type = 'item', name = 't4-circuit', amount = 500}, {type = 'item', name = 't5-plate', amount = 100}, - {type = 'item', name = 't3-plate', amount = 350} + {type = 'item', name = data.raw.item['lead-plate'] and 'lead-plate' or 'angels-plate-lead', amount = 350} }, result = 'angels-burner-reactor' }, @@ -26,7 +26,7 @@ if angelsmods.industries.overhaul then {type = 'item', name = 't4-plate', amount = 100 * buildingmulti}, {type = 'item', name = 't4-circuit', amount = 500 * buildingmulti}, {type = 'item', name = 't5-plate', amount = 100 * buildingmulti}, - {type = 'item', name = 't3-plate', amount = 350 * buildingmulti} + {type = 'item', name = data.raw.item['lead-plate'] and 'lead-plate' or 'angels-plate-lead', amount = 350 * buildingmulti} }, result = 'angels-burner-reactor' },