mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-29 04:00:24 +01:00
Modernize. Bags: use strings
This commit is contained in:
parent
26e0e41593
commit
c0bd9977be
@ -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
|
||||
|
10
bags.lua
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user