[Mod] [MTG/MCL2] Storage Drawers [0.6.0] [drawers]

User avatar
Fixer
Member
Posts: 896
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3] [drawers]

by Fixer » Post

Excellent, nice to see this well known mod in MT.

Update: I've tried it in newest minetest/game - how exactly I need to use it? Trying to left/right click it with block, whatever, nothing happens - block is placed in front of drawer.

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3] [drawers]

by LNJ » Post

Fixerol wrote:Excellent, nice to see this well known mod in MT.

Update: I've tried it in newest minetest/game - how exactly I need to use it? Trying to left/right click it with block, whatever, nothing happens - block is placed in front of drawer.
Are you using the latest minetest-dev? Maybe you can also help me then, the drawer visual entity doesn't spawn on MT 0.4.15-dev (so you can't click it to add/remove items), do you know if something was changed there? - I can't find anything, but it works perfectly on Minetest 0.4.15.
Storage Drawers - The simplest item storage in Minetest

zorman2000
Member
Posts: 83
Joined: Tue Jul 26, 2016 18:18
GitHub: hkzorman
In-game: zorman2000

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3] [drawers]

by zorman2000 » Post

This is awesome!
My only suggestion for improvement is to make the item label smaller. I think it is quite large and subtracts from the really nice look that the drawer has. Maybe it would look better if smaller and enclosed in some kind of rectangle label.

Nevertheless, it is very cool!

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3] [drawers]

by LNJ » Post

zorman2000 wrote:This is awesome!
My only suggestion for improvement is to make the item label smaller. I think it is quite large and subtracts from the really nice look that the drawer has. Maybe it would look better if smaller and enclosed in some kind of rectangle label.

Nevertheless, it is very cool!
Do you mean the visual (inventory image) or the label ("30 Cobbelstone (3% full)")?
I could make the visual a bit smaller (but not the label).

But thanks for your feedback. :)
Storage Drawers - The simplest item storage in Minetest

User avatar
Fixer
Member
Posts: 896
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3] [drawers]

by Fixer » Post

Are you using the latest minetest-dev? Maybe you can also help me then, the drawer visual entity doesn't spawn on MT 0.4.15-dev (so you can't click it to add/remove items), do you know if something was changed there? - I can't find anything, but it works perfectly on Minetest 0.4.15.
I'm using latest engine, there were lots of changes, but no idea about this one, you better ask on forum/irc/github...

zorman2000
Member
Posts: 83
Joined: Tue Jul 26, 2016 18:18
GitHub: hkzorman
In-game: zorman2000

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3] [drawers]

by zorman2000 » Post

LNJ wrote: Do you mean the visual (inventory image) or the label ("30 Cobbelstone (3% full)")?
I could make the visual a bit smaller (but not the label).

But thanks for your feedback. :)
I meant the visual inventory image. The drawer texture looks really cool and it is a little bit sad that it gets hidden.
At least that is my opinion :)

The mod is awesome anyways!

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3] [drawers]

by texmex » Post

Would it be possible to add global settings for opt-out of the newer drawer types? (server admin here)
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

[Update] Version 0.3.1

by LNJ » Post

Version 0.3.1:
  • New screenshot showing 1x2 and 2x2 drawers
  • Make 1x1, 1x2 and 2x2 drawers disableable in settings
  • README: Add drawer upgrades to To-Do-List
Full changelog

texmex wrote:Would it be possible to add global settings for opt-out of the newer drawer types? (server admin here)
Yes, the new settings for the minetest.conf are:

Code: Select all

drawers_disable_1x1 = true
drawers_disable_1x2 = true
drawers_disable_2x2 = true
zorman2000 wrote:
LNJ wrote: Do you mean the visual (inventory image) or the label ("30 Cobbelstone (3% full)")?
I could make the visual a bit smaller (but not the label).

But thanks for your feedback. :)
I meant the visual inventory image. The drawer texture looks really cool and it is a little bit sad that it gets hidden.
At least that is my opinion :)

The mod is awesome anyways!
I've tried it out with lower sizes, but it doesn't look better to me. Then the icons are too small.
If you want to test it out on your own there you can change the values:
https://github.com/minetest-mods/drawer ... #L110-L113
Storage Drawers - The simplest item storage in Minetest

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3.2] [drawers]

by LNJ » Post

Version 0.3.2:
  • Finally fixed Minetest 0.4.15-dev entity not selectable bug (Thank you, FaceDeer!)
  • Fixed some warnings (FaceDeer)
Storage Drawers - The simplest item storage in Minetest

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Update] Version 0.3.1

by texmex » Post

LNJ wrote:Yes, the new settings for the minetest.conf are:

