couple of crafting tweaks

This commit is contained in:
darkrose 2014-02-27 07:38:51 +10:00
parent 2c3467a5c7
commit 3ac6667b41
2 changed files with 5 additions and 4 deletions

View File

@ -2557,21 +2557,21 @@ void content_mapnode_init()
CONTENT_CRAFTITEM_PINE_PLANK, CONTENT_CRAFTITEM_STICK, CONTENT_CRAFTITEM_PINE_PLANK,
CONTENT_CRAFTITEM_PINE_PLANK, CONTENT_CRAFTITEM_STICK, CONTENT_CRAFTITEM_PINE_PLANK
};
crafting::setRecipe(r,CONTENT_LADDER,2);
crafting::setRecipe(r,CONTENT_LADDER,4);
r[0] = CONTENT_CRAFTITEM_WOOD_PLANK;
r[2] = CONTENT_CRAFTITEM_WOOD_PLANK;
r[3] = CONTENT_CRAFTITEM_WOOD_PLANK;
r[5] = CONTENT_CRAFTITEM_WOOD_PLANK;
r[6] = CONTENT_CRAFTITEM_WOOD_PLANK;
r[8] = CONTENT_CRAFTITEM_WOOD_PLANK;
crafting::setRecipe(r,CONTENT_LADDER,2);
crafting::setRecipe(r,CONTENT_LADDER,4);
r[0] = CONTENT_CRAFTITEM_JUNGLE_PLANK;
r[2] = CONTENT_CRAFTITEM_JUNGLE_PLANK;
r[3] = CONTENT_CRAFTITEM_JUNGLE_PLANK;
r[5] = CONTENT_CRAFTITEM_JUNGLE_PLANK;
r[6] = CONTENT_CRAFTITEM_JUNGLE_PLANK;
r[8] = CONTENT_CRAFTITEM_JUNGLE_PLANK;
crafting::setRecipe(r,CONTENT_LADDER,2);
crafting::setRecipe(r,CONTENT_LADDER,4);
}
i = CONTENT_BORDERSTONE;

View File

@ -273,7 +273,8 @@ void content_toolitem_init()
f->type = TT_BUCKET;
f->hardness = 30.;
f->dig_time = 0.0;
crafting::setURecipe(CONTENT_CRAFTITEM_STICK,CONTENT_TOOLITEM_WBUCKET);
crafting::setURecipe(CONTENT_CRAFTITEM_JUNGLE_PLANK,CONTENT_TOOLITEM_WBUCKET);
crafting::setURecipe(CONTENT_CRAFTITEM_WOOD_PLANK,CONTENT_TOOLITEM_WBUCKET);
i = CONTENT_TOOLITEM_TINBUCKET;
f = &g_content_toolitem_features[i];