Register craft types with unified_inventory
| | |
| | | Sonic Screwdriver = Schallschraubendreher |
| | | Tree Tap = Baumzapfhahn |
| | | |
| | | ## Craft descriptions |
| | | Alloy cooking = |
| | | Grinding = |
| | | Compressing = |
| | | Extracting = |
| | |
| | | Sonic Screwdriver = Destonillador Sonico |
| | | Tree Tap = Grifo de Arbol |
| | | |
| | | ## Craft descriptions |
| | | Alloy cooking = |
| | | Grinding = |
| | | Compressing = |
| | | Extracting = |
| | |
| | | Single node. = Nodo singolo. |
| | | Sonic Screwdriver = Cacciavite sonico |
| | | Tree Tap = Batti albero |
| | | |
| | | ## Craft descriptions |
| | | Alloy cooking = |
| | | Grinding = |
| | | Compressing = |
| | | Extracting = |
| | |
| | | Sonic Screwdriver = |
| | | Tree Tap = |
| | | |
| | | ## Craft descriptions |
| | | Alloy cooking = |
| | | Grinding = |
| | | Compressing = |
| | | Extracting = |
| | |
| | | |
| | | 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 |
| | |
| | | |
| | | 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 |
| | |
| | | |
| | | 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 = {} |
| | | |
| | |
| | | type = "alloy", |
| | | output = result.." "..count3, |
| | | items = {metal1.." "..count1, metal2.." "..count2}, |
| | | width = 2, |
| | | width = 0, |
| | | }) |
| | | end |
| | | end |
| | |
| | | |
| | | 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) |