1 - Calamity boss summons are all not consumable, but require more to craft.
This commit is contained in:
1 parent
fd34f6282f
commit
92ebf877bd
18 files changed
+81
-69
No files matched your search
@@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
DisplayName.SetDefault("Death Whistle");
|
||||
Tooltip.SetDefault("A very old temple whistle\n" +
|
||||
"Summons the Ravager");
|
||||
"Summons the Ravager\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -23,7 +24,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -49,8 +50,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.LunarTabletFragment, 5);
|
||||
recipe.AddIngredient(ItemID.LihzahrdBrick, 10);
|
||||
recipe.AddIngredient(ItemID.LunarTabletFragment, 15);
|
||||
recipe.AddIngredient(ItemID.LihzahrdBrick, 25);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -12,7 +12,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Astral Chunk");
|
||||
Tooltip.SetDefault("Summons Astrum Aureus");
|
||||
Tooltip.SetDefault("Summons Astrum Aureus\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -24,7 +25,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -50,8 +51,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Stardust>(), 15);
|
||||
recipe.AddIngredient(ItemID.FallenStar, 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<Stardust>(), 30);
|
||||
recipe.AddIngredient(ItemID.FallenStar, 20);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Events;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.NPCs.Bumblebirb;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -10,7 +11,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Exotic Pheromones");
|
||||
Tooltip.SetDefault("Attracts the failed draconic experiment");
|
||||
Tooltip.SetDefault("Attracts the failed draconic experiment\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -22,7 +24,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -44,8 +46,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.LunarBar, 3);
|
||||
recipe.AddIngredient(ItemID.FragmentSolar, 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<BarofLife>(), 5);
|
||||
recipe.AddIngredient(ItemID.FragmentSolar, 20);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -12,7 +12,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Bloody Worm Food");
|
||||
Tooltip.SetDefault("Summons the Perforator Hive");
|
||||
Tooltip.SetDefault("Summons the Perforator Hive\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -24,7 +25,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -46,9 +47,9 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Vertebrae, 9);
|
||||
recipe.AddIngredient(ModContent.ItemType<BloodSample>(), 5);
|
||||
recipe.AddIngredient(ItemID.CrimtaneBar, 2);
|
||||
recipe.AddIngredient(ItemID.Vertebrae, 13);
|
||||
recipe.AddIngredient(ModContent.ItemType<BloodSample>(), 7);
|
||||
recipe.AddIngredient(ItemID.CrimtaneBar, 3);
|
||||
recipe.AddTile(TileID.DemonAltar);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Portabulb");
|
||||
Tooltip.SetDefault("Summons Plantera");
|
||||
Tooltip.SetDefault("Summons Plantera\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -23,7 +24,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.rare = ItemRarityID.Lime;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
DisplayName.SetDefault("Charred Idol");
|
||||
Tooltip.SetDefault("Use in the Brimstone Crag at your own risk\n" +
|
||||
"Summons the Brimstone Elemental\n" +
|
||||
"The boss enrages outside of her home in the crags");
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -50,9 +50,9 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SoulofNight, 3);
|
||||
recipe.AddIngredient(ModContent.ItemType<EssenceofChaos>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<UnholyCore>());
|
||||
recipe.AddIngredient(ItemID.SoulofNight, 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<EssenceofChaos>(), 7);
|
||||
recipe.AddIngredient(ModContent.ItemType<UnholyCore>(), 2);
|
||||
recipe.AddTile(TileID.AdamantiteForge);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using CalamityMod.Events;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.NPCs.Yharon;
|
||||
using CalamityMod.World;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -6,7 +6,6 @@ using Microsoft.Xna.Framework;
|
||||
using System.Collections.Generic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.Localization;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.SummonItems
|
||||
|
||||
@@ -10,7 +10,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Decapodita Sprout");
|
||||
Tooltip.SetDefault("Summons Crabulon");
|
||||
Tooltip.SetDefault("Summons Crabulon\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -22,7 +23,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -48,7 +49,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.GlowingMushroom, 25);
|
||||
recipe.AddIngredient(ItemID.GlowingMushroom, 50);
|
||||
recipe.AddTile(TileID.DemonAltar);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Draedon's Remote");
|
||||
Tooltip.SetDefault("Mayhem...");
|
||||
Tooltip.SetDefault("Mayhem...\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -23,7 +24,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
|
||||
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
DisplayName.SetDefault("Desert Medallion");
|
||||
Tooltip.SetDefault("The desert sand stirs...\n" +
|
||||
"Summons the Desert Scourge");
|
||||
"Summons the Desert Scourge\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -26,7 +27,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -61,10 +62,10 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.SandBlock, 15);
|
||||
recipe.AddIngredient(ItemID.AntlionMandible, 3);
|
||||
recipe.AddIngredient(ItemID.Cactus, 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<StormlionMandible>());
|
||||
recipe.AddIngredient(ItemID.SandBlock, 25);
|
||||
recipe.AddIngredient(ItemID.Cactus, 15);
|
||||
recipe.AddIngredient(ItemID.AntlionMandible, 4);
|
||||
recipe.AddIngredient(ModContent.ItemType<StormlionMandible>(), 2);
|
||||
recipe.AddTile(TileID.DemonAltar);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -56,7 +56,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Phantoplasm>(), 100);
|
||||
recipe.AddIngredient(ItemID.SpookyWood, 25);
|
||||
recipe.AddIngredient(ModContent.ItemType<Phantoplasm>(), 50);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Old Power Cell");
|
||||
Tooltip.SetDefault("Summons the ancient golem when used in the Temple");
|
||||
Tooltip.SetDefault("Summons the Golem when used in the Temple\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -23,21 +24,19 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
{
|
||||
bool canSummon = false;
|
||||
if ((double)player.Center.Y > Main.worldSurface * 16.0)
|
||||
if (player.Center.Y > Main.worldSurface * 16.0)
|
||||
{
|
||||
int num = (int)player.Center.X / 16;
|
||||
int num2 = (int)player.Center.Y / 16;
|
||||
Tile tile = Framing.GetTileSafely(num, num2);
|
||||
if (tile.wall == 87)
|
||||
{
|
||||
canSummon = true;
|
||||
}
|
||||
}
|
||||
return canSummon && !NPC.AnyNPCs(NPCID.Golem) && !BossRushEvent.BossRushActive;
|
||||
}
|
||||
@@ -56,8 +55,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.LunarTabletFragment, 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<EssenceofCinder>(), 5);
|
||||
recipe.AddIngredient(ItemID.LunarTabletFragment, 20);
|
||||
recipe.AddIngredient(ModContent.ItemType<EssenceofCinder>(), 10);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
DisplayName.SetDefault("Overloaded Sludge");
|
||||
Tooltip.SetDefault("It looks corrupted\n" +
|
||||
"Summons the Slime God");
|
||||
"Summons the Slime God\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -25,7 +26,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -48,13 +49,13 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 25);
|
||||
recipe.AddRecipeGroup("AnyEvilBlock", 25);
|
||||
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 40);
|
||||
recipe.AddRecipeGroup("AnyEvilBlock", 40);
|
||||
recipe.AddTile(TileID.DemonAltar);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<PurifiedGel>(), 25);
|
||||
recipe.AddIngredient(ModContent.ItemType<PurifiedGel>(), 40);
|
||||
recipe.AddTile(TileID.DemonAltar);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
DisplayName.SetDefault("Profaned Shard");
|
||||
Tooltip.SetDefault("A shard of the unholy flame\n" +
|
||||
"Summons the Profaned Guardians\n" +
|
||||
"Can only be used during daytime");
|
||||
"Can only be used during daytime\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -25,7 +26,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
item.rare = ItemRarityID.Purple;
|
||||
}
|
||||
|
||||
@@ -48,8 +49,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<UnholyEssence>(), 15);
|
||||
recipe.AddIngredient(ItemID.LunarBar, 3);
|
||||
recipe.AddIngredient(ModContent.ItemType<UnholyEssence>(), 25);
|
||||
recipe.AddIngredient(ItemID.LunarBar, 5);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -9,7 +9,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Sandstorm's Core");
|
||||
Tooltip.SetDefault("Summons the Great Sand Shark");
|
||||
Tooltip.SetDefault("Summons the Great Sand Shark\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -21,7 +22,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -43,10 +44,10 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2);
|
||||
recipe.AddIngredient(ItemID.Ectoplasm, 5);
|
||||
recipe.AddIngredient(ItemID.Ectoplasm, 10);
|
||||
recipe.AddIngredient(ItemID.HallowedBar, 5);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 3);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
|
||||
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
DisplayName.SetDefault("Seafood");
|
||||
Tooltip.SetDefault("The sulphuric sand stirs...\n" +
|
||||
"Summons the Aquatic Scourge");
|
||||
"Summons the Aquatic Scourge\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -26,7 +27,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -49,9 +50,9 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<SulphurousSand>(), 10);
|
||||
recipe.AddIngredient(ItemID.Starfish, 5);
|
||||
recipe.AddIngredient(ItemID.SharkFin);
|
||||
recipe.AddIngredient(ModContent.ItemType<SulphurousSand>(), 20);
|
||||
recipe.AddIngredient(ItemID.Starfish, 10);
|
||||
recipe.AddIngredient(ItemID.SharkFin, 5);
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
@@ -12,7 +12,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Teratoma");
|
||||
Tooltip.SetDefault("Summons the Hive Mind");
|
||||
Tooltip.SetDefault("Summons the Hive Mind\n" +
|
||||
"Not consumable");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -24,7 +25,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
item.useAnimation = 45;
|
||||
item.useTime = 45;
|
||||
item.useStyle = ItemUseStyleID.HoldingUp;
|
||||
item.consumable = true;
|
||||
item.consumable = false;
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -46,9 +47,9 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.RottenChunk, 9);
|
||||
recipe.AddIngredient(ModContent.ItemType<TrueShadowScale>(), 5);
|
||||
recipe.AddIngredient(ItemID.DemoniteBar, 2);
|
||||
recipe.AddIngredient(ItemID.RottenChunk, 13);
|
||||
recipe.AddIngredient(ModContent.ItemType<TrueShadowScale>(), 7);
|
||||
recipe.AddIngredient(ItemID.DemoniteBar, 3);
|
||||
recipe.AddTile(TileID.DemonAltar);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
Reference in new issue
Block a user