Regnum/mods/bags
Der1248 e6629bce76 Regnum 3.2.7 upload 2018-06-27 18:07:46 +02:00
..
bags Regnum 3.2.7 upload 2018-06-27 18:07:46 +02:00
README.txt Regnum 3.2.7 upload 2018-06-27 18:07:46 +02:00
license.txt Regnum 3.2.7 upload 2018-06-27 18:07:46 +02:00
modpack.txt Regnum 3.2.7 upload 2018-06-27 18:07:46 +02:00

README.txt

----------------------------------
Bags for Minetest
----------------------------------


Copyright (c) 2012 cornernote, Brett O'Donnell <cornernote@gmail.com>
Textures: Copyright (c) 2012 tonyka

Source Code: https://github.com/cornernote/minetest-bags
Home Page: https://sites.google.com/site/cornernote/minetest/bags

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


----------------------------------
Description
----------------------------------

Allows players to craft and attach bags to their inventory to increase player item storage capacity.


----------------------------------
Crafts
----------------------------------

8-slot bag:
-S-  <- bag:small
WWW     S = default:stick
WWW     W = default:wood

16-slot bag:
-S-  <- bag:medium
BBB     S = default:stick
BBB     B = bags:small

24-slot bag:
-S-  <- bag:large
BBB     S = default:stick
BBB     B = bags:medium

32-slot bag:
-S-  <- bag:trolley
BBB     S = default:stick
BBB     B = bags:large

----------------------------------
Modders Guide
----------------------------------

To turn your craftitem into a bag simply add bagslots=X to the groups in the node definition.

EG:
minetest.register_node("your_mod:your_item", {
	description = "Your Item",
	groups = {bagslots=16},
})