fix finding out meta holding shift

M  README.md
M  init.lua


Former-commit-id: 71e64f0f2634a0da0e93b851b100f2ec970785dc
Former-commit-id: dd2d449a019dbb7ef76b19db8f8dcf365a29a44f
This commit is contained in:
HybridDog 2016-06-30 19:15:54 +02:00
parent 3774d84d40
commit 03d6d89f76
2 changed files with 9 additions and 4 deletions

View File

@ -1,11 +1,15 @@
[Mod] superpick [superpick]
I made a tool which can dig everything except objects very fast and show information about the punched node.
I made a tool which can dig every node very fast and show information about the punched node.
**Depends:** see [depends.txt](https://raw.githubusercontent.com/HybridDog/superpick/master/depends.txt)
**License:** see [LICENSE.txt](https://raw.githubusercontent.com/HybridDog/superpick/master/LICENSE.txt)
**Download:** [zip](https://github.com/HybridDog/superpick/archive/master.zip), [tar.gz](https://github.com/HybridDog/superpick/archive/master.tar.gz)
**Download:** [zip](https://github.com/HybridDog/superpick/archive/master.zip), [tar.gz](https://github.com/HybridDog/superpick/archive/master.tar.gz)
![I'm a screenshot!](http://bit.ly/1wOCWpq)
If you got ideas or found bugs, please tell them to me.
TODO:
— maybe allow other mods to make it give information

View File

@ -69,13 +69,14 @@ if minetest.setting_getbool"creative_mode" then
-- nodedef dump
if pcontrol.sneak
and pcontrol.aux1
and not pcontrol.up then
and not pcontrol.up
and not pcontrol.right then
infos[#infos+1] = {"nodedata", dump(data)}
end
if pcontrol.left
and pcontrol.right then
if pcontrol.sneak then
if pcontrol.aux1 then
-- node timer
local nt = minetest.get_node_timer(pos)
infos[#infos+1] = {"nodetimer",