fix fe+ & 5dim's

This commit is contained in:
Brevven 2022-02-16 21:29:54 -08:00
parent 89a07a8a70
commit 8ab69a27f2
7 changed files with 19 additions and 14 deletions

View file

@ -8,16 +8,16 @@ if simpleCompress then
end
if simpleCompress.plates then
simpleCompress.currentSubgroup = "intermediate-product"
if data.raw.item["titanium-plate"] then
SimpleCompress_AddTintedItem("titanium-plate", "plates4-titanium", "plate3", {r=0.85, g=0.85, b=0.70})
SimpleCompress_UnlockPlateTechAndRecipe("titanium-plate")
if data.raw.item[util.me.titanium_plate] then
SimpleCompress_AddTintedItem(util.me.titanium_plate, "plates4-titanium", "plate3", {r=0.85, g=0.85, b=0.70})
SimpleCompress_UnlockPlateTechAndRecipe(util.me.titanium_plate)
end
local titaniumRecipe = data.raw.recipe["decompress-titanium-plate"]
titaniumRecipe.order = "d[titanium-plate]"
end
if simpleCompress.smelting then
if data.raw.item["titanium-plate"] and data.raw.item["titanium-plate"] then
SimpleCompress_AddSmeltingRecipe("titanium-ore", "titanium-plate")
if data.raw.item[ util.me.titanium_plate] and data.raw.item[util.me.titanium_plate] then
SimpleCompress_AddSmeltingRecipe("titanium-ore",util.me.titanium_plate)
SimpleCompress_UnlockOreSmeltingTech("titanium-ore")
local titaniumRecipe = data.raw.recipe["smelt-compressed-titanium-ore"]
titaniumRecipe.ingredients = {{"compressed-titanium-ore", 5}}