Jump to content

Craft Helper 1.2


Omegapl

Recommended Posts

Hello 
Becouse Peanuts (creator of this mod) has been offline since december and no one is developing this mod anymore I (Omegapl) decided to take care of this mod and update it a little. :)
 
INFO
Get bored of pausing game to see if an item is a component of a recipe on your favorite pz wiki site ? This mod is for you. This mod will help you to learn the recipes of Project Zomboid.
 
SCREENSHOTS

1rt8.jpg

 
HOW TO USE IT:
CraftHelper offers two ways to learn recipes:

  • See all recipes where an item is used
  • See directly the complete list of recipes

All you have to do is :

  • Open your inventoryRight click on an item. If the item is used in or more recipes, the "craft helper" option will appear in the contextual menu
  • Click on the "craft helper" option to see all the recipes where the item is used.
  • Move the mouse over a recipe to see its composition in tooltip box

Or

  • Click on the new available button (to the left of screen, under character info button) to open a window where all recipes (sorted by name) are displayed. Like above, when your mouse is over a recipe, its composition will appear in a tooltip box.

In tooltip box (recipes composition), you'll see [+], [~] or [-] before items name.
[+] : means that you actually have this item in your inventory
[~] : means that you actually have this item in your inventory but not enough to craft recipe
[-] : means that you don't have this item in you inventory
 
If you have picked up some items and you want to check if you can craft something with them , press refresh button on the top of the window in which the list of recipes is.
 
Since version 1.5b there is CraftHelper menu available in recipes book . You can open it but pressing "O" button.Also you can add recipes to favorites by pressing right mouse button.
FOR MODDERS


Modders, you can hide your recipes from craft helper.
You'll need to create a module for your recipes.
 
 

module My_Mod{    recipe Make Foobar Recipe    {    foo=10,    bar,            Result: Foobar,    Time:80.0,    }}

 
 
Then, you have to put this line in your code:
 

if craftHelper ~= nil then    craftHelper.skipModules['My_Mod'] = true;end

 
Since v1.2 you are able to exclude some recipes from appearing in context menu and recipe list concerning an item.
Simply add item's name (not item's display name) in  IgnoreList = {} array.
Currently it is not case sensitive.
 


 

HOW TO INSTALL THIS MOD:
 
I have tested v.1.2 of this mod on build26 and 27 of pz and it worked on both of them.
I haven't tested previous builds.
Craft Helper (when loaded from mod directory on both sides client and server)
in multiplayer works only on build27 and up
Mod should work on Project Zomboid build 27 and up

  • Just extract the archive into your mods directory located at  <C:\Users\USERNAME\Zomboid\mods>
  • Turn it on in PZ's menu

LINKS

[v1.5g] Dropbox: http://adf.ly/1IFgQU v32.4

[v1.5f] Dropbox: http://adf.ly/1HwuYL temporary version for v32.2

[v1.5e] Dropbox: http://adf.ly/1Hqmhh
[v1.5b] Dropbox: http://adf.ly/w7SVA
[v1.4b] Dropbox: http://adf.ly/w7TLK  v30.8
[v1.4a] Dropbox: http://adf.ly/w7TLM  v29.4
[ v1.4 ] Dropbox: http://adf.ly/w7TLN
[ v1.3 ] Dropbox: http://adf.ly/w7TLP
[ v1.2 ] Dropbox: http://adf.ly/7222364/crafthelper1-2
 
Direct Link:

https://www.dropbox.com/s/tjgkh0w2fjelogw/CraftHelperv1_5g.zip?dl=0

https://www.dropbox.com/s/s3lci4cigge1c6z/CraftHelperv1_5f.zip?dl=0

https://www.dropbox.com/s/t7j839hxeflyxmw/CraftHelperv1_5e.zip?dl=0
https://www.dropbox.com/s/mdubxv48val2w7c/CraftHelperv1_5b.zip?dl=0
https://www.dropbox.com/s/4kwa9n320ihrkm3/CraftHelperv1_4b.zip?dl=0
https://www.dropbox.com/s/t66c7gr4gnihnus/CraftHelperv1_4a.zip?dl=0
https://www.dropbox.com/s/ebntgd608ocxt48/CraftHelperv1_4.zip?dl=0
https://www.dropbox.com/s/fs5zzs9oljwfpj6/CraftHelperv1_3.zip
https://www.dropbox.com/s/zgvisllojsf5vrt/CraftHelper.zip
 
https://www.dropbox.com/s/lc376lj71az6c1q/cccp%20CH%20fixv2.zip
 


 

