Jump to content

Recommended Posts

Hey guys. I'm working on a custom character mod and I want to put custom crock pot recipes that only works with my custom character. I don't know how to do this, could someone please help me with scripts?

Is there a way that the recipe only works with a tag that only my character has? Sorry, i'm such a noob at this.

AddRecipe(name, ingredients, tab, level, placer_or_more_data, min_spacing, nounlock, numtogive, builder_tag, atlas, image, testfn, product, build_mode, build_distance)

These are the arguments you can give the game with AddRecipe. The one you are looking for is builder_tag.

Example usage:

AddRecipe("chest", 
{ 	Ingredient("rope", 2), 
	Ingredient("papyrus", 2),
	Ingredient("honeycomb", 1)}, 
	RECIPETABS.REFINE,
	TECH.SCIENCE_TWO, nil, nil, nil, nil, "your_character_tag")

 

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