diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index b95846b..274f2c2 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -1076,6 +1076,8 @@ void content_mapnode_init() f->draw_type = CDT_CUBELIKE; f->is_ground_content = true; f->dug_item = std::string("MaterialItem2 ")+itos(CONTENT_MUD)+" 1"; + f->extra_dug_item = std::string("MaterialItem2 ")+itos(CONTENT_WILDGRASS_SHORT)+" 1"; + f->extra_dug_item_rarity = 10; setDirtLikeDiggingProperties(f->digging_properties, 1.0); i = CONTENT_GRASS_FOOTSTEPS; @@ -1098,6 +1100,8 @@ void content_mapnode_init() f->draw_type = CDT_CUBELIKE; f->is_ground_content = true; f->dug_item = std::string("MaterialItem2 ")+itos(CONTENT_MUD)+" 1"; + f->extra_dug_item = std::string("CraftItem snow_ball 1"); + f->extra_dug_item_rarity = 5; setDirtLikeDiggingProperties(f->digging_properties, 1.0); i = CONTENT_FARM_DIRT; diff --git a/src/environment.cpp b/src/environment.cpp index 807c010..ca397f2 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -2209,6 +2209,7 @@ void ServerEnvironment::step(float dtime) if (testnode.getContent() == CONTENT_WATERSOURCE) { n_top1.setContent(CONTENT_JUNGLEGRASS); m_map->addNodeWithEvent(p+v3s16(0,1,0), n_top1); + found = true; break; } }