From b848b0c28619a1691c4e0e3bef3280734d37ed12 Mon Sep 17 00:00:00 2001 From: kilbith Date: Sun, 21 Sep 2014 11:18:35 +0200 Subject: [PATCH] Add calendar Add calendar : https://cdn.mediacru.sh/ncpwQE94MO7N.png Texture : http://mamadou3.free.fr/homedecor_calendar.png --- homedecor/misc-nodes.lua | 18 ++++++++++++++++++ homedecor/textures/homedecor_calendar.png | Bin 0 -> 378 bytes 2 files changed, 18 insertions(+) create mode 100644 homedecor/textures/homedecor_calendar.png diff --git a/homedecor/misc-nodes.lua b/homedecor/misc-nodes.lua index 8a5bd7fc..4efea1d5 100644 --- a/homedecor/misc-nodes.lua +++ b/homedecor/misc-nodes.lua @@ -1940,3 +1940,21 @@ minetest.register_node("homedecor:book_open_"..color, { }) end + +minetest.register_node("homedecor:calendar", { + description = "Calendar", + drawtype = "signlike", + tiles = {"homedecor_calendar.png"}, + inventory_image = "homedecor_calendar.png", + wield_image = "homedecor_calendar.png", + paramtype = "light", + paramtype2 = "wallmounted", + sunlight_propagates = true, + walkable = false, + selection_box = { + type = "wallmounted", + }, + groups = {choppy=2,dig_immediate=2,attached_node=1}, + legacy_wallmounted = true, + sounds = default.node_sound_defaults(), +}) diff --git a/homedecor/textures/homedecor_calendar.png b/homedecor/textures/homedecor_calendar.png new file mode 100644 index 0000000000000000000000000000000000000000..d35a870df887f911cfb6f1e75404b0d949ce1b0c GIT binary patch literal 378 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7lz9qxSV<0N1zC2fk$L9 z0|U1(2s1Lwnj--eWH0gbb!ETDDay&K^iV^Lm4Shg-P6S}B;xSfP(z_61A#lm8XKfM&)THez( zO}}_EjO4#+r9F!~()_Py*31op8#k(EE0=ICdp_yMru;rLr728Hrrf%BWsBYc=@rUp V4(D^qRDhwx;OXk;vd$@?2>@GOluG~r literal 0 HcmV?d00001