Page 1 of 2

[Mod] Crafting Guide [git] [craftguide]

PostPosted: Sat Feb 20, 2016 23:08
by jp

Image Crafting Guide


A Crafting Guide for Minetest that doesn't suck.

craftguide is simply the most comprehensive mod of his category. Consult the Minetest Wiki for more details and comparisons.

This crafting guide is usable with a blue book named "Crafting Guide" (craftable from one normal book).

This crafting guide features two modes : Standard and Progressive.

The Progressive Mode is a Terraria-like system that only shows recipes you can craft from items in inventory.
The Progressive Mode can be enabled with `craftguide_progressive_mode = true` in minetest.conf.

Dependencies : none.
License : GPLv3.

Image Download | GitHub

Image

Re: [Mod] Crafting Guide [craftguide]

PostPosted: Sun Feb 21, 2016 01:30
by MineYoshi
Good Job!

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Sun Feb 21, 2016 20:49
by TenPlus1
Nice one jp :)

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 22, 2016 05:25
by xeranas
jp wrote:Depends : none.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
recipe = {"default:book", "dye:blue"}

Doesn't it makes dependencies from default and dye?

Why item filtering cannot be applied when I typing into search field instead of pressing question mark button (it would be time saver). And why button label chosen as question mark in the first place? IMO question mark label should be for "help" type buttons not for search, it confuses.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 22, 2016 09:31
by srifqi
xeranas wrote:
jp wrote:Depends : none.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
recipe = {"default:book", "dye:blue"}

Doesn't it makes dependencies from default and dye?

No, because it doesn't need those mod to run first.

xeranas wrote:Why item filtering cannot be applied when I typing into search field instead of pressing question mark button (it would be time saver). And why button label chosen as question mark in the first place? IMO question mark label should be for "help" type buttons not for search, it confuses.

Me too. But, it already exist in creative inventory on unstable Minetest Game.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 22, 2016 09:39
by jp
xeranas wrote:Why item filtering cannot be applied when I typing into search field instead of pressing question mark button (it would be time saver).

Because it's a technical limitation of the engine. You'll never find a mod doing so.

xeranas wrote:And why button label chosen as question mark in the first place?

For simplicity (no image required) and it's self-explanatory enough.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 22, 2016 16:05
by everamzah
This is a miracle mod and should probably be included in the stock default game.

I'm curious about one thing, and it's been brought up before. While personally the question mark, and having to type and search to see results, doesn't bother me. I question whether it's impossible, though, because xban2 updates its lists as you type into its search bar.

Of course, I trust your judgement and consider that this is an entirely different thing to that.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 22, 2016 16:18
by jp
everamzah wrote:I question whether it's impossible, though, because xban2 updates its lists as you type into its search bar.

Hmm... are you sure ? Because I see a "Search" button on the right side of the xban2's GUI.

I don't see in the code how it makes that possible, either.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 22, 2016 17:44
by everamzah
My memory didn't serve -- it doesn't update as I type into it now. The text input field sends fields on each character input though, but my memory might not serve.

Edit: I got no clue what I was thinking...

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Fri Feb 26, 2016 16:13
by Minetestforfun
Happy to see your "Crafting Guide" posted splitted from xdecor, great job !

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 29, 2016 15:37
by LazerRay
Ran into a recipe conflict with this mod and HomeDecor, a book with blue dye is one of the write-able books from HomeDecor which is also the recipe for the guide book here.

I just took out the dye requirement on my copy of Crafting Guide to fix the conflict, so now it just needs a default book to craft it.

I also found a minor bug where you can't put it inside a bookshelf, but you can still put it on most other containers.

Is it also possible to have the guide book place-able, like putting it on top of a table or something so you can look things up while its outside of your inventory, I sometimes have a full inventory when I do a lot of crafting.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 29, 2016 16:25
by jp
Good remarks. I changed the recipe to one default book, and added the group "book" to the nodedef so that you'll be able to store it in a bookshelf.

As for making it place-able, that's possible but node-formspecs are consistently slower. It's not worth it.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Feb 29, 2016 16:32
by firefox
seen it in Xanadu today.
it's great =(^.^)=
so fast and simple to use

+1

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Thu Mar 17, 2016 00:13
by jp
Update : a small but handy change, the last formspec is recalled when you re-use the guide again.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Thu Mar 17, 2016 22:54
by jp
Update : further code's cleaning improving the performances a bit.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Tue Mar 22, 2016 07:32
by drschwabe
I'm a n00b I enabled the mod now how do you read this "Crafting Guide" in the game?

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Tue Mar 22, 2016 09:25
by jp
Search a blue book called "Crafting Guide" in description. Then take it in your hand and click.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Mar 28, 2016 07:45
by drschwabe
Please clarify, where is "in description" ? In the game? Is it lying on the ground somewhere?

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Mar 28, 2016 10:47
by jp
Go to your inventory, move your cursor over the blue book. The description in tooltip :

Image

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Mar 28, 2016 20:05
by drschwabe
Okay, it seems the problem is that the book is not appearing in my inventory.
I have the mod enabled and tried with existing world and new world but no book in my inventory.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon Mar 28, 2016 20:15
by jp
OK, you're not in creative mode. Craft a normal book and move it in the crafting grid.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Tue Mar 29, 2016 00:16
by linushsao
xeranas wrote:
jp wrote:Why item filtering cannot be applied when I typing into search field instead of pressing question mark button (it would be time saver). ....


this mod seems belong to xdecor mod .because it has codes at line139:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_craftitem(":xdecor:crafting_guide", {


simply solution is to update the latest xdecor mod which already include this craftguide mod.this's what i done,and craft searching will be usual.

and..this craftguide mod is awesome,simple & fast performance.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Tue Mar 29, 2016 00:24
by jp
This mod is an extract from xdecor, it doesn't depend at all from xdecor.

What you see is just the item name.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Tue Mar 29, 2016 00:28
by linushsao
jp wrote:This mod is an extract from xdecor, it doesn't depend at all from xdecor.

What you see is just the item name.


jp you are right. i mean it's override from xdecor?

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Sun Apr 17, 2016 11:27
by linushsao
wow..xdecor mod already has craftguide&workbench mod ,i install them & xdecor seperately before.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Mon May 16, 2016 21:48
by Emon
Italian version available here.

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Tue May 31, 2016 05:51
by amadin
Will be good if somebody add tabs as in creative inventory.

Image

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Sat Jul 02, 2016 15:37
by Jk234
(Edit: Nevermind, I overlooked the option in the world settings that's needed to enable the mod).

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Fri Nov 04, 2016 17:03
by amadin

Re: [Mod] Crafting Guide [git] [craftguide]

PostPosted: Tue Nov 15, 2016 08:06
by amadin
Can somebody add fork with button "Craft guide" to inventory_plus with remove Craft guide book?