Tune gravel and picks

This commit is contained in:
Perttu Ahola 2011-11-14 22:35:11 +02:00
parent 1afed48a2c
commit de51f87e05
2 changed files with 4 additions and 4 deletions

@ -59,7 +59,7 @@ void setGravelLikeMaterialProperties(MaterialProperties &mprop, float toughness)
{ {
mprop.diggability = DIGGABLE_NORMAL; mprop.diggability = DIGGABLE_NORMAL;
mprop.weight = toughness * 2.0; mprop.weight = toughness * 2.0;
mprop.crackiness = 0.5; mprop.crackiness = 0.2;
mprop.crumbliness = 1.5; mprop.crumbliness = 1.5;
mprop.cuttability = -1.0; mprop.cuttability = -1.0;
} }

@ -24,13 +24,13 @@ void content_tool_init(IWritableToolDefManager *mgr)
{ {
mgr->registerTool("WPick", mgr->registerTool("WPick",
ToolDefinition("tool_woodpick.png", 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", mgr->registerTool("STPick",
ToolDefinition("tool_stonepick.png", 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", mgr->registerTool("SteelPick",
ToolDefinition("tool_steelpick.png", 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", mgr->registerTool("MesePick",
ToolDefinition("tool_mesepick.png", ToolDefinition("tool_mesepick.png",
ToolDiggingProperties(0, 0,0,0,0, 1337, 0,0,0,0))); ToolDiggingProperties(0, 0,0,0,0, 1337, 0,0,0,0)));