SimpleCompress tweak

This commit is contained in:
Brevven 2021-03-11 17:17:42 -08:00
parent baa7e566b4
commit 1053dfc0b2

View file

@ -2,14 +2,14 @@ if simpleCompress then
if simpleCompress.ores then if simpleCompress.ores then
simpleCompress.currentSubgroup = "intermediate-product" simpleCompress.currentSubgroup = "intermediate-product"
if data.raw.item["titanium-ore"] then if data.raw.item["titanium-ore"] then
SimpleCompress_AddTintedItem("titanium-ore", "ore4-titanium", "ore", {r=0.85, g=0.85, b=0.75}) SimpleCompress_AddTintedItem("titanium-ore", "ore4-titanium", "ore", {r=0.85, g=0.85, b=0.70})
SimpleCompress_UnlockOreTechAndRecipe("titanium-ore") SimpleCompress_UnlockOreTechAndRecipe("titanium-ore")
end end
end end
if simpleCompress.plates then if simpleCompress.plates then
simpleCompress.currentSubgroup = "intermediate-product" simpleCompress.currentSubgroup = "intermediate-product"
if data.raw.item["titanium-plate"] then if data.raw.item["titanium-plate"] then
SimpleCompress_AddTintedItem("titanium-plate", "plates4-titanium", "plate3", {r=0.85, g=0.85, b=0.75}) SimpleCompress_AddTintedItem("titanium-plate", "plates4-titanium", "plate3", {r=0.85, g=0.85, b=0.70})
SimpleCompress_UnlockPlateTechAndRecipe("titanium-plate") SimpleCompress_UnlockPlateTechAndRecipe("titanium-plate")
end end
local titaniumRecipe = data.raw.recipe["decompress-titanium-plate"] local titaniumRecipe = data.raw.recipe["decompress-titanium-plate"]