Compare commits

..

1 Commits
1.9b ... 1.9c

Author SHA1 Message Date
0e90d85423 Fix messages in craft command 2019-10-04 01:08:20 +02:00

View File

@ -1749,10 +1749,14 @@ function craftguide.show(name, item, show_usages)
if not recipes and not usages then
if not recipes_cache[item] and not usages_cache[item] then
return false, msg(name, S("No recipe or usage for this item"))
return false, msg(name, fmt("%s: %s",
S("No recipe or usage for this item"),
get_desc(item)))
end
return false, msg(name, S("You don't know a recipe or usage for this item"))
return false, msg(name, fmt("%s: %s",
S("You don't know a recipe or usage for this item"),
get_desc(item)))
end
data.query_item = item