Unified Inventory Plus

Post Reply
bousket
New member
Posts: 9
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Unified Inventory Plus

by bousket » Post

Hi all !
Minetest doesn't require you burn 3 mouses a month on craft anymore !

Unified inventory Plus
=================

Unified Inventory Plus extends Unified Inventory.
It adds 2 button types to the craft page:
- A button "All": crafting a stack and putting the result in the inventory
- Patterns buttons: reorganizing items in the craft inventory following usual patterns

Mod Dependency: Unified Inventory

Code: https://github.com/bousket/unified_inventory_plus
Zip: https://github.com/bousket/unified_inve ... master.zip

Maybe a better solution would be to merge with unified inventory later if people like the functionality.
Do not hesitate to comment for improvements and suggestions :)
Attachments
Screenshot.png
(280.52 KiB) Not downloaded yet

User avatar
cHyper
Member
Posts: 900
Joined: Fri May 06, 2011 08:49
GitHub: cHyper-0815OL
IRC: cHyper cHyper_de
In-game: cHyper cHyper_0815
Location: Austria
Contact:

Re: Unified Inventory Plus

by cHyper » Post

+1 nice mod, nice new functions...

User avatar
cHyper
Member
Posts: 900
Joined: Fri May 06, 2011 08:49
GitHub: cHyper-0815OL
IRC: cHyper cHyper_de
In-game: cHyper cHyper_0815
Location: Austria
Contact:

Re: Unified Inventory Plus

by cHyper » Post

a tiny improvement, when you click a special pattern it should rotate, so you can make different combinations.

bousket
New member
Posts: 9
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Re: Unified Inventory Plus

by bousket » Post

mmm I m not sure to see it.
Only the case '3 on a line' is interesting to rotate, no ?

There are new patterns now and it s easy to define yours in init.lua.
The buttons are automatically generated, according to the patterns you activate.
If you think about specific patterns not present in init.lua, tell me which ones and I ll add them. You can also watch the textures if you prefer it to the code.

bousket
New member
Posts: 9
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Re: Unified Inventory Plus

by bousket » Post

You don't want to rotate the patterns but the inventory. So just a rotate button. Why not.
I get it now but still not sure to see the benefit.
Do you have an exemple when it s convenient ?

Edit: anyway, I did it as it took me 10 min. You can enable/disable the functionality in init.lua

User avatar
cHyper
Member
Posts: 900
Joined: Fri May 06, 2011 08:49
GitHub: cHyper-0815OL
IRC: cHyper cHyper_de
In-game: cHyper cHyper_0815
Location: Austria
Contact:

Re: Unified Inventory Plus

by cHyper » Post

bousket wrote:You don't want to rotate the patterns but the inventory. So just a rotate button. Why not.
I get it now but still not sure to see the benefit.
Do you have an exemple when it s convenient ?

Edit: anyway, I did it as it took me 10 min. You can enable/disable the functionality in init.lua
Image

nice, I like the rotate button very much! What else could we implement?!!
Attachments
minetest_mod_unified_inventory_plusroteelemente_003.png
(60.96 KiB) Not downloaded yet

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

Re: Unified Inventory Plus

by Sokomine » Post

Aaah. So this is the mod behind this. I saw it on a server, was at first surprised and then very glad about this new feature. Thanks! It's very useful.
A list of my mods can be found here.

User avatar
Niscobad
Member
Posts: 22
Joined: Sun Aug 27, 2017 00:57
IRC: Niscobad
In-game: Niscobad
Location: France

Re: Unified Inventory Plus

by Niscobad » Post

really nice mod! thanks
ywLICeKnswFUipi4Le3lJCNXlSrxVXOp

User avatar
Lone_Wolf
Member
Posts: 2390
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: Unified Inventory Plus

by Lone_Wolf » Post

Could you add support for sfinv? That would be awesome to have

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: Unified Inventory Plus

by azekill_DIABLO » Post

hurray!

User avatar
RSLRedstonier
Member
Posts: 451
Joined: Wed May 10, 2017 21:00
GitHub: RSL-Redstonier
In-game: RSLRedstonier
Location: some were in middle earth

Re: Unified Inventory Plus

by RSLRedstonier » Post

perhaps a button with an x on it that returns all/all it can items from crafting grid back into players inventory
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
viewtopic.php?f=9&t=17568

User avatar
RSLRedstonier
Member
Posts: 451
Joined: Wed May 10, 2017 21:00
GitHub: RSL-Redstonier
In-game: RSLRedstonier
Location: some were in middle earth

Re: Unified Inventory Plus

by RSLRedstonier » Post

