+ brick
This commit is contained in:
parent
8d580ddf29
commit
d7b768dc4b
Binary file not shown.
After Width: | Height: | Size: 604 B |
|
@ -189,6 +189,14 @@ void init_mapnode()
|
||||||
f->is_ground_content = true;
|
f->is_ground_content = true;
|
||||||
f->dug_item = std::string("MaterialItem ")+itos(CONTENT_SAND)+" 1";
|
f->dug_item = std::string("MaterialItem ")+itos(CONTENT_SAND)+" 1";
|
||||||
|
|
||||||
|
i = CONTENT_BRICK;
|
||||||
|
f = &g_content_features[i];
|
||||||
|
f->setAllTextures("brick.png");
|
||||||
|
f->setInventoryTextureCube("brick.png", "brick.png", "brick.png");
|
||||||
|
f->param_type = CPT_MINERAL;
|
||||||
|
f->is_ground_content = true;
|
||||||
|
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
|
||||||
|
|
||||||
i = CONTENT_TREE;
|
i = CONTENT_TREE;
|
||||||
f = &g_content_features[i];
|
f = &g_content_features[i];
|
||||||
f->setAllTextures("tree.png");
|
f->setAllTextures("tree.png");
|
||||||
|
|
|
@ -103,6 +103,7 @@ void init_content_inventory_texture_paths();
|
||||||
#define CONTENT_FENCE 21
|
#define CONTENT_FENCE 21
|
||||||
#define CONTENT_SANDSTONE 22
|
#define CONTENT_SANDSTONE 22
|
||||||
#define CONTENT_CACTUS 23
|
#define CONTENT_CACTUS 23
|
||||||
|
#define CONTENT_BRICK 24
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Content feature list
|
Content feature list
|
||||||
|
|
|
@ -60,6 +60,7 @@ void initializeMaterialProperties()
|
||||||
|
|
||||||
setStoneLikeDiggingProperties(CONTENT_STONE, 1.0);
|
setStoneLikeDiggingProperties(CONTENT_STONE, 1.0);
|
||||||
setStoneLikeDiggingProperties(CONTENT_SANDSTONE, 1.0);
|
setStoneLikeDiggingProperties(CONTENT_SANDSTONE, 1.0);
|
||||||
|
setStoneLikeDiggingProperties(CONTENT_BRICK, 3.0);
|
||||||
setStoneLikeDiggingProperties(CONTENT_MESE, 0.5);
|
setStoneLikeDiggingProperties(CONTENT_MESE, 0.5);
|
||||||
setStoneLikeDiggingProperties(CONTENT_COALSTONE, 1.5);
|
setStoneLikeDiggingProperties(CONTENT_COALSTONE, 1.5);
|
||||||
setStoneLikeDiggingProperties(CONTENT_FURNACE, 3.0);
|
setStoneLikeDiggingProperties(CONTENT_FURNACE, 3.0);
|
||||||
|
|
|
@ -4076,6 +4076,7 @@ void setCreativeInventory(Player *player)
|
||||||
CONTENT_STONE,
|
CONTENT_STONE,
|
||||||
CONTENT_SAND,
|
CONTENT_SAND,
|
||||||
CONTENT_SANDSTONE,
|
CONTENT_SANDSTONE,
|
||||||
|
CONTENT_BRICK,
|
||||||
CONTENT_TREE,
|
CONTENT_TREE,
|
||||||
CONTENT_LEAVES,
|
CONTENT_LEAVES,
|
||||||
CONTENT_CACTUS,
|
CONTENT_CACTUS,
|
||||||
|
|
|
@ -507,6 +507,7 @@ void TextureSource::buildMainAtlas()
|
||||||
sourcelist.push_back("mud.png");
|
sourcelist.push_back("mud.png");
|
||||||
sourcelist.push_back("sand.png");
|
sourcelist.push_back("sand.png");
|
||||||
sourcelist.push_back("sandstone.png");
|
sourcelist.push_back("sandstone.png");
|
||||||
|
sourcelist.push_back("brick.png");
|
||||||
sourcelist.push_back("grass.png");
|
sourcelist.push_back("grass.png");
|
||||||
sourcelist.push_back("grass_footsteps.png");
|
sourcelist.push_back("grass_footsteps.png");
|
||||||
sourcelist.push_back("tree.png");
|
sourcelist.push_back("tree.png");
|
||||||
|
|
Loading…
Reference in New Issue