Page 1 of 1

[Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Fri Dec 30, 2016 23:50
by rubenwardy
Image

Image

Adds unified inventory features to sfinv.

This mod implements a fake unified inventory API and passes usage through to sfinv

Download: https://github.com/rubenwardy/sfinv_uni ... master.zip
GitHub: https://github.com/rubenwardy/sfinv_unified_inventory
Depends: sfinv (is in Minetest Game 0.4.15) and sfinv_buttons
Supports: creative and sethome (from Minetest Game)
License: LGPL 2 or later

Some code was reused from the original Unified Inventory - (C) 2012-2014 Maciej Kasatkin (RealBadAngel), LGPLv2+

TODO: bags, craft guide, refill slot

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sat Dec 31, 2016 00:16
by cHyper
+1

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sat Dec 31, 2016 09:03
by mahmutelmas06
It doesnt add buttons. I still see More tab even i added sfinv_buttons_use_icon_bar = true to config.

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sat Dec 31, 2016 10:27
by rubenwardy
You need to apply the pr I posted in the forum topic

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sat Dec 31, 2016 16:17
by hajo
rubenwardy wrote:TODO: bags, craft guide, refill slot

How about Journalist/Note-taker: appends an entry to your travel-log (book-with-text),
i.e. date and coordinates.

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sat Dec 31, 2016 17:15
by cd2
+1

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sat Dec 31, 2016 20:14
by Shadow_The_Hedgehog
TODO: bags, craft guide, refill slot

How long do you think it would take for craft guide to be added? I run a server with lots of mods and people need the craft guide to fully experience the game. :)

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sat Dec 31, 2016 22:16
by ShadMOrdre
rubenwardy,

after figuring out which forum post you were actually talking about regarding the PR, i manually edited the init.lua from sfinv_buttons, to include the code on your git. not all of us are users of git source code management, and general non IT users, probably not at all.

I get an error regarding a missing end to an if statement at line 52. there follows an elseif, and so I'm not sure if I should add the end before the else if, or try to trace the lua to find which actual if is missing its related end.

Any help?


Thanks,

Shad MOrdre

Re: [Mod] Sfinv Unified Inventory [0.1][unified_inventory]

PostPosted: Sun Jan 01, 2017 00:01
by rubenwardy