Code: Select all

drawers_disable_1x1 = true
drawers_disable_1x2 = true
drawers_disable_2x2 = true
Excellent, thanks!

A bit double negating though?

Code: Select all

drawers_enable_1x1 = true
drawers_enable_1x2 = true
drawers_enable_2x2 = true
with defaults to true would simplify. Almost a non-issue though ofc.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Update] Version 0.3.1

by LNJ » Post

texmex wrote: A bit double negating though?

Code: Select all

drawers_enable_1x1 = true
drawers_enable_1x2 = true
drawers_enable_2x2 = true
with defaults to true would simplify. Almost a non-issue though ofc.
Yes, your way would be better :) .. but I don't think I should directly change this again.
Storage Drawers - The simplest item storage in Minetest

User avatar
Fixer
Member
Posts: 896
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3.2] [drawers]

by Fixer » Post

Can confirm it is now working in newest dev.

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Mod] [MTG/MCL2] Storage Drawers [0.3.2] [drawers]

by LNJ » Post

Fixerol wrote:Can confirm it is now working in newest dev.
But the drawers selection box looks ugly now...
Storage Drawers - The simplest item storage in Minetest

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

[Update] Version 0.4.1

by LNJ » Post

Version 0.4.0:
  • Added drawers in all wood types
  • Added internationalization support using intllib
  • Added German localization
  • Removed 'drawers_empty' texture, Using the engine's 'blank.png' now
Version 0.4.1:
  • Fixed chest, furnace, dirt with grass/snow/..., drawers and other inventory images (still not working correctly: models, nodeboxes without inventory image)
If you want to translate this mod into your language, please contact me (or if you know how to do it, open a pull request on GitHub).

Minetest Game:
Image

MineClone 2:
Image
Storage Drawers - The simplest item storage in Minetest

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by texmex » Post

Excellent work!
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by LNJ » Post

texmex wrote:Excellent work!
Thank you! :)
Storage Drawers - The simplest item storage in Minetest

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by texmex » Post

I've noticed that the preview image on the drawer doesn't work for certain items, such as stairs and walls.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by LNJ » Post

texmex wrote:I've noticed that the preview image on the drawer doesn't work for certain items, such as stairs and walls.
Unfortunately this isn't fixable, without a new engine feature. :(
Currently the only way would be to generate a real 2D inventory image somehow for these nodes (all nodes that are using custom models as nodeboxes and b3d-files).
Storage Drawers - The simplest item storage in Minetest

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by texmex » Post

Okay, I suspected that. It's still very usable however!
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by texmex » Post

Hi again! You should disable the stashing of unique items such as minetest_game keys. I suspect they're stripped of their uniqueness once placed in a drawer, then crashes the game when being used.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by texmex » Post

I had a somewhat odd idea for a drawer. What if there was a special kind of multi-item drawer that stashed your whole inventory's content for you in one click?

It would work like the bones node but for both stashing and retrieving. It could show small samples of the containing items on the side and/or the name of the player to which it belongs (while also allowing players to switch inventories between them). I realize it sounds a lot like a chest now, but I also associate this desired "load-out" behavior with your mod.

I imagine players could have multiple load-outs depending on whether they are minig, building or fighting, for example.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

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

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by Sokomine » Post

texmex wrote: I had a somewhat odd idea for a drawer. What if there was a special kind of multi-item drawer that stashed your whole inventory's content for you in one click?
My chesttools mod contains a chest that has buttons for one-click drop and take of your entire inventory to/from the chest. It also covers the content of bags. The "filter"-button dropps only those items from your inventory into the chest of which there's already at least one sample inside the chest.
A list of my mods can be found here.

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.1] [drawers]

by LNJ » Post

Sokomine wrote:
texmex wrote: I had a somewhat odd idea for a drawer. What if there was a special kind of multi-item drawer that stashed your whole inventory's content for you in one click?
My chesttools mod contains a chest that has buttons for one-click drop and take of your entire inventory to/from the chest. It also covers the content of bags. The "filter"-button dropps only those items from your inventory into the chest of which there's already at least one sample inside the chest.
@texmex, better use the mod by Sokomine. I personally don't think this really fits into this mod.
Storage Drawers - The simplest item storage in Minetest

LNJ
Member
Posts: 251
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

[Update] Version 0.4.2

by LNJ » Post

Version 0.4.2:
  • Fixed unstackable items are being added to drawers
Storage Drawers - The simplest item storage in Minetest

User avatar
Andrey01
Member
Posts: 2405
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] [MTG/MCL2] Storage Drawers [0.4.2] [drawers]

by Andrey01 » Post

I see here`s new furniture

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests