Make sure chainsaw drops appear above ground
authorPhvli <topi.eronen@gmail.com>
Sun, 4 May 2014 16:59:37 +0000 (19:59 +0300)
committerShadowNinja <shadowninja@minetest.net>
Mon, 23 Jun 2014 22:36:43 +0000 (18:36 -0400)
commitc6365827077185524f206020cbd1c6b9b7cf18f8
tree11d5f4a62a43278b61eb1a964e0c8d2bcd78deb8
parentc394984ae5a33a24730fb5e05081b80490f0694e
Make sure chainsaw drops appear above ground

A fix for https://github.com/minetest-technic/technic/issues/137
Chainsaw drops are forced to pop above ground. Also, as asl suggested,
they must not end up too high on a ledge or a pillar.

This also cleans up the code style of chainsaw.lua.
technic/tools/chainsaw.lua