mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01:00
Tune gravel and picks
This commit is contained in:
parent
1afed48a2c
commit
de51f87e05
@ -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)));
|
||||||
|
Loading…
Reference in New Issue
Block a user