summaryrefslogtreecommitdiff
path: root/src/content_mapnode.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-13 15:54:08 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:41 +0200
commit72884bf85fe71ddab69cdb94262d8c650359f265 (patch)
treeee076c095048ac477a1d7d6c0e2187707a88ac55 /src/content_mapnode.cpp
parentf97d4355beb79370d3bc69ea6baabb33ed90a8cd (diff)
downloadminetest-72884bf85fe71ddab69cdb94262d8c650359f265.tar.gz
minetest-72884bf85fe71ddab69cdb94262d8c650359f265.tar.bz2
minetest-72884bf85fe71ddab69cdb94262d8c650359f265.zip
Tune the tool speed thing
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r--src/content_mapnode.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp
index fb649afbd..3bc0232e6 100644
--- a/src/content_mapnode.cpp
+++ b/src/content_mapnode.cpp
@@ -49,7 +49,7 @@ void setStoneLikeMaterialProperties(MaterialProperties &mprop, float toughness)
void setDirtLikeMaterialProperties(MaterialProperties &mprop, float toughness)
{
mprop.diggability = DIGGABLE_NORMAL;
- mprop.weight = toughness * 2.0;
+ mprop.weight = toughness * 1.2;
mprop.crackiness = 0;
mprop.crumbliness = 1.2;
mprop.cuttability = -0.4;
@@ -68,9 +68,9 @@ void setWoodLikeMaterialProperties(MaterialProperties &mprop, float toughness)
{
mprop.diggability = DIGGABLE_NORMAL;
mprop.weight = toughness * 1.0;
- mprop.crackiness = 2.0;
+ mprop.crackiness = 0.75;
mprop.crumbliness = -1.0;
- mprop.cuttability = 2.0;
+ mprop.cuttability = 1.5;
}
void setLeavesLikeMaterialProperties(MaterialProperties &mprop, float toughness)
@@ -85,7 +85,7 @@ void setLeavesLikeMaterialProperties(MaterialProperties &mprop, float toughness)
void setGlassLikeMaterialProperties(MaterialProperties &mprop, float toughness)
{
mprop.diggability = DIGGABLE_NORMAL;
- mprop.weight = 0.5 * toughness;
+ mprop.weight = 0.1 * toughness;
mprop.crackiness = 2.0;
mprop.crumbliness = -1.0;
mprop.cuttability = -1.0;