From c0bd9977be5f7108ef2869582aa78fdcfb19db1f Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 21 Mar 2020 18:57:53 +0100 Subject: [PATCH] Modernize. Bags: use strings --- README.md | 6 ++++-- bags.lua | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 15802c6..be95e09 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Unified Inventory +![Screenshot](screenshot.png) + Unified Inventory replaces the default survival and creative inventory. @@ -13,14 +15,14 @@ Unified Inventory replaces the default survival and creative inventory. * Home function to teleport * Trash slot * Lite mode: reduces the item browser width + * `minetest.conf` setting `unified_inventory_lite = true` * Mod API for modders: see [mod_api.txt](doc/mod_api.txt) * Setting-determinated features: see [settingtypes.txt](settingtypes.txt) ## Requirements - * Minetest 5.0.0+ since commit 4403b69 - * Minetest 0.4.16+ prior commit 4403b69 + * Minetest 5.0.0+ # Licenses diff --git a/bags.lua b/bags.lua index 1ebbdd3..a365139 100644 --- a/bags.lua +++ b/bags.lua @@ -250,7 +250,7 @@ if minetest.get_modpath("farming") ~= nil then minetest.register_craft({ output = "unified_inventory:bag_small", recipe = { - {"", "farming:cotton", ""}, + {"", "farming:string", ""}, {"group:wool", "group:wool", "group:wool"}, {"group:wool", "group:wool", "group:wool"}, }, @@ -260,8 +260,8 @@ if minetest.get_modpath("farming") ~= nil then output = "unified_inventory:bag_medium", recipe = { {"", "", ""}, - {"farming:cotton", "unified_inventory:bag_small", "farming:cotton"}, - {"farming:cotton", "unified_inventory:bag_small", "farming:cotton"}, + {"farming:string", "unified_inventory:bag_small", "farming:string"}, + {"farming:string", "unified_inventory:bag_small", "farming:string"}, }, }) @@ -269,8 +269,8 @@ if minetest.get_modpath("farming") ~= nil then output = "unified_inventory:bag_large", recipe = { {"", "", ""}, - {"farming:cotton", "unified_inventory:bag_medium", "farming:cotton"}, - {"farming:cotton", "unified_inventory:bag_medium", "farming:cotton"}, + {"farming:string", "unified_inventory:bag_medium", "farming:string"}, + {"farming:string", "unified_inventory:bag_medium", "farming:string"}, }, }) end