I don't want you to place these mod versions anywhere else.
If you want to put my mod on other site put this download link not your own.

 
cccp fixv2: http://cur.lv/b2k24
 
It allows to run mod with cccp[v0.6] without errors.
Just extract content of "cccp CH fix" directory to mods folder in your documents and overwrite every file.
cccp mod: http://theindiestone.com/forums/index.php/topic/7385-cccp-consolidated-culinary-community-project-beta/
 
Donation

If you love my mod and want to support what I am doing you can donate:

Donation is by all means not necessary to use my mod. Everyone can download it and play as much as you want to :)

 


[Outdated v1.1.1]


CHANGELOG

  • v1.5g All features are back again.
  • v1.5f released for PZ v32.2 experimental in that version evolved recipes aren't shown and craft helper doesnt show if item can be filled with water. 
  • v1.5e Solved spam of errors in console. Bugfixes. Compatibility with other mods fix.
  • v1.5b Added CraftHelper options menu which can be opened by "O" button next to close button. You can sort recipes list by result name or recipe name. Also you can switch between displaying result name and recipe name .
    You can now add recipes to favorites by clicking right mouse button when pointing on your often used recipe and then clicking on small button which pops up.
    There is option in CraftHelper  menu to display favorite recipes at the beginning of the list and option to display favorites only.
    Your favorites are saved on hard drive in "(,,,)\Zomboid\Lua\CraftHelper\Favoritelist.dat" and are loaded up when you start to play again. When you have mods adding recipes and you add to favorites some of these recipes, these recipes are kept saved when mod is switched off.
    And of couse I've made images for these buttons 
  • v1.4: CraftHelper now loads Evolved Recipes too (soups,sandwitches etc) 
    Water fillable items have now info (blue) in recipe list
    Recipes in which can be used water contained in other items are now shown in the recipe list
    Bugfixes
  • v1.3: Brough back feature: green highlighting of recipes when all needed items are in inventory,
    Proper names of items are now shown on the tooltip.
    Added "refresh button" which when pressed rechecks your inventory and available recipes.
    Icon of item created in a recipe is shown on the tooltip again.
    Mod uses much less CPU then in v1.1 ,when using mods which add big amount of recipes.
  • v1.2: updated to build27 .
    For modders it is now possible, by adding item's name to the IgnoreList = {} ,to exclude recipes concerning an item. [beware in current version it removes whole recipe from the mod, but it's still craftable in-game].
    Minor bugfixes.
  • v1.1.1 : compatible with new mods loading system of PZ 2.9.9.17
  • v1.1 : Show recipes you can craft with what you actually have in your inventory. For each recipes, show in tooltip box what items or not you have in your inventory.
    For modders, possibility to hide your recipes in Craft Helper (filter by items module name)
  • v1.0.3 : Craft Helper window's background is now opaque (transparent background can make reading difficult recipes when multiple windows are open
  • v1.0.2 : Now that the new PZ version (v2.9.9.10) is released on Desura, hotfix is included in v1.0.2 archive
  • Hotfix : Makes CraftHelper compatible with PZ v2.9.9 (forum test release)
  • v1.0.1 : Now works on Linux
  • v1.0 : Initial release
Link to comment
Share on other sites

  • 2 weeks later...

New update available (v1.3)

  • v1.3: Brough back feature: green highlighting of recipes when all needed items are in inventory,
    Proper names of items are now shown on the tooltip.
    Added "refresh button" which when pressed rechecks your inventory and available recipes.
    Icon of item created in a recipe is shown on the tooltip again.
    Mod uses much less CPU then in v1.1 ,when using mods which add big amount of recipes.
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Craft Helper 1.3 does not run on build 28, is that right?

Also the installation instructions in the readme file are misleading. It says to go to <C:\Users\USERNAME\Zomboid\mods> where the mods directory should be located but that is not true for the steam version... is it? The only place I could find to put mods to was E:\Steam\SteamApps\common\ProjectZomboid\mods but when I put Craft Helper there it does not even show up in the modloader

Link to comment
Share on other sites

Mods are to be installed in c:\users\username\zomboid\mods on both Steam and non-Steam versions. If a mod doesn't show up that way, it is most likely not up to date.

Are you sure?

I do not have a folder C:\users\username\zomboid . It's also not under C:\Users\Benutzer01\AppData\Local where I suspected it first... so where is it? I am puzzled. ^^

 

Update 1:

