From 3fe377be4e860f4ec9664688489e4e22090fc29d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 25 Dec 2010 02:33:41 +0200 Subject: builds on both platforms --- src/materials.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/materials.cpp') diff --git a/src/materials.cpp b/src/materials.cpp index 5c1419580..dc080ba23 100644 --- a/src/materials.cpp +++ b/src/materials.cpp @@ -11,10 +11,14 @@ void setStoneLikeDiggingProperties(u8 material, float toughness) { g_material_properties[material].setDiggingProperties("", DiggingProperties(true, 15.0*toughness, 0)); + g_material_properties[material].setDiggingProperties("WPick", DiggingProperties(true, 2.0*toughness, 65535./20.*toughness)); g_material_properties[material].setDiggingProperties("STPick", DiggingProperties(true, 1.0*toughness, 65535./50.*toughness)); + + /*g_material_properties[material].setDiggingProperties("MesePick", + DiggingProperties(true, 0.0*toughness, 65535./20.*toughness));*/ } void initializeMaterialProperties() @@ -52,7 +56,15 @@ void initializeMaterialProperties() g_material_properties[CONTENT_WOOD].setDiggingProperties("", DiggingProperties(true, 1.0, 0)); - + + /* + Add MesePick to everything + */ + for(u16 i=0; i