Venka Crafting Script 3.8 with Item Hues

Hi all, I'm looking for an item icon hue/color changing script that works with Venka's Crafting Script 3.8
as I need to color change ores/bars icons to be different colors for crafting tiers.

At the moment I have Modern Algebras Icon Hues script but it's clashing with the icon hues call part of Venka's script
(if $imported && $imported[:MAIcon_Hue]
draw_icon_with_hue(@recipe.crafted_item.icon_index,
@recipe.crafted_item.icon_hue, x, y, enabled))
I get a script error for this area whenever I attempt to open a craft page with the Item Hues script installed.
I remember someone talking about an item hue script that was patched for the crafting script, or how to patch one.
Cheers
Please post links to the scripts you're using.

And if you're getting an error, post what the error message is.
https://forums.rpgmakerweb.com/index.php?threads/crafting-script-v3-8-updated-2-26-2015.17560/
and
http://rmrk.net/index.php?topic=44614.0
with error code:
error.jpg
In my testing I've changed a few things so far. 1 is a typo.
Crafting script where you got the error.
Line 1072 change enabled to current_item_enabled?
same for Craft and decompile line 812 chance enabled to current_item_enabled?
also
for craft & decompile line 695. There is a typo. change to rect.y

Adding in a method gets it working.
Add this above def draw_craft_number(x, y, w, h) on line 1065
Code:
  #----------------------------------------------------------------------------
  # ○ new method: enabled?
  #----------------------------------------------------------------------------
  def enabled?
    $game_party.has_item?(@item) && $game_party.gold >= item.decon_fee
  end
then change the enabled to enabled? in craft & decomile line 812 and the main script v3.8 line 1078
So far with those changes the project is running.
Not sure if it will cause problems later, but it's the second test that worked.
Awesome, thankyou so much!

I'm currently not running decomile add on but may add it in future so thankyou.

I have changed line 1078 to

draw_icon_with_hue(@recipe.crafted_item.icon_index,
@recipe.crafted_item.icon_hue, x, y, enabled?)
and added your script patch to v3.8.

So far everything seems to be running smoothly.

Original thread: https://forums.rpgmakerweb.com/threads/venka-crafting-script-3-8-with-item-hues.111954/