From 99c2ac0125f9bbae0a4b06e6e7145f76f4dfbbf4 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Tue, 24 May 2011 23:18:41 +0100 Subject: A very poor (but better than nothing) inventory icon for fences --- data/item_fence.png | Bin 0 -> 1264 bytes src/mapnode.cpp | 1 + 2 files changed, 1 insertion(+) create mode 100644 data/item_fence.png diff --git a/data/item_fence.png b/data/item_fence.png new file mode 100644 index 000000000..76a461878 Binary files /dev/null and b/data/item_fence.png differ diff --git a/src/mapnode.cpp b/src/mapnode.cpp index ca36697ef..9a8a09a15 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -224,6 +224,7 @@ void init_mapnode() f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; f->solidness = 0; // drawn separately, makes no faces f->air_equivalent = true; // grass grows underneath + f->setInventoryTexture("item_fence.png"); // Deprecated i = CONTENT_COALSTONE; -- cgit v1.2.3