JackO with light

This commit is contained in:
Laurent Vivier 2011-09-25 13:27:20 +02:00
parent d2b724d584
commit 067a43f233
1 changed files with 6 additions and 1 deletions

View File

@ -174,12 +174,17 @@ void content_mapnode_init()
f->setAllTextures("JackO-side.png");
f->setTexture(2,"JackO-front.png");
f->setInventoryTexture("JackO-front.png");
f->param_type = CPT_LIGHT;
f->light_propagates = true;
f->sunlight_propagates = true;
f->light_source = LIGHT_MAX-1;
f->param_type = CPT_MINERAL;
f->is_ground_content = true;
f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
setDirtLikeDiggingProperties(f->digging_properties, 1.00);
i = CONTENT_SANDSTONE;
f = &content_features(i);
f->setAllTextures("sandstone.png");