From 59a169f3c5eeb50e25901c1fbdcfcb01f3094aed Mon Sep 17 00:00:00 2001 From: prestidigitator Date: Thu, 7 Mar 2013 16:14:32 -0800 Subject: [PATCH] Added craft recipe and fixed dependencies --- README.txt | 8 ++++---- depends.txt | 0 init.lua | 11 +++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 depends.txt diff --git a/README.txt b/README.txt index 2ab14ff..478bd46 100644 --- a/README.txt +++ b/README.txt @@ -1,7 +1,7 @@ Prestibags Minetest Mod ======================= -Pretibags are simple bags that act like chests you can pick up. They do not +Prestibags are simple bags that act like chests you can pick up. They do not modify the player's normal inventory formspec, so they will not interfere with any mods that do. Here are some of their features: @@ -20,9 +20,9 @@ damage. Required Minetest Version: >=0.4.5 -Dependencies: default +Dependencies: (none) -Soft Dependencies: wool (for crafting), fire +Soft Dependencies: default, wool (for crafting), fire Craft Recipies (W = "group:wool"): — W — @@ -36,7 +36,7 @@ Change History Version 1.0 -* Released 2013-03-07 +* Released 2013-03-07. * First working version. diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..e69de29 diff --git a/init.lua b/init.lua index 2a52ce4..9225ba9 100644 --- a/init.lua +++ b/init.lua @@ -412,3 +412,14 @@ minetest.register_tool( -- detached proxy that doesn't allow the bag's stack to be changed -- while open! }) + +minetest.register_craft( + { + output = "prestibags:bag", + recipe = + { + { "", "group:wool", "" }, + { "group:wool", "", "group:wool" }, + { "group:wool", "group:wool", "group:wool" }, + } + })