I found it! It's under D:\Michael\Zomboid ! Apparently it always uses some kind of standard folder which can be relocated. In my case C:\ is a relatively small SSD and when installing Windows 8 I tried to change all kinds of default path away from that way-too-small SSD... I guess that's where my problem originated from. Thanks for your help. :)

Edited by MikeExp
Link to comment
Share on other sites

  • 3 weeks later...

2 additional questions:

 

1. Where exactly is this "refresh button"?

 

2. Does CraftHelper really include all recipes? (I am playing build 28)

1. It's next to pin button (It changes color when clicked)

2. It might not contain some of recipes using water . If they werent loaded that means they would couse errors. You can check how many recipes havent loaded in console if you have it. On clean build without mods 7 recipes dont load

Link to comment
Share on other sites

Excellent, many thanks for this. I for one don't really enjoy having to use trial and error for crafting, or referring to websites etc - it's what put me off Minecraft. This is improving the experience greatly for me :)

 

thanks

Matt

Link to comment
Share on other sites

  • 1 month later...

 

Will this work with build 29?

 

This sounds incredible...

I've tried it on build 29 and it worked.

 

 

Fantastic work on this mod Omega.

 

I tried it out with build 30 beta and it sseems to still work as well, although I noticed the new medical items didnt seem to show craft helper in their right click context menu's.

 

Also pots/kettles/frying pans did not seem to have craft helper menus either, is this just because its not working with food crafting?

 

Either way this mod really opens up the game, as knowing there are tons of things to craft but not having any clues or hints what I need can be frustrating, and checking the wiki is spoiler territory.

So thanks again.

Link to comment
Share on other sites

Fantastic work on this mod Omega.

 

I tried it out with build 30 beta and it sseems to still work as well, although I noticed the new medical items didnt seem to show craft helper in their right click context menu's.

 

Also pots/kettles/frying pans did not seem to have craft helper menus either, is this just because its not working with food crafting?

 

Either way this mod really opens up the game, as knowing there are tons of things to craft but not having any clues or hints what I need can be frustrating, and checking the wiki is spoiler territory.

So thanks again.

 

 

I will look why items dont show up context menu as soon as I find some free time :)

Link to comment
Share on other sites

New update available (v1.4)

  • v1.4: CraftHelper now loads Evolved Recipes too (soups,sandwitches etc) 
    Water fillable items have now info (blue) in recipe list
    Recipes in which can be used water contained in other items are now shown in the recipe list
    Bugfixes
Link to comment
Share on other sites

They slightly changed the way textures were loading in 29.4 becouse I was using 29.3 I didnt notice untill now

I already fixed it and Im uploading files
About recipes I dont know what do you mean . I've checked it and these recipes were there. 

Are you using other mods ? If yes which ones? 

These recipes have similar color to this one.

Link to comment
Share on other sites

OK, it works now, thank you! =D And apparently the recipes not showing was a conflict or something, because reinstalling fixed it.

 

Just so you know though, the hyperlink for 1.4a links to 1.4. The actual text is right, but the hyperlink isn't.

Thats strange . Also, can you tell me which mod was causing conflict ?

Link to comment
Share on other sites

  • 2 weeks later...

Two things! First off, can you please add a link that doesn't direct me to some "Coin URL" as per the forum rules? I am by no means a moderator or anything so there is no consequence to not doing so, but would be nice if you did :)
 
"Ad revenue links are ONLY allowed if you also provide a direct link to the download." http://theindiestone.com/forums/index.php/topic/54-modding-rules-guidelines/

 

And it looks like this error is caused by the items in the farming.txt file being used in the new canning recipes. I looked at a way of fixing it but only thing that worked was adding the items to the ignore list in the crafthelper.lua file.

 

Here is the change I made:

IgnoreList = {'SaladBoringitem', 'CmashedpotatosBowl', 'Water', 'DeadBird', 'm9Bayonet', 'Tomato', "Potato", "RedRadish", "Cabbage"}

It stops the errors, but the CraftHelper recipe still won't be able to tell if you have these items in your inventory or not.

Link to comment
Share on other sites

Two things! First off, can you please add a link that doesn't direct me to some "Coin URL" as per the forum rules? I am by no means a moderator or anything so there is no consequence to not doing so, but would be nice if you did :)

 

"Ad revenue links are ONLY allowed if you also provide a direct link to the download." http://theindiestone.com/forums/index.php/topic/54-modding-rules-guidelines/

 

[snip]

 

We'd rather you just reported things like this, and let us deal with them our way :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...