Page 1 of 1

Sign-like Chests, Labeled Chests

PostPosted: Fri Jan 02, 2015 16:20
by LazyJ
I think it would be a very useful feature if players could add custom labels to their chests and locked chests to make identifying the contents and organizing the chests a bit easier.

So instead of constantly clicking on the chests to see their contents, the player could mouse-over them and see the labels, i.e.: "Stones", "Woods", "Fuels", "Tools", "Ingots and Ores", etc.

Already, locked chests display who the owner is. Is it possible to add a "Label" button or a text field to the chests' formspec to allow the player to add text of their own?

Players currently place signs next to the chests to list the general contents. However, in situation where space is a premium (apartments), it would be advantageous if chest had a sign-like feature.

Re: Sign-like Chests, Labeled Chests

PostPosted: Fri Jan 02, 2015 18:18
by Napiophelios
ImprovedChests has such a naming feature but not the inventory summary (and no locked chests yet either)

ChestTools also has better inventory management features (such as bag support to keep from switching formspecs so much)

Re: Sign-like Chests, Labeled Chests

PostPosted: Fri Jan 02, 2015 19:57
by Gael de Sailly
If you want to see the name directely on the chest, it's possible but difficult.

This feature already exists for signs, in Homedecor, from Vanessa Ezekowitz.

This code is very complex and, for me, indigestible, but it works very well and is more convenient than the "classic" signs.

Re: Sign-like Chests, Labeled Chests

PostPosted: Sun Jan 04, 2015 07:59
by LazyJ
Thanks for the links and suggestions.

What I'm thinking of is not to make the chest's like HomeDecor's signs with text displayed on the front. More like the behavior of the default signs where the text is displayed in white characters off to the upper-left of the sign, just like locked chests already do when they say "Locked chest owned by <playername>" (or similar, I don't recall the exact phrasing).

The idea I had was not to have the code search the chest to list the contents but instead to have a field in the chest's inventory that the players could type in whatever they want.

Some example scenarios:

If a parent is playing with their kid(s) they could setup a chest of items and put their child's name on it. "Suzy's Chest".

If the player has a row of chests, they could label each chest by the general contents:
- A chest labeled "wood stuff" could contain tree trunks, planks, saplings, and axes, next to a chest labeled "stone stuff" containing cobble, stone, desert_stone, circle_stone_bricks, etc., next to a chest labeled "scraps" that contains left-over materials.

If the player has a row of chests, they could label each chest by the inteneded purpose:
- One chest labeled "Road Materials", another chest labeled "Castle Materials", another chest labeled "Medieval House Materials", another chest labeled "Landscaping Materials", etc.

EDIT:
It looks like the "Improved Chests" mod has what I'm looking for, the "chest name". But I'd still like to see that one particular feature become a standard feature of default chests.

Re: Sign-like Chests, Labeled Chests

PostPosted: Fri Jan 09, 2015 03:54
by Sokomine
Take a look of the newest version of my chesttools mod. The shared chests therein (shared with all players who can edit the area - as long as it's protected; else it behaves like a normal chest) now has such a feature.

Re: Sign-like Chests, Labeled Chests

PostPosted: Mon Jan 26, 2015 23:36
by RealBadAngel
You can try technic chests...
Image

Re: Sign-like Chests, Labeled Chests

PostPosted: Tue Mar 03, 2015 19:09
by riff
LazyJ wrote:I think it would be a very useful feature if players could add custom labels to their chests and locked chests to make identifying the contents and organizing the chests a bit easier.

So instead of constantly clicking on the chests to see their contents, the player could mouse-over them and see the labels, i.e.: "Stones", "Woods", "Fuels", "Tools", "Ingots and Ores", etc.

Already, locked chests display who the owner is. Is it possible to add a "Label" button or a text field to the chests' formspec to allow the player to add text of their own?

Players currently place signs next to the chests to list the general contents. However, in situation where space is a premium (apartments), it would be advantageous if chest had a sign-like feature.

awesome, add a poll

Re: Sign-like Chests, Labeled Chests

PostPosted: Tue Mar 03, 2015 20:22
by TenPlus1
Protector Redo chests allow you to label each chest for when you hover over it...

https://forum.minetest.net/viewtopic.php?t=9376&p=143164