forked from cornernote/minetest-bags
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
61 lines (42 loc) · 1.84 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
----------------------------------
Bags for Minetest
----------------------------------
Copyright (c) 2012 cornernote, Brett O'Donnell <[email protected]>
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},
})