also please let it support items that stack over 99 with the patterns
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
viewtopic.php?f=9&t=17568

User avatar
Lord_Vlad
Member
Posts: 112
Joined: Thu Jul 20, 2017 07:58

Re: Unified Inventory Plus

by Lord_Vlad » Post

This just needs a button to empty the craft area, that would be simple but neat.

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: Unified Inventory Plus

by bosapara » Post

Will be great if someone will add functions to default craft grid

Image

User avatar
RSLRedstonier
Member
Posts: 451
Joined: Wed May 10, 2017 21:00
GitHub: RSL-Redstonier
In-game: RSLRedstonier
Location: some were in middle earth

Re: Unified Inventory Plus

by RSLRedstonier » Post

bosapara wrote:Will be great if someone will add functions to default craft grid

Image
but why though? the default grid isn't really that good plus unified inventory adds other useful features
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
viewtopic.php?f=9&t=17568

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: Unified Inventory Plus

by bosapara » Post

RSLRedstonier wrote:
bosapara wrote:Will be great if someone will add functions to default craft grid

Image
but why though? the default grid isn't really that good plus unified inventory adds other useful features
Cuz it's simple without any craft guides or buttons from every sides. Just craft grid and inventory - minimalism and comfortable game

User avatar
RSLRedstonier
Member
Posts: 451
Joined: Wed May 10, 2017 21:00
GitHub: RSL-Redstonier
In-game: RSLRedstonier
Location: some were in middle earth

Re: Unified Inventory Plus

by RSLRedstonier » Post

bosapara wrote:
RSLRedstonier wrote:
bosapara wrote:Will be great if someone will add functions to default craft grid

Image
but why though? the default grid isn't really that good plus unified inventory adds other useful features
Cuz it's simple without any craft guides or buttons from every sides. Just craft grid and inventory - minimalism and comfortable game
true but you need unified inventory for this to work because this uses UI's button api. without it this would be very difficult and not worth it
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
viewtopic.php?f=9&t=17568

CmdrDeliver
New member
Posts: 4
Joined: Mon Jul 30, 2018 19:55

Re: Unified Inventory Plus

by CmdrDeliver » Post

A thousand thanks!

bousket wrote:Hi all !
Minetest doesn't require you burn 3 mouses a month on craft anymore !

Unified inventory Plus

Don Flymoor
New member
Posts: 2
Joined: Mon Jun 10, 2019 12:53
GitHub: DanielTheGreatinc
In-game: DonFlymoor

Re: Unified Inventory Plus

by Don Flymoor » Post

It would be great if you could add a progressive mode!

User avatar
Lone_Wolf
Member
Posts: 2390
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: Unified Inventory Plus

by Lone_Wolf » Post

Don Flymoor wrote:It would be great if you could add a progressive mode!
I'm not sure how that would work? Wrong topic maybe?

redblade7
Member
Posts: 312
Joined: Sun Feb 15, 2015 07:14
IRC: redneonglow redblade7
In-game: redblade7 redblade7_owner

Re: Unified Inventory Plus

by redblade7 » Post

Crash with unified_inventory 20191017:

https://github.com/bousket/unified_inve ... s/issues/5
-redblade7, admin of: THE CREATIVE GARDENS (creative), THE VALLEYS (sandbox), and THE DIGITAL FARMS (farming/hunger/shops)

ThorfinnS
Member
Posts: 259
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: Unified Inventory Plus

by ThorfinnS » Post

Yesterday's update seemed to have worked. I haven't duplicated it, anyway.

redblade7
Member
Posts: 312
Joined: Sun Feb 15, 2015 07:14
IRC: redneonglow redblade7
In-game: redblade7 redblade7_owner

Re: Unified Inventory Plus

by redblade7 » Post

ThorfinnS wrote:Yesterday's update seemed to have worked. I haven't duplicated it, anyway.
Yep the update worked. Thank you!
-redblade7, admin of: THE CREATIVE GARDENS (creative), THE VALLEYS (sandbox), and THE DIGITAL FARMS (farming/hunger/shops)

bousket
New member
Posts: 9
Joined: Tue Feb 07, 2017 19:05
GitHub: bousket
IRC: bousket
In-game: bousket

Re: Unified Inventory Plus

by bousket » Post

Hi ! It s been a while I didn t come here.
I add the clear button you asked, that seem a good idea.

User avatar
sorcerykid
Member
Posts: 1452
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Unified Inventory Plus

by sorcerykid » Post

bosapara wrote:Will be great if someone will add functions to default craft grid

Image
For Unified Inventory Plus, there is my Macro Crafting Manager mod. I imagine it could be integrated pretty easily with sfinv.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests