Page 1 of 1

Clone Recipe help

Posted: Fri Sep 06, 2013 4:22 am
by Eleven Warrior
Hi Guys...

I would like to clone the recipies from the Assets Pack to incorporate Akromas items

Bloodreed
Dewdrop
Gaiabell
Nightbeed
Willow thorn

---This is the original recipe file ---

defineRecipe{
item = "potion_healing",
ingredients = {
1, "flask",
1, "tar_bead",
}
}

What I need is to Clone it to add Akromas ingredient.. The Herb is (nightbeed ) this + a flask makes a Healing Potion just like the Tar bead

then the rest oif the Herbs will be copy and paste and ill just change the Ingredients..

Thank You...

Re: Clone Recipe help

Posted: Fri Sep 06, 2013 9:28 am
by petri
Just place your new recipe definition in one of the files included by your mod's init.lua and it should work.

Re: Clone Recipe help

Posted: Fri Sep 06, 2013 3:26 pm
by msyblade
As petri says, just replace "tar_bead" in the script with "nightbeed", and make sure your init.lua imports the file that contains the script!

Re: Clone Recipe help

Posted: Sat Sep 07, 2013 4:24 am
by Eleven Warrior
Hi Petri and Mysblade..

Thank you for the information, I though it would be as simple as that...

(man what was I thinking--LOL)

Thxs again