diff --git a/README.md b/README.md index 7789de17..5c3c5240 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m * [trampoline][] ([GPL][lic.gpl3.0]) -- version: [0c9c9c8 Git][ver.trampoline] * [trash_can][] ([MIT][lic.trash_can]) -- version: [5fd3df7 Git][ver.trash_can] *2016-01-14* ([patched][patch.trash_can]) * inventory/ - * [bags][] ([BSD 3-Clause][lic.bags]) + * [bags][] ([BSD 3-Clause][lic.bags]) -- version: [f17d829 Git][ver.bags] *2015-10-11* ([patched][patch.bags]) * [inventory_plus][] ([BSD 3-Clause][lic.inventory_plus]) * lighting/ * [ilights][] ([CC BY-SA][lic.ccbysa]) -- version [b1f7ccf Git][ver.ilights] *2017-03-18* @@ -394,6 +394,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [ver.areas]: https://github.com/ShadowNinja/areas/tree/6080ff0 [ver.awards]: https://github.com/minetest-mods/awards/tree/096fe16 [ver.away]: https://github.com/kahrl/minetest-mod-away/tree/4c1e5a9 +[ver.bags]: https://github.com/cornernote/minetest-bags/tree/f17d829 [ver.bedrock2]: http://repo.or.cz/minetest_bedrock2.git/tree/0378b61 [ver.biome_lib]: https://github.com/minetest-mods/biome_lib/tree/9cdcdcf [ver.bridges]: https://github.com/Sokomine/bridges/tree/5b5f475 @@ -450,6 +451,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [ver.windmill]: https://github.com/Sokomine/windmill/tree/47b029d [patch.adv_spawning]: https://github.com/AntumDeluge/mtmod-adv_spawning/tree/572688b +[patch.bags]: https://github.com/AntumDeluge/mtmod-bags/tree/4363284 [patch.campfire]: https://github.com/AntumDeluge/mtmod-campfire/tree/67b9dd7 [patch.christmas]: https://github.com/AntumDeluge/mtmod-christmas/tree/f6c8dc2 [patch.coloredwood]: https://github.com/AntumDeluge/mtmod-coloredwood/tree/ed6c46f diff --git a/mods/inventory/bags/README.md b/mods/inventory/bags/README.md index 6854e545..8561704e 100644 --- a/mods/inventory/bags/README.md +++ b/mods/inventory/bags/README.md @@ -1,7 +1,14 @@ # Bags for Minetest -Allows players to craft and attach bags to their inventory to increase player item storage capacity. +[![home](https://img.shields.io/badge/bags-home-blue.svg?style=flat-square)](https://cornernote.github.io/minetest-bags/) +[![download](https://img.shields.io/github/tag/cornernote/minetest-bags.svg?style=flat-square&label=release)](https://github.com/cornernote/minetest-bags/archive/master.zip) +[![git](https://img.shields.io/badge/git-project-green.svg?style=flat-square)](https://github.com/cornernote/minetest-bags) +[![forum](https://img.shields.io/badge/minetest-mod-green.svg?style=flat-square)](http://forum.minetest.net/viewtopic.php?f=11&t=3081) +[![bower](https://img.shields.io/badge/bower-mod-green.svg?style=flat-square)](https://minetest-bower.herokuapp.com/mods/bags) +## Description + +Allows players to craft and attach bags to their inventory to increase player item storage capacity. ## Features @@ -10,11 +17,13 @@ Allows players to craft and attach bags to their inventory to increase player it - Bags store items permanently with the player. -## Resources +## Project Resources -- **[Documentation](http://cornernote.github.io/minetest-bags)** -- **[GitHub Project](https://github.com/cornernote/minetest-bags)** -- **[Minetest Forum](https://forum.minetest.net/viewtopic.php?id=3081)** +* [Home](https://cornernote.github.io/minetest-bags/) +* [Download](https://github.com/cornernote/minetest-bags/archive/master.zip) +* [Project](https://github.com/cornernote/minetest-bags) +* [Forum](http://forum.minetest.net/viewtopic.php?f=11&t=3081) +* [Bower](https://minetest-bower.herokuapp.com/mods/bags) ## Support diff --git a/mods/inventory/bags/depends.txt b/mods/inventory/bags/depends.txt index 3ff8199d..5f75069b 100644 --- a/mods/inventory/bags/depends.txt +++ b/mods/inventory/bags/depends.txt @@ -1,3 +1,3 @@ default inventory_plus -craft_guide? \ No newline at end of file +craft_guide? diff --git a/mods/inventory/bags/init.lua b/mods/inventory/bags/init.lua index 415a7f89..d9b61412 100644 --- a/mods/inventory/bags/init.lua +++ b/mods/inventory/bags/init.lua @@ -33,6 +33,8 @@ local get_formspec = function(player,page) .."button[2,0;2,0.5;bags;Bags]" .."image[7,0;1,1;"..image.."]" .."list[current_player;bag"..i.."contents;0,1;8,3;]" + .."listring[current_name;bag"..i.."contents]" + .."listring[current_player;main]" end end end