Jump to content

Recommended Posts

just wanna know how to make this happen.

say I find two great character mods: the first character has really cool item recipes but bad character design, while the second character has a good character design but with little to no custom item recipes.

I want to get the recipes from the first character and transfer them over to anyone else I play, whether it's through commands or making blueprints, etc.

any way to make this happen?

If you want to do this without making changes to the mods, you will need to run some commands each time you start the server and if a player goes to the caves and back, as the character mod has probably a tag added so that only they can see and build the recipes.

You can add a recipe by running AllPlayers[number].components.builder:AddRecipe("prefabname of item"). If you want to add the tag to a player, you can run AllPlayers[number]:AddTag("tag").

If you want to this by changing the mod files, you can just remove the tag that is specified in the recipes and change the recipetab if it uses a custom one.

For example:

Spoiler

AddRecipe("hylianshield", 
{ 	Ingredient("moonrocknugget", 40),
	Ingredient("moonglass", 40),
	Ingredient("orangegem", 3),
	Ingredient("thulecite", 10)}, 
	CUSTOMTAB, --tab where it appears
	TECH.ANCIENT_FOUR, nil, nil, true, nil, 
  "hylianshieldcrafter", --tag that the character needs to craft it
  "images/inventoryimages/hylianshield.xml")

--would be changed to this

AddRecipe("hylianshield", 
{ 	Ingredient("moonrocknugget", 40),
	Ingredient("moonglass", 40),
	Ingredient("orangegem", 3),
	Ingredient("thulecite", 10)}, 
	RECIPETABS.WAR, --change to an base recipetab so that everyone can make it
	TECH.ANCIENT_FOUR, nil, nil, true, nil,
    nil, --set to nil so you don't need a tag
    "images/inventoryimages/hylianshield.xml")

 

 

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