summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/lua/eat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dat/lua/eat.lua')
-rw-r--r--crawl-ref/source/dat/lua/eat.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dat/lua/eat.lua b/crawl-ref/source/dat/lua/eat.lua
index f27f69068b..4bd520b9e5 100644
--- a/crawl-ref/source/dat/lua/eat.lua
+++ b/crawl-ref/source/dat/lua/eat.lua
@@ -8,11 +8,11 @@
-- See c_eat in this file if you want to tweak eating behaviour further.
---------------------------------------------------------------------------
function prompt_eat(i)
- local iname = item.name(i, "a")
+ local iname = item.name_coloured(i, "a")
if item.quantity(i) > 1 then
iname = "one of " .. iname
end
- crawl.mpr("Eat " .. iname .. "?", "prompt")
+ crawl.formatted_mpr("Eat " .. iname .. "?", "prompt")
local res
res = crawl.getch()