From: Zefram Date: Sun, 20 Jul 2014 17:22:52 +0000 (+0100) Subject: Improve message about screwdriver control X-Git-Tag: 0.4.11~65 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c39b9b29debabdd25c57fa2901346acce16be3e0;p=oweals%2Fminetest_game.git Improve message about screwdriver control The message to "hold shift" makes an unwarranted assumption about the user's keybindings. Messages from the server should refer to a key's game function, rather than its extragame identity. --- diff --git a/mods/screwdriver/init.lua b/mods/screwdriver/init.lua index c257235f..6e560388 100644 --- a/mods/screwdriver/init.lua +++ b/mods/screwdriver/init.lua @@ -20,7 +20,7 @@ local function screwdriver_setmode(user,itemstack) local item = itemstack:to_table() local mode = tonumber(itemstack:get_metadata()) if not mode then - minetest.chat_send_player(player_name, "Hold shift and use to change screwdriwer modes.") + minetest.chat_send_player(player_name, "Use while sneaking to change screwdriwer modes.") mode = 0 end mode = mode + 1