Modernize. Bags: use strings

This commit is contained in:
SmallJoker 2020-03-21 18:57:53 +01:00
parent 26e0e41593
commit c0bd9977be
2 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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