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.
This commit is contained in:
Zefram 2014-07-20 18:22:52 +01:00 committed by sfan5
parent a8ad9bfc9d
commit c39b9b29de

View File

@ -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