[Mod] Smart Inventory [smart_inventory]

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

i will be working on textures for this, so where do you want me to post them when im done?
Hey, what can i say? I'm the bad guy.

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

here is what ive made so far:
Attachments
smart_inventory_buttons.tar.gz
smart_inventory_buttons
(1.52 KiB) Downloaded 196 times
Hey, what can i say? I'm the bad guy.

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

Thank you very much! I am integrating it now.
Which license does the images?

A plea, can you please add more transparency for backgrounds? Seems little bit strange with double backgrounds (your and button original)

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

bell07 wrote:Thank you very much! I am integrating it now.
Which license does the images?

A plea, can you please add more transparency for backgrounds? Seems little bit strange with double backgrounds (your and button original)
license: WTFPL (this allows you todo whatever you want with it, including changing the license).
p.s. ill try to add some transparency.
Last edited by Stix on Sun Sep 24, 2017 11:58, edited 1 time in total.
Hey, what can i say? I'm the bad guy.

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

wait, should i just remove the backgroung and just send you the important part without it so it fits in better?
Hey, what can i say? I'm the bad guy.

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

I uploaded the integrated version to the "stix_textures" Branch. So you can try it byself how it looks like by replacing the files in textures folder. I do not know how it right, it just looks something wrong with backgrounds for me ;-/

You can get the version from https://github.com/bell07/minetest-smar ... xtures.zip as zip file if you are not firm with git.

If you are satisfied, provide the textures update to me and I will move them to the master branch.

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

here is the texture update:
p.s. note that i added textures for a few more buttons
Attachments
smart_inventory_buttons.tar.gz
smart_inventory_buttons
(1.96 KiB) Downloaded 168 times
Hey, what can i say? I'm the bad guy.

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

Thanks again. I updated the branch, you can get the new version trough the same stix_textures link.

To be complete some remarks:
- if "doc_item" mod is installed there are buttons "Reveal tipps" that needs a texture (no idea how it should looks like)
- The trash item should have own texture. Currently the creative_trash_icon.png from mod "creative" is used. Maybe with clearly difference to trash all, both fields are nearly on creative page
- "Crafteable items" and "Crafting page" are the same textures that can be confusing. Maybe add an difference like a magnifier overlay for "Crafteable items"?
- Save / Get / Swap line buttons around the main inventory?

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

Ok here we go! This should be everything (if not then please tell me).
P.S. don't forget to read the 'README' file.
Download:
Attachments
smart_inventory_buttons.tar.gz
smart-inv_buttons
(5.54 KiB) Downloaded 201 times
Hey, what can i say? I'm the bad guy.

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

Next update done ;-)
I read the README but I was not able to fulfill them. Neither 3d_armor nor skinsdb provides head front textures trough API. The whole skin or the preview image only is available, with and without armor.

Let me know if my rearrangement is ok for your eyes. Let me know if anything should be still changed

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

looks great except two problems:
1. the crafting inventory doesnt use textures for the swapline buttons while the creative inventory part does.
2. same as last point but with the trash texture (im not talking about the trash-all version).
P.S. not that big of a deal but the pixels on the textures seem to be a little distorted.
Hey, what can i say? I'm the bad guy.

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

1. and 2. are fixed now
Stix wrote:P.S. not that big of a deal but the pixels on the textures seem to be a little distorted.
Can I do anything on lua site? Or you can do anything on textures site? I do not see the distort.

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

bell07 wrote:1. and 2. are fixed now
Stix wrote:P.S. not that big of a deal but the pixels on the textures seem to be a little distorted.
Can I do anything on lua site? Or you can do anything on textures site? I do not see the distort.
maybe its because i wasnt testing it in full-screen. i know the pixels in the raw textures i made aren't distorted so it must be that i didn't use full-screen.
EDIT: i was right, i tried playing in full-screen and the pixels werent distorted.
Hey, what can i say? I'm the bad guy.

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

Ok, screenshots updated and pushed to master. Main screenshot in first post updated
--> I would say: NEW RELEASE; but it is rolling release ;-)

User avatar
choco
New member
Posts: 3
Joined: Wed Sep 27, 2017 15:58
In-game: choco

Re: [Mod] Smart Inventory [smart_inventory]

by choco » Post

just about to install

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

Some changes are done the last days. Thanks to GamingAssociation39 for suggestions.

- Crafting page: New button "All items" (All revealed items, if doc enabled) to show all items like in creative
- Crafting page: New view to resize the items list bigger and hide the groups/info area, accessible trough the Groups -> Info (new -> Hide) toggle
- Crafting page: If an item is selected a new button "Craft" appears. Using the button Items are moved to the crafting grid as shown in selected preview.

-Creative page: Toggle added to resize items list by hiding the 2 and 3 groups list

- The items list configuration is stored in players metadata. That means the selected view, and other data like search string arent lost in reboot

By the way: The smart_inventory support is merged to WorldEdit. So the WE-formspecs are usable in a new "WorldEdit" page in smart_inventory for now

Image
Attachments
screenshot_20171122_003050.png
screenshot_20171122_003050.png (300.71 KiB) Viewed 972 times

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Smart Inventory [smart_inventory]

by GamingAssociation39 » Post

Is it possible to disable the trash can in survival mode?
Jesus Is Lord and Savior!!!

User avatar
Lone_Wolf
Member
Posts: 2576
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] Smart Inventory [smart_inventory]

by Lone_Wolf » Post

GamingAssociation39 wrote:Is it possible to disable the trash can in survival mode?
I find the trash can very useful in survival mode. Much easier than typing /pulverize item:string
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Smart Inventory [smart_inventory]

by GamingAssociation39 » Post

Yeah :)

For creative mod, is there a way to switch around the pages?
Jesus Is Lord and Savior!!!

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

GamingAssociation39 wrote:For creative mod, is there a way to switch around the pages?
Can you please more explain your question? I do not understand your wording
"Creative mod" => The new All-Items selection on crafting inventory page?
"switch around the pages" => flick trough the pages of items list in case of new All-Items selection?

In this case the answer is "yes" as for all other selection types. There is no change, "previous page" and "next page" buttons are dynamically inside the items list at the first and last place. The "next page" button you can see on screenshot. The number on button is the number of next items, not next pages ;-)
PS: You can still use the "groups" view and browse trough "All-Items" with dynamic groups. There is no change too.

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Smart Inventory [smart_inventory]

by GamingAssociation39 » Post

I meant creative mode. I was talking about the page that you start on. When in creative mode you start on the creative page in survival it should only be the survival page.
Jesus Is Lord and Savior!!!

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Smart Inventory [smart_inventory]

by bell07 » Post

You can always around the pages using the page buttons at bottom. Or I still did not understand the question? IN survival gameplay the "creative" page is not available. In creative gameplay all pages are available.

The initial page is hardcoded the first one, the crafting page. (file inventory_framework.lua)

Code: Select all

tab_controller:set_active(smart_inventory.registered_pages[1].name)

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Smart Inventory [smart_inventory]

by GamingAssociation39 » Post

Let me look at it once I get back so I can explain it better :)
Jesus Is Lord and Savior!!!

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Smart Inventory [smart_inventory]

by Stix » Post

sorry for the delay but there was an unexpected trip that came up.
Attachments
its here! :D
its here! :D
copy_preview_to_crafting_field.png (582 Bytes) Viewed 972 times
Hey, what can i say? I'm the bad guy.

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

Re: [Mod] Smart Inventory [smart_inventory]

by azekill_DIABLO » Post

Stix wrote:an unexpected trip
An unexpected journey please. BTW: how is thorin?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests