Fix craft guide for alloy cooking et al
authorZefram <zefram@fysh.org>
Sun, 6 Jul 2014 15:04:25 +0000 (16:04 +0100)
committerNovatux <nathanael.courant@laposte.net>
Mon, 7 Jul 2014 13:15:05 +0000 (15:15 +0200)
A typo in commit d55ecc39f954b33c17ae9a1da4aeff6382fcb790 made recipes
for alloy cooking, compressing, and all other craft types sharing that
machine code, to be shown with three ingredient slots instead of the
correct one or two.

technic/machines/register/recipes.lua

index 768c620be0ac04baf2eeef79b3b508c402760f3e..cff8ca1f8b52c33c00c9c3aab43648dccfe47e46 100644 (file)
@@ -5,7 +5,7 @@ function technic.register_recipe_type(typename, desc, numitems)
        if unified_inventory and unified_inventory.register_craft_type then
                unified_inventory.register_craft_type(typename, {
                        description = desc,
-                       height = numtiems,
+                       height = numitems,
                        width = 1,
                })
        end