[Mod] Prestibags [1.0] [prestibags]

Post Reply
User avatar
prestidigitator
Member
Posts: 640
Joined: Thu Feb 21, 2013 23:54

[Mod] Prestibags [1.0] [prestibags]

by prestidigitator » Post

Note (2014-07-05): Any updates I make to this mod will be announced here, but documentation changes for such updates will be made on its wiki page at http://wiki.minetest.net/Prestibags

----

Prestibags are simple bags that act like chests you can pick up. They do not modify the player's normal inventory formspec, so they will not interfere with any mods that do. Here are some of their features:
  • Retain their inventory when picked up or unloaded/reloaded by the server.
  • Can be stored in other bags, nested as deeply as you like.
  • Are NOT owned, so any player can open them and pick them up.
  • Are flammable, so don't put them near lava or fire!
  • Fit in spaces with non-solid nodes (e.g. water, torches), but don't build solid stuff on top of them!
Note that bags are "active entities", although they are non-physical and act in many ways like nodes. This means that the "/clearobjects" command will destroy them, and they can potentially take damage from sources other than fire. They will show wear like a tool when taken into inventory if they have taken any damage.

Required Minetest Version: >=0.4.5

Dependencies: (none)

Soft Dependencies: default, wool (for crafting), fire

Craft Recipies (W = "group:wool"):

Code: Select all

— W —
W — W
W W W
Git Repo: https://github.com/prestidigitator/mine ... prestibags

Change History

Version 1.0: Download ZIP
  • Released 2013-03-07.
  • First working version.
Future Direction

In the future I may enhance bags so they can be opened directly from inventory by wielding and "using" them, but I'm struggling with this because I kind of like the drawback that you have to risk placing them to interact with their inventories.

Copyright and Licensing

All content, including source code, textures, models, and sounds, are 100% original content by the mod author (prestidigitator).

Author: prestidigitator (as registered on forum.minetest.net)
License: WTFPL (all content)

Screenshots

Image

Image
Last edited by prestidigitator on Sun Jul 06, 2014 06:28, edited 2 times in total.

User avatar
Likwid H-Craft
Member
Posts: 1113
Joined: Sun Jan 06, 2013 14:20
Location: Lost in Crypt

by Likwid H-Craft » Post

Wow, is that a 3D Bag or what :)

Anyways how do about, when you craft a bag with, mese it will, be bigger.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)

User avatar
prestidigitator
Member
Posts: 640
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Post

Yep. The Blender model is included in the download. I used a simulation using Blender's cloth physics to make the outside, though not without some difficulty and some manual fixes.

Different sizes are one possibility for future development, though I think I'd rather not overload mese too much personally. Maybe I'll create one where you can spin a little steel wool in or something. ;-)

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

by Topywo » Post

Looks good!

"Can be stored in other bags, nested as deeply as you like." --> nice feature!

User avatar
jin_xi
Member
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Post

very nice! the simulated cloth model looks very good

User avatar
deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Very nice. Like the Tibia version. I will test ASAP. :D

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

So no updates?
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
prestidigitator
Member
Posts: 640
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Post

Not at this point. I had vague notions of adding different sized bags and possibly including a nice little trash can I have developed but not released yet. Any other thoughts?

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

by andersje » Post

trashcan would be very nice...no more typing /pulverize :)
I don't always test my code, but when I do, I test it in production.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

andersje wrote:trashcan would be very nice...no more typing /pulverize :)
I have a trash can mod. Link
Back from the dead!

Rhys
Member
Posts: 379
Joined: Wed May 22, 2013 15:22

Re: [Mod] Prestibags [1.0] [prestibags]

by Rhys » Post

A very nice mod, I love it! Great model. :)

User avatar
sparky
Member
Posts: 140
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: [Mod] Prestibags [1.0] [prestibags]

by sparky » Post

ill see if i can put this on a truck or helicopter, it may be out of my skill range tho

xisd
Member
Posts: 52
Joined: Sun Oct 02, 2016 22:38
GitHub: xisd

Re: [Mod] Prestibags [1.0] [prestibags]

by xisd » Post

I don't know if this mod was just perfect it did'nt need updates since 2013 or if it is abandonned.
But anyway this kind of portable container that is carried as an item and need to be place to be opened is exactly what I was looking for as a bag mod ! So thanks !

The mesh looks good but it doesn't fit right with the 16px look from the rest of the game.
So I made an option to use a sprite version. (a flat texture that always look at the player)
Originally I wanted to used a plantlike look but I don't think it's possible with entities.

Texture is from the other bag mod (viewtopic.php?t=3081) I don't know if thats allright to do that. I can make a new one if necessarry

https://github.com/xisd/minetest-mod-prestibags

User avatar
Napiophelios
Member
Posts: 1018
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Prestibags [1.0] [prestibags]

by Napiophelios » Post

@Xisd: check Backpacks by everamzah
its a similar mod but fits a bit better the 16px look.
It doesn't have all the bells and whistles that Prestibags has though.

everamzah removed his mods from github but his first version of backpacks v1.0
is still available as an attachment

xisd
Member
Posts: 52
Joined: Sun Oct 02, 2016 22:38
GitHub: xisd

Re: [Mod] Prestibags [1.0] [prestibags]

by xisd » Post

Thank it looks to be exactly what I was looking for I'll check it out

User avatar
QwertyDragon
Member
Posts: 20
Joined: Sat Dec 24, 2016 15:37
Contact:

Re: [Mod] Prestibags [1.0] [prestibags]

by QwertyDragon » Post

Discovered a bug. When you place the prestibag next to a door, like in the screenshot, it disappears, and is lost. The behavior should be like a chest, that will not allow player to place it there.

I know that moder of presibags has not logged in in such a long time that is probably no longer maintaining prestibags, but figure this post may give a heads up to anyone who would use this on a public server. Probally best to look at backpacks viewtopic.php?t=14579 like mentioned already above.

Image
My GitLab, and Obior pages, and YouTube as QuixoticalPig, and Twitter as vuvvobUd. irc as QwertyDragon

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests