From 157a4cf18cb9c098f465b8baecd7d2cd5705f2dd Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sat, 21 Jan 2012 00:11:44 +0100 Subject: Node placement / mineral / serialization / iron freq / node_dig callback - Node placement code moved to Lua - Mineral system removed (added default:stone_with_coal and default:stone_with_iron). - MapBlock and MapNode serialization updated. - Mapgen: Frequency of iron increased. - node_dig callback and related changes. --- src/test.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/test.cpp') diff --git a/src/test.cpp b/src/test.cpp index caf31d1af..2d5c86e64 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -76,9 +76,7 @@ void define_some_nodes(IWritableItemDefManager *idef, IWritableNodeDefManager *n f.name = itemdef.name; for(int i = 0; i < 6; i++) f.tname_tiles[i] = "default_stone.png"; - f.param_type = CPT_MINERAL; f.is_ground_content = true; - f.dug_item = itemdef.name; f.material.diggability = DIGGABLE_NORMAL; f.material.weight = 5.0; f.material.crackiness = 1.0; @@ -106,7 +104,6 @@ void define_some_nodes(IWritableItemDefManager *idef, IWritableNodeDefManager *n for(int i = 2; i < 6; i++) f.tname_tiles[i] = "default_dirt.png^default_grass_side.png"; f.is_ground_content = true; - f.dug_item = itemdef.name; f.material.diggability = DIGGABLE_NORMAL; f.material.weight = 1.2; f.material.crackiness = 0.0; -- cgit v1.2.3