bookshelves should not disappear when dug

This commit is contained in:
darkrose 2015-08-10 06:08:25 +10:00
parent 8705b478a0
commit f0591ad30f
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ void content_mapnode_furniture(bool repeat)
f->draw_type = CDT_NODEBOX_META; f->draw_type = CDT_NODEBOX_META;
f->param_type = CPT_FACEDIR_SIMPLE; f->param_type = CPT_FACEDIR_SIMPLE;
f->is_ground_content = true; f->is_ground_content = true;
f->dug_item = std::string("MaterialItem2 ")+itos(CONTENT_BOOKSHELF)+" 1";
f->flammable = 1; // can be replaced by fire if the node under it is set on fire f->flammable = 1; // can be replaced by fire if the node under it is set on fire
f->fuel_time = 30/4; f->fuel_time = 30/4;
f->type = CMT_WOOD; f->type = CMT_WOOD;