Jump to content

Recommended Posts

Umm, hello,

I am not really familiar with DST modding, so I wanted to ask people a question:
Can you give one item multiple crafting recipes? Like, for example using 6 rocks OR 8 grass to craft a placeholder item (Just for testing) and them being 2 different crafting recipes

Thanks for the responses beforehand!

On 5/17/2023 at 8:52 PM, KeiBorisov said:

Umm, hello,

I am not really familiar with DST modding, so I wanted to ask people a question:
Can you give one item multiple crafting recipes? Like, for example using 6 rocks OR 8 grass to craft a placeholder item (Just for testing) and them being 2 different crafting recipes

Thanks for the responses beforehand!


In this forum thread you can see examples

Spoiler

 

AddRecipe2("awesome_beardhair", -- name
    { -- ingredients
        GLOBAL.Ingredient("cutgrass", 1),
        GLOBAL.Ingredient("twigs", 1),
    },
    GLOBAL.TECH.SCIENCE_ONE, -- tech
    { -- config
        product = "beardhair",
        builder_tag = "bearded",
        numtogive = 3,
    },
    { -- filters
        "WEAPONS",
        "RAIN",
        "SUMMER",
    }
)

 

AddRecipe2("awesome_beardhair_2", -- name
    { -- ingredients
        GLOBAL.Ingredient("cutgrass", 1),
        GLOBAL.Ingredient("twigs", 1),
    },
    GLOBAL.TECH.SCIENCE_ONE, -- tech
    { -- config
        product = "beardhair",
        builder_tag = "bearded",
        numtogive = 3,
    },
    { -- filters
        "WEAPONS",
        "RAIN",
        "SUMMER",
    }
)

 

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...