diff --git a/angelsrefining_0.10.1/prototypes/angels-functions.lua b/angelsrefining_0.10.1/prototypes/angels-functions.lua index c848cea..ff392f8 100644 --- a/angelsrefining_0.10.1/prototypes/angels-functions.lua +++ b/angelsrefining_0.10.1/prototypes/angels-functions.lua @@ -42,6 +42,7 @@ function angelsmods.functions.disable_barreling_recipes(fluid_to_disable) angelsmods.functions.OV.disable_recipe("empty-"..fluid_to_disable.."-barrel") for nx, item in pairs(data.raw.item) do if item.name == fluid_to_disable.."-barrel" then + item.flags = item.flags or {} table.insert(item.flags,"hidden") end end @@ -227,4 +228,4 @@ function angelsmods.functions.add_localization(res_name, ore1, ore2, ore3, ore4, if data.raw["item"][res_name.."-pure"] then data.raw["item"][res_name.."-pure"].localised_description = {"item-description."..res_name.."-pure", {"item-description.loc-"..ore1}, {"item-description.loc-dot"}, {"item-description.loc-"..ore2}, {"item-description.loc-dot"}, {"item-description.loc-"..ore3}, {"item-description.loc-dot"}, {"item-description.loc-"..ore4}, {"item-description.loc-dot"}, {"item-description.loc-"..ore5}, {"item-description.loc-and"}, {"item-description.loc-"..ore6}, "", ""} end -end \ No newline at end of file +end