[Mod] Crafting Guide [2.0] [craftguide]
Re: [Mod] Crafting Guide [1.2] [craftguide]
craftguide 1.2 released.
- Integration in sfinv (`craftguide_sfinv_only = true` in minetest.conf).
- Minor fixes.
Enjoy.
- Integration in sfinv (`craftguide_sfinv_only = true` in minetest.conf).
- Minor fixes.
Enjoy.
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Crafting Guide [1.2] [craftguide]
+1000 Love itjp wrote:craftguide 1.2 released.
- Integration in sfinv (`craftguide_sfinv_only = true` in minetest.conf).
- Minor fixes.
Enjoy.
Spoiler
- maikerumine
- Member
- Posts: 1420
- Joined: Mon Aug 04, 2014 14:27
- GitHub: maikerumine
- In-game: maikerumine
Re: [Mod] Crafting Guide [1.2] [craftguide]
FINALLY!!! THANK YOU!!!!!!!!jp wrote:craftguide 1.2 released.
- Integration in sfinv (`craftguide_sfinv_only = true` in minetest.conf).
- Minor fixes.
Enjoy.
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959
Re: [Mod] Crafting Guide [1.2] [craftguide]
W00t! Nice one jp :)
- DELTA_FORCE
- Member
- Posts: 165
- Joined: Tue Oct 30, 2018 01:26
- IRC: DELTA_FORCE
- In-game: DELTA_FORCE
- Location: ee
Re: [Mod] Crafting Guide [1.2] [craftguide]
Im the 80000 viewer! This looks great!
check me out nowhere because i never do anything
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
craftguide 1.2.1 released with an improved formspec layout (thanks Shara for her collaboration).
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
Hello! Great mod, a big help. However, me as an avid modder, I've come to a point where I have a ton of custom crafting systems in my mods and I would highly appreciate it if you could implement an API where mod creators like myself could register their own craft types and recipes.
This is already done in unified_inventory (see https://github.com/minetest-mods/unifie ... i.lua#L229), but I don't really like unified_inventory. Thanks!
This is already done in unified_inventory (see https://github.com/minetest-mods/unifie ... i.lua#L229), but I don't really like unified_inventory. Thanks!
Web developer | Systems Administrator
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
Thanks for your appreciation. craftguide is a guide. Simply a guide ;)
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
I get that. What I'm asking is that the guide should be able to show recipes for custom crafting types alongside default shaped, shapeless and cooking.jp wrote:Thanks for your appreciation. craftguide is a guide. Simply a guide ;)
For example, my mod elepower has a machine called Alloy Furnace. I want to be able to add a recipe to the guide that is not a default crafting receipe, but a custom one that clearly indicates the player to use the Alloy Furnace to craft a certain item.
Web developer | Systems Administrator
-
- Member
- Posts: 999
- Joined: Sat Aug 19, 2017 21:49
- GitHub: Chemguy99
- In-game: Chem Nyx
- Location: My Basement's Attic
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
IcyDiamond, you could add a 'wiki' block to your mod, that maybe has a picture of all the different recipes on it. Idk if this mod can support custom crafts like UI can. I also am not fond of UI, as it is too laggy and awkward.
What is SCP-055?
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
Can you show me a few examples please?IcyDiamond wrote:What I'm asking is that the guide should be able to show recipes for custom crafting types alongside default shaped, shapeless and cooking.
In some way it can. When your recipe is >3x3 items for example.Idk if this mod can support custom crafts like UI can
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
jp wrote:Can you show me a few examples please?IcyDiamond wrote:What I'm asking is that the guide should be able to show recipes for custom crafting types alongside default shaped, shapeless and cooking.
This is how it works in unified_inventory
Web developer | Systems Administrator
Re: [Mod] Crafting Guide [1.2.1] [craftguide]
awesome thank you !
Re: [Mod] Crafting Guide [1.3] [craftguide]
craftguide 1.3 released!
- Add a /craft command to show the recipe(s) of the pointed node.
- Add an API to display custom crafting recipes (read the documentation in the README).
Last edited by jp on Fri Jan 04, 2019 01:12, edited 1 time in total.
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.3] [craftguide]
Okay, so I took some time to take a look at this, and here's my complaints:jp wrote:Add an API to display custom crafting recipes (read the documentation in the README).
- "craftguide" should be a global variable.
- All items have been strictly coded to accept only strings. As soon as an ItemStack is passed, the mod crashes.
- There is no way to display item quantities. I guess it's not that big of a deal and it's hard to do, so I'll let it slide.
Last edited by IcyDiamond on Sun Dec 16, 2018 23:49, edited 2 times in total.
Web developer | Systems Administrator
Re: [Mod] Crafting Guide [1.3] [craftguide]
Oops, fixed.IcyDiamond wrote:You should make "craftguide" a global variable.
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.3] [craftguide]
Oh, sorry, I was mistaken on the quantities part. I realized that the quantity has to be included in the item string. I'd appreciate it if you supported ItemStacks, too. So far, thanks for implementing my request <3
Web developer | Systems Administrator
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.3] [craftguide]
Also, it would appear that the tooltip says "Unknown Item" when you include item quantity.
Web developer | Systems Administrator
Re: [Mod] Crafting Guide [1.3] [craftguide]
Fixed.IcyDiamond wrote:Also, it would appear that the tooltip says "Unknown Item" when you include item quantity.
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.3] [craftguide]
I highly recommend that you used ItemStacks, because not only can the constructor "ItemStack()" accept a string, it can also accept another ItemStack without throwing an error. Plus you have access to functions such as get_name() and get_count() without the need for any string matches! Your only point of concern may be groups, though, which need some special treatment, but otherwise, I highly suggest that you do.
Web developer | Systems Administrator
- IcyDiamond
- Member
- Posts: 175
- Joined: Fri Mar 30, 2018 08:55
- GitHub: LunaSquee
- IRC: IcyDiamond
- In-game: IcyDiamond
- Location: Estonia
- Contact:
Re: [Mod] Crafting Guide [1.3] [craftguide]
My server keeps crashing with this error:
Code: Select all
ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback on_playerReceiveFields(): /home/icynet/.minetest/bin/../mods/craftguide/init.lua:189: attempt to perform arithmetic on local 'width' (a nil value)
Web developer | Systems Administrator
Re: [Mod] Crafting Guide [1.3] [craftguide]
The API has changed, that's why it crashes. Check the README out.
Re: [Mod] Crafting Guide [1.3.1] [craftguide]
craftguide 1.3.1 released
- More consistence: the fuel-only items are grouped into the 'usages' (if there is any).
- Bug fixes, polishing.
- More consistence: the fuel-only items are grouped into the 'usages' (if there is any).
- Bug fixes, polishing.
- GamingAssociation39
- Member
- Posts: 858
- Joined: Mon Apr 25, 2016 16:09
- GitHub: Gerold55
- IRC: Gerold55
- In-game: Gerold55
- Location: Maryland, USA
Re: [Mod] Crafting Guide [1.3.1] [craftguide]
Any chances in making it into a laptop mod also???
Jesus Is Lord and Savior!!!
Re: [Mod] Crafting Guide [1.4] [craftguide]
craftguide 1.4 released!
- Lots of fixes, refactoring and optimizations.
- Added API functions for recipe filters. Recipe filters can be used to filter the recipes shown to players. The progressive filter, for example, is one of them and can be overriden. More infos in the API documentation.
- Discovered recipes in progressive mode are now remembered by default.
Last edited by jp on Wed Feb 13, 2019 13:54, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 38 guests