• 0
Sign in to follow this  
MickScandalous

Adding/Modifying Recipes

Question

**EDIT** with the posted function I get a map now, the "picturedItem" doesnt show as anything though

 

Im trying to create a Recipe for a map using this function based off of the example in the config, it appears and I have the option but when i try it says not enough inventory even if i empty it all out except the Magazines...Please help

 

class Map: Exile_AbstractCraftingRecipe
{
    name = "Map";
    pictureItem = "ItemMap";
    returnedItems[] =
    {
        {1, "ItemMap"}
    };
    components[] = 
    {
        {1, Exile_Item_Magazine01},
        {1, Exile_Item_Magazine02},
        {1, Exile_Item_Magazine03},
        {1, Exile_Item_Magazine04},
    };
};
 

Edited by MickScandalous

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0
1 hour ago, MickScandalous said:

**EDIT** with the posted function I get a map now, the "picturedItem" doesnt show as anything though

 

Im trying to create a Recipe for a map using this function based off of the example in the config, it appears and I have the option but when i try it says not enough inventory even if i empty it all out except the Magazines...Please help

 

class Map: Exile_AbstractCraftingRecipe
{
    name = "Map";
    pictureItem = "ItemMap";
    returnedItems[] =
    {
        {1, "ItemMap"}
    };
    components[] = 
    {
        {1, Exile_Item_Magazine01},
        {1, Exile_Item_Magazine02},
        {1, Exile_Item_Magazine03},
        {1, Exile_Item_Magazine04},
    };
};
 

remove that last comma  {1, Exile_Item_Magazine04}

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.