From b68c757f2c2b01c2b94233422b71e435cb3d4f17 Mon Sep 17 00:00:00 2001 From: Rubenwardy Date: Mon, 20 Aug 2012 21:02:55 +0200 Subject: [PATCH] Added even more (i am rubbish at Commit summaries) --- mtmoddeven.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mtmoddeven.txt b/mtmoddeven.txt index f703b66..ce25c61 100644 --- a/mtmoddeven.txt +++ b/mtmoddeven.txt @@ -167,7 +167,8 @@ material: This sets the time it takes to destroy the block. In this case (minete You could also use minetest.digprop_woodlike(1.5) which makes destruction with axes faster. ----Crafting--- +Chapter 3 - Crafting +==================== Crafting does not only play an important role in minecraft, minetest also uses different crafting recipes. Therefore it is important to know what crafting means and how to code it! @@ -272,10 +273,10 @@ In this case the name is enough to define what block you can see. So let's assume we want to create a mod that makes junglegrass grow above every dirt-with-grass block. This should be a slow process, one dirt-with-grass block after the other should be grown over. This is what we do: -minetest.regis---------------------------------------------------- +---------------------------------------------------- | Code | ---------------------------------------------------- -ter_abm( +minetest.register_abm( {nodenames = {"default:dirt_with_grass"}, interval = 1, chance = 100,