1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

initial steps in doing content type extension

This commit is contained in:
Perttu Ahola 2011-07-02 01:07:54 +03:00
parent 7b290660ea
commit 8f742855a1
5 changed files with 153 additions and 146 deletions

View file

@ -151,7 +151,6 @@ void content_mapnode_init()
// Deprecated
i = CONTENT_COALSTONE;
f = &content_features(i);
//f->translate_to = new MapNode(CONTENT_STONE, MINERAL_COAL);
f->setAllTextures("stone.png^mineral_coal.png");
f->is_ground_content = true;
setStoneLikeDiggingProperties(f->digging_properties, 1.5);