Eliminate crumbly, cracky, snappy and choppy fully

This commit is contained in:
Wuzzy 2017-02-27 18:53:17 +01:00
parent 4ec6f5a3ec
commit 6b3db0ae72
7 changed files with 37 additions and 23 deletions

View file

@ -13,12 +13,7 @@
--Tweaked by: maikerumine
local function is_ground(pos)
local nn = minetest.get_node(pos).name
return minetest.get_item_group(nn, "crumbly") ~= 0 or
minetest.get_item_group(nn, "choppy") ~= 0 or
minetest.get_item_group(nn, "cracky") ~= 0 or
minetest.get_item_group(nn, "snappy") ~= 0 or
minetest.get_item_group(nn, "unbreakable") ~= 0 or
minetest.get_item_group(nn, "immortal") ~= 0
return minetest.get_item_group(nn, "solid") ~= 0
end
local function get_sign(i)