Terra B Welch
Empress of Light
Plural. I use all of them except for the Chaindrill. Useful little tweaks that should be included by Re-Logic.
Chaindrill forever alone.
Plural. I use all of them except for the Chaindrill. Useful little tweaks that should be included by Re-Logic.
Chaindrill: If it involves C# then I wont do it, but if you can show me a .json format for a vanilla recipe then I can make a recipe for it.
If it involves C# then I wont do it, but if you can show me a .json format
If it involves C# then I wont do it
Chaindrill forever alone.
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TAPI;
using Terraria;
namespace INSERTINTERNALNAMEHERE.Items
{
public class Modbase : ModBase //Use ModBase instead of Items.
{
public override void OnLoad() //This will call the code when you load up the game.
{
Recipe.newRecipe.createItem.SetDefaults(1294, false); //This is where the item you want to add a recipe to goes. "1294" is the ID of the Picksaw.
Recipe.newRecipe.createItem.stack = 1; //This is how many are produced by this recipe.
Recipe.newRecipe.requiredItem.Add(new Item().SetDefaults( ItemDef.byName["InternalModName:ItemName"].type, false))
Recipe.newRecipe.requiredItem[2].stack = 1; //We need 1 Chaindrill.
Recipe.newRecipe.requiredTile.Add(114); //This is where the crafting station you need goes. "114" is the ID for the Tinkerer's Workshop.
Recipe.AddRecipe(); //This tidbit of code adds the recipe into the game.
}
}
}
Please don't necro dead threads.BEST MODE
It's not against the rules.Please don't necro dead threads.
It's just annoying to get notified about something I've never heard about, then it turns out that it was a very old thread. It's just sort of a pet peeve of mine, sorry.It's not against the rules.