[Mod] Bags [bags] Attach bags to your inventory to increase storarage.

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Sep 22, 2012 21:34

Two reasons:

1. Anything, including a game server or its mods, that is being run with more than normal user-level privileges is a potential attack vector. If you run something that faces the public Internet, even if the service is considered "private", all data associated with the service, including plug-ins/add-ons should be owned by a normal user who doesn't have the ability to become the administrator, and it should run as that user if possible (with Minetest and Linux, this is of course quite trivial).

2. There are a few mods out there that need to write to or create files in their respective directories on occasion, and that can't happen if they're stored in a directory that's owned by the administrator.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

by Dragonop » Tue Oct 30, 2012 21:27

I think the crafting whill be beter like this

Crafts


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


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


24-slot bag:
-S- <- bag:large
-B- S = default:stick
- - - B = bags:medium
It's "Drag" for the friends.

Sorry I haven't been online as much lately, I'm real busy.
https://forum.minetest.net/download/file.php?id=4472
 

User avatar
GloopMaster
Member
 
Posts: 213
Joined: Wed Aug 01, 2012 18:03

by GloopMaster » Tue Oct 30, 2012 23:10

I think it's better like this:

Small:

S
W

Medium:

S
I
W

Large:
- S -
WIW
WWW

S = Stick
I = Steel Ingot
W = White Wool
Meow.

That is all.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Wed Oct 31, 2012 00:29

I want bigger bags to cost a LOT more. Having to craft 1 big bag takes time and resources. Then you can feel good that you have a big bag while people who play less don't make one.
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Wed Oct 31, 2012 15:15

cornernote wrote:I want bigger bags to cost a LOT more. Having to craft 1 big bag takes time and resources. Then you can feel good that you have a big bag while people who play less don't make one.


I agree it shall cost more. But not in manner creatin all the time same items. Its annoyin just.
Use somethin more valuable and rarer than just wood.
 

bluerocket01
Member
 
Posts: 19
Joined: Tue Sep 04, 2012 21:55

by bluerocket01 » Tue Nov 06, 2012 00:28

how do u get the defluat texture pack?
 

User avatar
YoYoBuddy
Member
 
Posts: 247
Joined: Sun Jan 27, 2013 00:49

by YoYoBuddy » Sun Feb 03, 2013 21:10

um i cant craft a damned bag
“People are more difficult to work with than machines. And when you break a
person, he can't be fixed."

-Rick Riordan
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Sun Feb 03, 2013 22:50

YoYoBuddy wrote:um i cant craft a damned bag


Maybe this is still valid (post 3):

Edit: http://forum.minetest.net/viewtopic.php?pid=42912#p42912
Last edited by Topywo on Sun Feb 03, 2013 22:50, edited 1 time in total.
 

uday6341
New member
 
Posts: 3
Joined: Thu Mar 14, 2013 08:55

by uday6341 » Thu Mar 14, 2013 08:56

Hey dude, the mod seems to have an unsatisfied dependency which is "inventory_plus" is missing. wut i do i want this mod real bad.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Thu Mar 14, 2013 09:32

uday6341 wrote:Hey dude, the mod seems to have an unsatisfied dependency which is "inventory_plus" is missing. wut i do i want this mod real bad.


http://forum.minetest.net/viewtopic.php?id=3100
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43

by Dopium » Thu Mar 14, 2013 11:19

uday6341 wrote:Hey dude, the mod seems to have an unsatisfied dependency which is "inventory_plus" is missing. wut i do i want this mod real bad.


Simple, what thats saying is you dont have inventory_plus mod installed, its telling you this mod has a dependency of another mod in this case inventory_plus. All you need to do is install the inventory_plus mod and then this mod will work, if you know a bit about coding you can change the dependency but easy way is to use the inventory_plus with this mod.
Running @1.19 MHz, 128 bytes of RAM and interchangeable 4kb ROM carts!
 

prestidigitator
Member
 
Posts: 632
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Thu Mar 14, 2013 16:56

uday6341 wrote:Hey dude, the mod seems to have an unsatisfied dependency which is "inventory_plus" is missing. wut i do i want this mod real bad.


You can try the prestibags mod I just created too. It doesn't have any dependencies but is very simple at the moment.
 

User avatar
andersje
Member
 
Posts: 18
Joined: Wed May 01, 2013 02:16

by andersje » Fri Aug 23, 2013 04:57

since this is a simple mod that I've been using on my worlds, I figured I'd pick this one up.
I've forked it at https://github.com/andersje/minetest-bags -- and preliminarily replaced the wood which is necessary for small bags with wool.

=) Suggestions welcome. Prestibags does look hella cool, tho.
I don't always test my code, but when I do, I test it in production.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Topywo » Thu Aug 21, 2014 12:32

I made minimal changes in the code for making trolleys. They have 32 slots. The trolleys are crafted with a stick middle/top row and 6 large bags under it (hoarders must pay a price).

I also tried to make the trolley texture in line with Tonyka's textures of the small, medium and large bag.

The changes and additions gain the same License as this mod. All credits for Cornernote and Tonyka.

Screenshot:

Image


Download link:
https://dl.dropboxusercontent.com/u/65428713/bags%20(%2B%2032%20slots%20trolley).zip
Last edited by Topywo on Thu Aug 21, 2014 19:45, edited 1 time in total.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Sokomine » Thu Aug 21, 2014 12:52

