diff --git a/table.lua b/table.lua index eabaa98..22387eb 100644 --- a/table.lua +++ b/table.lua @@ -409,6 +409,7 @@ end -- Returns a formspec string function fs.craft(x, y, pos, rank, meta, skin) local cost, is_positive = get_craft_material_cost(meta); + local stack = meta:get_inventory():get_stack("output", 1); local data = { x = x, @@ -432,7 +433,7 @@ function fs.craft(x, y, pos, rank, meta, skin) h = 0.5, id = "craft", - text = "Craft Map", + text = stack:get_name() == "cartographer:map" and "Upgrade Map" or "Craft Map", disabled = not (is_positive and can_afford(cost, meta)), }, fs.cost(1.25, 1.375, cost, skin),