diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-19 00:20:50 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-19 00:20:50 +0200 |
commit | dbaccff476c7f97316d86878b6363c2e2f9d157d (patch) | |
tree | 9efabd5f3204d418dd42621dceb2ea311e4d67e3 /share/server | |
parent | dc6cf5cdeebc12738a9d354c1c2eaecfa753e57b (diff) | |
download | minetest-dbaccff476c7f97316d86878b6363c2e2f9d157d.tar.gz minetest-dbaccff476c7f97316d86878b6363c2e2f9d157d.tar.bz2 minetest-dbaccff476c7f97316d86878b6363c2e2f9d157d.zip |
Remove minetest.digprop_whatever() Lua functions (because they are useless now)
Diffstat (limited to 'share/server')
-rw-r--r-- | share/server/builtin.lua | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/share/server/builtin.lua b/share/server/builtin.lua index 2ec678b70..9f173f589 100644 --- a/share/server/builtin.lua +++ b/share/server/builtin.lua @@ -750,77 +750,6 @@ minetest.register_item(":", { }) -- --- Default material types --- - -function minetest.digprop_constanttime(time) - return { - diggability = "constant", - constant_time = time, - } -end - -function minetest.digprop_stonelike(toughness) - return { - diggablity = "normal", - weight = toughness * 5, - crackiness = 1, - crumbliness = -0.1, - cuttability = -0.2, - } -end - -function minetest.digprop_dirtlike(toughness) - return { - diggablity = "normal", - weight = toughness * 1.2, - crackiness = 0, - crumbliness = 1.2, - cuttability = -0.4, - } -end - -function minetest.digprop_gravellike(toughness) - return { - diggablity = "normal", - weight = toughness * 2, - crackiness = 0.2, - crumbliness = 1.5, - cuttability = -1.0, - } -end - -function minetest.digprop_woodlike(toughness) - return { - diggablity = "normal", - weight = toughness * 1.0, - crackiness = 0.75, - crumbliness = -1.0, - cuttability = 1.5, - } -end - -function minetest.digprop_leaveslike(toughness) - return { - diggablity = "normal", - weight = toughness * (-0.5), - crackiness = 0, - crumbliness = 0, - cuttability = 2.0, - } -end - -function minetest.digprop_glasslike(toughness) - return { - diggablity = "normal", - weight = toughness * 0.1, - crackiness = 2.0, - crumbliness = -1.0, - cuttability = -1.0, - } -end - --- -- Creative inventory -- |