Topywo wrote:I also tried to make the trolley texture in line with Tonyka's textures of the small, medium and large bag.

Looks nice! That way, we won't have to wonder how players manage to carry four backpacks with only one back available.
A list of my mods can be found here.
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by TenPlus1 » Thu Aug 21, 2014 15:03

Thanks Topywo, this'll come in handy...
 

User avatar
LionsDen
Member
 
Posts: 525
Joined: Thu Jun 06, 2013 03:19

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by LionsDen » Thu Aug 21, 2014 17:13

Topywo, I am getting file not found with your link.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Krock » Thu Aug 21, 2014 17:19

LionsDen wrote:Topywo, I am getting file not found with your link.

Quote it:
Topywo wrote:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
https://dl.dropboxusercontent.com/u/65428713/bags%20(%2B%2032%20slots%20trolley).zip
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Topywo » Thu Aug 21, 2014 19:47

Krock wrote:
LionsDen wrote:Topywo, I am getting file not found with your link.

Quote it:
Topywo wrote:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
https://dl.dropboxusercontent.com/u/65428713/bags%20(%2B%2032%20slots%20trolley).zip


I don't know why that happened (looked like it got broken) I put 2 url's around it, now the download works. Thanks for telling it!
 

User avatar
andersje
Member
 
Posts: 18
Joined: Wed May 01, 2013 02:16

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by andersje » Fri Aug 22, 2014 22:44

would you like to commit this code to the git repo? I'd happily take a pull request, or if you just want to send me diffs, I can incorporate them. I like the idea of trolleys for complete hoarders ;)
 

Glünggi
Member
 
Posts: 126
Joined: Wed Apr 16, 2014 08:13

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Glünggi » Sat Aug 23, 2014 09:07

Nice trolley :)

My favoritreciep for bags are
s=stick
c=cottonstring
w=wool
x=empty
sb=smal bag
mb=medium bag
smal:
x-c-x
w-w-w
w-w-w
medium:
x- s- x
sb-c-sb
sb-c-sb
large:
x-s-x
mb-c-mb
mb-c-mb

1 stack of cotton strings = 24 wool = 4 small bags = 1 medium bag,, so 4 stacks of strings = 1 large bag
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Topywo » Sat Aug 23, 2014 12:11

andersje wrote:would you like to commit this code to the git repo? I'd happily take a pull request, or if you just want to send me diffs, I can incorporate them. I like the idea of trolleys for complete hoarders ;)


Just finding out this morning how to handle Github.
- I forked your repository
- I made changes to the init.lua in my fork
- Haven't got a clue how to attach/put in an image while on GitHub
- Trying to add and all kind of other weird commands to copy the image of the trolley into my fork
- Found out there exists something like a local clone (I already made on by accident)
- Trying to push my local clone to my fork (..will be continued)
- Pushed pull request on my GitHub page to find out I send you a pull request.

So you now have the code in init.lua 'pushed'. I (uploaded??) the .png as comment (just in case you don't have it)

Probably you've enough to make the changes. Since I'm running out of time today it will be next day for me to be able to send a 'decent' pull request.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Topywo » Sat Aug 23, 2014 12:11

Glünggi wrote:Nice trolley :)


Thanks :-)
 

User avatar
andersje
Member
 
Posts: 18
Joined: Wed May 01, 2013 02:16

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by andersje » Sat Aug 23, 2014 19:48

Looks good. I've accepted your pull request, and altered line 35 to read:

.."list[current_player;bag"..i.."contents;0,1;8,4;]

so that it shows 4 rows properly. I've also added in the trolley.png, and updated the README to match the readme in your zipfile.

Thanks for the pull request =)
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Topywo » Sat Aug 23, 2014 22:21

Your welcome!

It indeed should have been 4 instead of 3.

Thanks for the suggestion of making a pull request. It might just be the push I needed to learn more about GitHub.
 

User avatar
andersje
Member
 
Posts: 18
Joined: Wed May 01, 2013 02:16

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by andersje » Sat Aug 23, 2014 23:26

You are very welcome. I'm having to learn github and branching/forking for the day job, and I'm finding that it's dang, dang useful.

I need to build up some puppet manifests to manage all the minetest servers my kids want running. 9 and counting...
 

Sunfirel
Member
 
Posts: 17
Joined: Wed Aug 27, 2014 12:54
IRC: Sunfirel
In-game: Sunfirel

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Sunfirel » Wed Aug 27, 2014 13:08

Very good mod. I suggest making bag visible, like 3darmor is.
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Minetestforfun » Wed Aug 27, 2014 21:42

Sunfirel wrote:Very good mod. I suggest making bag visible, like 3darmor is.


Good idea !
But an option for hide / unhide the bags are welcome
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by Topywo » Thu Aug 28, 2014 09:31

Minetestforfun wrote:
Sunfirel wrote:Very good mod. I suggest making bag visible, like 3darmor is.


Good idea !
But an option for hide / unhide the bags are welcome


If someone would be able to code it, wouldn't it still be a problem to find a place for the 4 possible bags/trolley's on the player texture?
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Bags [bags] Attach bags to your inventory to incre

by TenPlus1 » Thu Aug 28, 2014 09:57

- 1 ... Not everything the player carries has to be on display, bags are happily stashed under clothing and armor for me...
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 26 guests

cron