diff --git a/technic/locale/de.txt b/technic/locale/de.txt index b2ddd32..acf6dfb 100644 --- a/technic/locale/de.txt +++ b/technic/locale/de.txt @@ -178,3 +178,8 @@ Single node. = Einzelblock Sonic Screwdriver = Schallschraubendreher Tree Tap = Baumzapfhahn +## Craft descriptions +Alloy cooking = +Grinding = +Compressing = +Extracting = diff --git a/technic/locale/es.txt b/technic/locale/es.txt index bc27c5d..4ac9693 100644 --- a/technic/locale/es.txt +++ b/technic/locale/es.txt @@ -168,3 +168,8 @@ Single node. = Nodo simple. Sonic Screwdriver = Destonillador Sonico Tree Tap = Grifo de Arbol +## Craft descriptions +Alloy cooking = +Grinding = +Compressing = +Extracting = diff --git a/technic/locale/it.txt b/technic/locale/it.txt index 831b1df..d352b52 100644 --- a/technic/locale/it.txt +++ b/technic/locale/it.txt @@ -165,3 +165,9 @@ Mining Laser Mk%d = Laser da miniera mk%d Single node. = Nodo singolo. Sonic Screwdriver = Cacciavite sonico Tree Tap = Batti albero + +## Craft descriptions +Alloy cooking = +Grinding = +Compressing = +Extracting = diff --git a/technic/locale/template.txt b/technic/locale/template.txt index cc7d2dd..5bda22f 100644 --- a/technic/locale/template.txt +++ b/technic/locale/template.txt @@ -178,3 +178,8 @@ Single node. = Sonic Screwdriver = Tree Tap = +## Craft descriptions +Alloy cooking = +Grinding = +Compressing = +Extracting = diff --git a/technic/machines/LV/compressor.lua b/technic/machines/LV/compressor.lua index c62b516..b9e4919 100644 --- a/technic/machines/LV/compressor.lua +++ b/technic/machines/LV/compressor.lua @@ -3,6 +3,14 @@ technic.compressor_recipes = {} local S = technic.getter +if unified_inventory.register_craft_type then + unified_inventory.register_craft_type("compressing", { + description = S("Compressing"), + height = 1, + width = 1, + }) +end + technic.register_compressor_recipe = function(src, src_count, dst, dst_count) technic.compressor_recipes[src] = {src_count = src_count, dst_name = dst, dst_count = dst_count} if unified_inventory then diff --git a/technic/machines/LV/extractor.lua b/technic/machines/LV/extractor.lua index 6db25e4..f559ae0 100644 --- a/technic/machines/LV/extractor.lua +++ b/technic/machines/LV/extractor.lua @@ -3,6 +3,14 @@ technic.extractor_recipes ={} local S = technic.getter +if unified_inventory.register_craft_type then + unified_inventory.register_craft_type("extracting", { + description = S("Extracting"), + height = 1, + width = 1, + }) +end + technic.register_extractor_recipe = function(src, src_count, dst, dst_count) technic.extractor_recipes[src] = {src_count = src_count, dst_name = dst, dst_count = dst_count} if unified_inventory then diff --git a/technic/machines/register/alloy_furnace.lua b/technic/machines/register/alloy_furnace.lua index 51f94d6..6dcca71 100644 --- a/technic/machines/register/alloy_furnace.lua +++ b/technic/machines/register/alloy_furnace.lua @@ -1,6 +1,14 @@ local S = technic.getter +if unified_inventory.register_craft_type then + unified_inventory.register_craft_type("alloy", { + description = S("Alloy cooking"), + height = 2, + width = 1, + }) +end + -- Register alloy recipes technic.alloy_recipes = {} @@ -32,7 +40,7 @@ technic.register_alloy_recipe = function(metal1, count1, metal2, count2, result, type = "alloy", output = result.." "..count3, items = {metal1.." "..count1, metal2.." "..count2}, - width = 2, + width = 0, }) end end diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua index 73595d4..cab83ac 100644 --- a/technic/machines/register/grinder_recipes.lua +++ b/technic/machines/register/grinder_recipes.lua @@ -1,6 +1,14 @@ local S = technic.getter +if unified_inventory.register_craft_type then + unified_inventory.register_craft_type("grinding", { + description = S("Grinding"), + height = 1, + width = 1, + }) +end + technic.grinder_recipes = {} function technic.register_grinder_recipe(data)