summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE.txt14
-rw-r--r--init.lua2
-rw-r--r--textures/drawers_wood.pngbin0 -> 190 bytes
-rw-r--r--textures/drawers_wood_front.pngbin0 -> 229 bytes
4 files changed, 14 insertions, 2 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
index e213e6d..33051b5 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -2,8 +2,8 @@ Minetest Mod Storage Drawers
============================
Version 0.1-dev
-License of source code and media (everything):
-----------------------------------------------
+License of source code:
+-----------------------
Copyright (C) 2017 LNJ <git@lnj.li>
Copyright (C) 2016 Mango Tango <mtango688@gmail.com>
@@ -26,3 +26,13 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+
+
+License of media:
+-----------------
+Copyright (C) 2014 Justin Aquadro (MIT):
+ textures/drawers_wood.png
+ textures/drawers_wood_front.png
+
+Everything not listed in here:
+Copyright (C) 2017 LNJ <git@lnj.li> (CC0 1.0)
diff --git a/init.lua b/init.lua
index 21700e6..4f248c0 100644
--- a/init.lua
+++ b/init.lua
@@ -416,6 +416,8 @@ end
drawers.register_drawer("drawers:wood", {
description = "Wooden Drawer",
+ tiles = {"drawers_wood.png", "drawers_wood.png", "drawers_wood.png",
+ "drawers_wood.png", "drawers_wood.png", "drawers_wood_front.png"},
groups = {choppy = 3, oddly_breakable_by_hand = 2},
sounds = WOOD_SOUNDS,
drawer_stack_max_factor = 3 * 8, -- normal chest size
diff --git a/textures/drawers_wood.png b/textures/drawers_wood.png
new file mode 100644
index 0000000..350fe01
--- /dev/null
+++ b/textures/drawers_wood.png
Binary files differ
diff --git a/textures/drawers_wood_front.png b/textures/drawers_wood_front.png
new file mode 100644
index 0000000..d4f2277
--- /dev/null
+++ b/textures/drawers_wood_front.png
Binary files differ