1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Tune the tool speed thing

This commit is contained in:
Perttu Ahola 2011-11-13 15:54:08 +02:00
parent f97d4355be
commit 72884bf85f
2 changed files with 8 additions and 8 deletions

View file

@ -46,11 +46,11 @@ ToolProperties getToolProperties(const std::string &toolname)
return ToolProperties(0, 0,0,0,0, 1337, 0,0,0,0);
else if(toolname == "WShovel")
return ToolProperties(1.5, 0.5,2,-1.5,0.3, 50, 0,0,0,0);
return ToolProperties(2.0, 0.5,2,-1.5,0.3, 50, 0,0,0,0);
else if(toolname == "STShovel")
return ToolProperties(1.0, 0.5,2,-1.5,0.1, 100, 0,0,0,0);
return ToolProperties(1.5, 0.5,2,-1.5,0.1, 100, 0,0,0,0);
else if(toolname == "SteelShovel")
return ToolProperties(0.6, 0.5,2,-1.5,0.0, 300, 0,0,0,0);
return ToolProperties(1.0, 0.5,2,-1.5,0.0, 300, 0,0,0,0);
// weight, crackiness, crumbleness, cuttability
else if(toolname == "WAxe")
@ -68,7 +68,7 @@ ToolProperties getToolProperties(const std::string &toolname)
return ToolProperties(2.0, 3,0,1,-1, 300, 0,0,0,0);
// Properties of hand
return ToolProperties(0.5, 1,0.4,-0.75,0, 50, 0,0,0,0);
return ToolProperties(0.5, 1,0,-1,0, 50, 0,0,0,0);
}
DiggingProperties getDiggingProperties(u16 material, const std::string &tool)