[Mod] Crafting Guide [2.0] [craftguide]

Post Reply
User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

[Mod] Crafting Guide [2.0] [craftguide]

by jp » Post

Image Crafting Guide

This mod is deprecated and no longer maintained. Consider using the i3 mod instead.

craftguide is the most comprehensive crafting guide on Minetest. Consult the Minetest Wiki for more details.
This crafting guide is a blue book named "Crafting Guide" or a wooden sign.

This crafting guide features a progressive mode. This mode is a Terraria-like system that only shows recipes you can craft from items in inventory. It can be enabled with craftguide_progressive_mode = true in minetest.conf.

craftguide is also integrated in sfinv (Minetest Game inventory) when you enable it with craftguide_sfinv_only = true in minetest.conf.

Use the command /craft to show the recipe(s) of the pointed node.

For developers, craftguide also has a modding API.

For the best visuals, it is recommended to enable inventory_items_animations in minetest.conf.

Dependencies: none.
License: MIT
This mod supports Minetest 5.4 and above. Using LuaJIT is also a strong recommendation.

Image Download

Image GitHub

Love this mod? Donations are appreciated: https://www.paypal.me/jpg84240

Image
Last edited by jp on Sat May 15, 2021 02:42, edited 75 times in total.

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: [Mod] Crafting Guide [craftguide]

by MineYoshi » Post

Good Job!
Have a nice day! :D

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

Nice one jp :)

User avatar
xeranas
Member
Posts: 162
Joined: Fri Feb 05, 2016 11:06

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

by xeranas » Post

jp wrote: Depends : none.

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.

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

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

by srifqi » Post

xeranas wrote:
jp wrote: Depends : none.

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.
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

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.

User avatar
everamzah
Member
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

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

by everamzah » Post

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.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

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.

User avatar
everamzah
Member
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

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

by everamzah » Post

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...

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

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

by Minetestforfun » Post

Happy to see your "Crafting Guide" posted splitted from xdecor, great job !

User avatar
LazerRay
Member
Posts: 147
Joined: Sun Jul 27, 2014 01:32
GitHub: LazerRay

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

by LazerRay » Post

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.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

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.

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

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

by firefox » Post

seen it in Xanadu today.
it's great =(^.^)=
so fast and simple to use

+1
✨🏳️‍🌈♣️✨

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

Update : a small but handy change, the last formspec is recalled when you re-use the guide again.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

Update : further code's cleaning improving the performances a bit.

drschwabe
New member
Posts: 3
Joined: Tue Mar 22, 2016 07:27
GitHub: drschwabe

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

by drschwabe » Post

I'm a n00b I enabled the mod now how do you read this "Crafting Guide" in the game?

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

Search a blue book called "Crafting Guide" in description. Then take it in your hand and click.

drschwabe
New member
Posts: 3
Joined: Tue Mar 22, 2016 07:27
GitHub: drschwabe

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

by drschwabe » Post

Please clarify, where is "in description" ? In the game? Is it lying on the ground somewhere?

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

Go to your inventory, move your cursor over the blue book. The description in tooltip :

Image

drschwabe
New member
Posts: 3
Joined: Tue Mar 22, 2016 07:27
GitHub: drschwabe

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

by drschwabe » Post

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.
Attachments
Screenshotfrom2016-03-28-14-04.png
Screenshotfrom2016-03-28-14-04.png (332.27 KiB) Viewed 7332 times
Screenshotfrom2016-03-28-14-02.png
Screenshotfrom2016-03-28-14-02.png (397.58 KiB) Viewed 7332 times

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

OK, you're not in creative mode. Craft a normal book and move it in the crafting grid.

User avatar
linushsao
Member
Posts: 418
Joined: Mon Jan 27, 2014 12:56
IRC: linushsao
In-game: linus
Location: Taipei,Taiwan(R.O.C)
Contact:

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

by linushsao » Post

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:

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.
Last edited by linushsao on Tue Mar 29, 2016 00:27, edited 1 time in total.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

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

by jp » Post

This mod is an extract from xdecor, it doesn't depend at all from xdecor.

What you see is just the item name.

User avatar
linushsao
Member
Posts: 418
Joined: Mon Jan 27, 2014 12:56
IRC: linushsao
In-game: linus
Location: Taipei,Taiwan(R.O.C)
Contact:

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

by linushsao » Post

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?
Last edited by linushsao on Tue Mar 29, 2016 01:00, edited 1 time in total.

User avatar
linushsao
Member
Posts: 418
Joined: Mon Jan 27, 2014 12:56
IRC: linushsao
In-game: linus
Location: Taipei,Taiwan(R.O.C)
Contact:

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

by linushsao » Post

wow..xdecor mod already has craftguide&workbench mod ,i install them & xdecor seperately before.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests