Page 2 of 5

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

PostPosted: Thu Apr 06, 2017 19:44
by Fixer
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.

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

PostPosted: Fri Apr 07, 2017 15:53
by LNJ
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.

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

PostPosted: Fri Apr 07, 2017 18:22
by zorman2000
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!

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

PostPosted: Fri Apr 07, 2017 21:24
by LNJ
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. :)

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

PostPosted: Fri Apr 07, 2017 22:49
by Fixer
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...

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

PostPosted: Sat Apr 08, 2017 00:52
by zorman2000
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!

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

PostPosted: Sun Apr 09, 2017 19:35
by texmex
Would it be possible to add global settings for opt-out of the newer drawer types? (server admin here)

[Update] Version 0.3.1

PostPosted: Sun Apr 09, 2017 20:45
by LNJ
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

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

PostPosted: Mon Apr 10, 2017 14:23
by LNJ
Version 0.3.2:
  • Finally fixed Minetest 0.4.15-dev entity not selectable bug (Thank you, FaceDeer!)
  • Fixed some warnings (FaceDeer)

Re: [Update] Version 0.3.1

PostPosted: Mon Apr 10, 2017 16:25
by texmex
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.

Re: [Update] Version 0.3.1

PostPosted: Mon Apr 10, 2017 21:04
by LNJ
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.

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

PostPosted: Wed Apr 12, 2017 14:23
by Fixer
Can confirm it is now working in newest dev.

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

PostPosted: Wed Apr 12, 2017 20:59
by LNJ
Fixerol wrote:Can confirm it is now working in newest dev.

But the drawers selection box looks ugly now...

[Update] Version 0.4.1

PostPosted: Fri Apr 14, 2017 15:02
by LNJ
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

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

PostPosted: Fri Apr 14, 2017 19:21
by texmex
Excellent work!

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

PostPosted: Sun Apr 16, 2017 10:13
by LNJ
texmex wrote:Excellent work!

Thank you! :)

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

PostPosted: Mon Apr 17, 2017 20:05
by texmex
I've noticed that the preview image on the drawer doesn't work for certain items, such as stairs and walls.

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

PostPosted: Tue Apr 18, 2017 11:46
by LNJ
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).

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

PostPosted: Tue Apr 18, 2017 14:13
by texmex
Okay, I suspected that. It's still very usable however!

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

PostPosted: Tue Apr 18, 2017 19:23
by texmex
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.

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

PostPosted: Tue Apr 18, 2017 21:29
by texmex
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.

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

PostPosted: Wed Apr 19, 2017 02:53
by Sokomine
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.

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

PostPosted: Sun Apr 23, 2017 16:07
by LNJ
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.

[Update] Version 0.4.2

PostPosted: Sun Apr 23, 2017 16:18
by LNJ
Version 0.4.2:
  • Fixed unstackable items are being added to drawers

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

PostPosted: Sun Apr 23, 2017 18:03
by Andrey01
I see here`s new furniture