Can mods define new tabs in inventory?

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Can mods define new tabs in inventory?

by benrob0329 » Sun Feb 28, 2016 08:07

If mods coukd define new tabs in the inventory, that would basically remove the need to have separate inventory mods for things like armor and bags.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Can mods define new tabs in inventory?

by rubenwardy » Sun Feb 28, 2016 14:04

That's the aim of sfinv
It uses the same formspec of creative
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: Can mods define new tabs in inventory?

by benrob0329 » Sun Feb 28, 2016 22:47

But why force everyone to use another inventory mod, when the default already looks like its just asking for plugins?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Can mods define new tabs in inventory?

by rubenwardy » Sun Feb 28, 2016 23:19

...
I aim to submit it as a PR to minetest_game

It is basically the default one but with an API. I need to add creative support back into it though.
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: Can mods define new tabs in inventory?

by jp » Sun Feb 28, 2016 23:42

rubenwardy wrote:It uses the same formspec of creative

Nope, there's an ugly border under your tabheader. I addressed you a line-note about that (no reaction yet).
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: Can mods define new tabs in inventory?

by benrob0329 » Mon Feb 29, 2016 03:43

rubenwardy wrote:...
I aim to submit it as a PR to minetest_game

It is basically the default one but with an API. I need to add creative support back into it though.


Ah, ok, cool!
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Can mods define new tabs in inventory?

by rubenwardy » Mon Feb 29, 2016 08:55

jp wrote:
rubenwardy wrote:It uses the same formspec of creative

Nope, there's an ugly border under your tabheader. I addressed you a line-note about that (no reaction yet).


Thanks. Haven't got around to it yet
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: Can mods define new tabs in inventory?

by jp » Mon Feb 29, 2016 09:15

... I merely pointed out a flaw and gave a trick to clean that.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 4 guests

cron