Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Terraria;
- using Terraria.ID;
- using Terraria.ModLoader;
- using static Terraria.ModLoader.ModContent;
- namespace TestMod.Items.Armor
- {
- [AutoloadEquip(EquipType.Body)]
- public class ModdedChestplate : ModItem
- {
- public override void SetStaticDefaults()
- {
- base.SetStaticDefaults();
- DisplayName.SetDefault("Modded Chestplate");
- Tooltip.SetDefault("This is a modded chestplate.");
- }
- public override void SetDefaults()
- {
- item.width = 18;
- item.height = 18;
- item.value = 10;
- item.rare = 1;
- item.defense = 2;
- }
- public override void UpdateEquip(Player player)
- }
- public override void AddRecipes()
- {
- ModRecipe recipe = new ModRecipe(mod);
- recipe.AddIngredient(ItemID.DirtBlock, 10);
- recipe.SetResult(this);
- recipe.AddRecipe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement