mirror of https://github.com/minetest/minetest.git
JackO with light
This commit is contained in:
parent
d2b724d584
commit
067a43f233
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue