Tune gravel and picks
authorPerttu Ahola <celeron55@gmail.com>
Mon, 14 Nov 2011 20:35:11 +0000 (22:35 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 29 Nov 2011 17:13:42 +0000 (19:13 +0200)
src/content_mapnode.cpp
src/content_tool.cpp

index 507d34065ba82efea3cd088a03bcb25954277d7d..eb7ca6689ef8d4a2dbf3f4a93c79755c12762900 100644 (file)
@@ -59,7 +59,7 @@ void setGravelLikeMaterialProperties(MaterialProperties &mprop, float toughness)
 {
        mprop.diggability = DIGGABLE_NORMAL;
        mprop.weight = toughness * 2.0;
-       mprop.crackiness = 0.5;
+       mprop.crackiness = 0.2;
        mprop.crumbliness = 1.5;
        mprop.cuttability = -1.0;
 }
index d46401e54a1c334ab9b493946124bc031d285345..0cdce8e914681b72a34cccabdf252a479b44a06a 100644 (file)
@@ -24,13 +24,13 @@ void content_tool_init(IWritableToolDefManager *mgr)
 {
        mgr->registerTool("WPick",
                        ToolDefinition("tool_woodpick.png",
-                       ToolDiggingProperties(2.0, 0,-1,2,0, 50, 0,0,0,0)));
+                       ToolDiggingProperties(2.0, 0,-0.5,2,0, 50, 0,0,0,0)));
        mgr->registerTool("STPick",
                        ToolDefinition("tool_stonepick.png",
-                       ToolDiggingProperties(1.5, 0,-1,2,0, 100, 0,0,0,0)));
+                       ToolDiggingProperties(1.5, 0,-0.5,2,0, 100, 0,0,0,0)));
        mgr->registerTool("SteelPick",
                        ToolDefinition("tool_steelpick.png",
-                       ToolDiggingProperties(1.0, 0,-1,2,0, 300, 0,0,0,0)));
+                       ToolDiggingProperties(1.0, 0,-0.5,2,0, 300, 0,0,0,0)));
        mgr->registerTool("MesePick",
                        ToolDefinition("tool_mesepick.png",
                        ToolDiggingProperties(0, 0,0,0,0, 1337, 0,0,0,0)));