sand should randomly drop saltpeter, rarely

This commit is contained in:
darkrose 2015-08-14 23:34:29 +10:00
parent fe3dec01c4
commit 47ca756eba
1 changed files with 4 additions and 0 deletions

View File

@ -491,11 +491,14 @@ void content_mapnode_init(bool repeat)
f->is_ground_content = true; f->is_ground_content = true;
f->pressure_type = CST_DROPABLE; f->pressure_type = CST_DROPABLE;
f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1"; f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
f->extra_dug_item = std::string("CraftItem2 ")+itos(CONTENT_CRAFTITEM_SALTPETER)+" 1";
f->extra_dug_item_rarity = 30;
f->cook_result = std::string("MaterialItem2 ")+itos(CONTENT_GLASS)+" 1"; f->cook_result = std::string("MaterialItem2 ")+itos(CONTENT_GLASS)+" 1";
f->type = CMT_DIRT; f->type = CMT_DIRT;
f->hardness = 1.0; f->hardness = 1.0;
lists::add("creative",i); lists::add("creative",i);
lists::add("cooking",i); lists::add("cooking",i);
lists::add("decrafting",i);
i = CONTENT_GRAVEL; i = CONTENT_GRAVEL;
f = &content_features(i); f = &content_features(i);
@ -511,6 +514,7 @@ void content_mapnode_init(bool repeat)
f->type = CMT_DIRT; f->type = CMT_DIRT;
f->hardness = 1.75; f->hardness = 1.75;
lists::add("creative",i); lists::add("creative",i);
lists::add("decrafting",i);
i = CONTENT_SANDSTONE; i = CONTENT_SANDSTONE;
f = &content_features(i); f = &content_features(i);