Cleaned up all Magic Weapon recipe code.
This commit is contained in:
1 parent
570ecf4f41
commit
aba3f3090a
94 files changed
+809
-248
No files matched your search
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -50,7 +50,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<SulfuricScale>(), 10).AddIngredient(ModContent.ItemType<Acidwood>(), 35).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<SulfuricScale>(10).
|
||||
AddIngredient<Acidwood>(35).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -86,7 +86,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<Genisis>()).AddIngredient(ModContent.ItemType<Wingman>(), 2).AddIngredient(ModContent.ItemType<GalacticaSingularity>(), 5).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 10).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<Genisis>().
|
||||
AddIngredient<Wingman>(2).
|
||||
AddIngredient<GalacticaSingularity>(5).
|
||||
AddIngredient<CosmiliteBar>(10).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -65,7 +65,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<IonBlaster>()).AddIngredient(ItemID.LunarBar, 5).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<IonBlaster>().
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Items.Weapons.Summon;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
@@ -49,7 +49,16 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpellTome).AddIngredient(ModContent.ItemType<CosmicDischarge>()).AddIngredient(ModContent.ItemType<StaffoftheMechworm>(), 2).AddIngredient(ModContent.ItemType<Excelsus>(), 2).AddIngredient(ModContent.ItemType<AscendantSpiritEssence>(), 11).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 33).AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpellTome).
|
||||
AddIngredient<CosmicDischarge>().
|
||||
AddIngredient<StaffoftheMechworm>(2).
|
||||
AddIngredient<Excelsus>(2).
|
||||
AddIngredient<AscendantSpiritEssence>(11).
|
||||
AddIngredient<CosmiliteBar>(33).
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -53,8 +53,18 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.RubyStaff).AddIngredient(ModContent.ItemType<SeaPrism>(), 5).AddIngredient(ModContent.ItemType<Navystone>(), 25).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe(1).AddIngredient(ItemID.DiamondStaff).AddIngredient(ModContent.ItemType<SeaPrism>(), 5).AddIngredient(ModContent.ItemType<Navystone>(), 25).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RubyStaff).
|
||||
AddIngredient<SeaPrism>(5).
|
||||
AddIngredient<Navystone>(25).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.DiamondStaff).
|
||||
AddIngredient<SeaPrism>(5).
|
||||
AddIngredient<Navystone>(25).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -39,7 +39,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<GleamingMagnolia>()).AddIngredient(ItemID.FragmentNebula, 10).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<GleamingMagnolia>().
|
||||
AddIngredient(ItemID.FragmentNebula, 10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -41,7 +41,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.RainbowRod).AddIngredient(ItemID.LargeRuby).AddIngredient(ItemID.CrystalShard).AddIngredient(ModContent.ItemType<CalamityDust>(), 5).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RainbowRod).
|
||||
AddIngredient(ItemID.LargeRuby).
|
||||
AddIngredient(ItemID.CrystalShard).
|
||||
AddIngredient<CalamityDust>(5).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -91,7 +91,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.MeteorStaff).AddIngredient(ItemID.LunarBar, 5).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.MeteorStaff).
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -42,11 +42,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOrigin() => new Vector2(15, 15);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<AstralBar>(), 6).AddTile(TileID.LunarCraftingStation).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 spawnPos = new Vector2(player.MountedCenter.X + Main.rand.Next(-200, 201), player.MountedCenter.Y - 600f);
|
||||
@@ -60,5 +55,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AstralBar>().
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -65,7 +65,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<EldritchTome>()).AddIngredient(ModContent.ItemType<TomeofFates>()).AddIngredient(ItemID.ShadowFlameHexDoll).AddIngredient(ModContent.ItemType<GalacticaSingularity>(), 5).AddIngredient(ItemID.LunarBar, 5).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<EldritchTome>().
|
||||
AddIngredient<TomeofFates>().
|
||||
AddIngredient(ItemID.ShadowFlameHexDoll).
|
||||
AddIngredient<GalacticaSingularity>(5).
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
@@ -40,11 +40,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOrigin() => new Vector2(15, 15);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<BloodSample>(), 8).AddIngredient(ItemID.Vertebrae, 3).AddIngredient(ItemID.CrimtaneBar, 2).AddTile(TileID.DemonAltar).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
float num72 = Item.shootSpeed;
|
||||
@@ -101,5 +96,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodSample>(8).
|
||||
AddIngredient(ItemID.Vertebrae, 3).
|
||||
AddIngredient(ItemID.CrimtaneBar, 2).
|
||||
AddTile(TileID.DemonAltar).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Terraria.ID;
|
||||
@@ -40,7 +40,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SapphireStaff).AddIngredient(ModContent.ItemType<Phantoplasm>(), 10).AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SapphireStaff).
|
||||
AddIngredient<Phantoplasm>(10).
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -40,7 +40,10 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<UnholyCore>(), 6).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<UnholyCore>(6).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -36,7 +36,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpellTome).AddIngredient(ModContent.ItemType<UnholyCore>(), 5).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpellTome).
|
||||
AddIngredient<UnholyCore>(5).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -42,7 +42,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.CrimsonRod).AddIngredient(ItemID.MagicMissile).AddIngredient(ItemID.WandofSparking).AddIngredient(ItemID.AmberStaff).AddIngredient(ModContent.ItemType<BloodSample>(), 15).AddIngredient(ModContent.ItemType<PurifiedGel>(), 10).AddTile(TileID.DemonAltar).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.CrimsonRod).
|
||||
AddIngredient(ItemID.MagicMissile).
|
||||
AddIngredient(ItemID.WandofSparking).
|
||||
AddIngredient(ItemID.AmberStaff).
|
||||
AddIngredient<BloodSample>(15).
|
||||
AddIngredient<PurifiedGel>(10).
|
||||
AddTile(TileID.DemonAltar).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -105,7 +105,13 @@ Fires night wyverns and stars from the sky that stick to enemies and tiles and e
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<WyvernsCall>()).AddIngredient(ModContent.ItemType<Lumenite>(), 6).AddIngredient(ModContent.ItemType<RuinousSoul>(), 5).AddIngredient(ModContent.ItemType<ExodiumClusterOre>(), 10).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<WyvernsCall>().
|
||||
AddIngredient<Lumenite>(6).
|
||||
AddIngredient<RuinousSoul>(5).
|
||||
AddIngredient<ExodiumClusterOre>(10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -62,7 +62,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<MagneticMeltdown>()).AddIngredient(ModContent.ItemType<DarksunFragment>(), 8).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<MagneticMeltdown>().
|
||||
AddIngredient<DarksunFragment>(8).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -36,7 +36,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<VictideBar>(), 2).AddIngredient(ItemID.Coral, 5).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<VictideBar>(2).
|
||||
AddIngredient(ItemID.Coral, 5).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -36,11 +36,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.shootSpeed = 18f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.RainbowGun).AddIngredient(ItemID.PearlwoodBow).AddIngredient(ModContent.ItemType<MeldiateBar>(), 5).AddIngredient(ModContent.ItemType<CoreofCalamity>()).AddIngredient(ModContent.ItemType<BarofLife>(), 5).AddTile(TileID.LunarCraftingStation).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 vector = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
@@ -109,5 +104,17 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RainbowGun).
|
||||
AddIngredient(ItemID.PearlwoodBow).
|
||||
AddIngredient<MeldiateBar>(5).
|
||||
AddIngredient<CoreofCalamity>().
|
||||
AddIngredient<BarofLife>(5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -41,7 +41,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.FrostStaff).AddIngredient(ItemID.FrostCore).AddIngredient(ModContent.ItemType<CoreofEleum>(), 3).AddIngredient(ModContent.ItemType<VerstaltiteBar>(), 8).AddIngredient(ModContent.ItemType<SeaPrism>(), 10).AddTile(TileID.IceMachine).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.FrostStaff).
|
||||
AddIngredient(ItemID.FrostCore).
|
||||
AddIngredient<CoreofEleum>(3).
|
||||
AddIngredient<VerstaltiteBar>(8).
|
||||
AddIngredient<SeaPrism>(10).
|
||||
AddTile(TileID.IceMachine).Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -52,7 +52,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.LastPrism).AddIngredient(ModContent.ItemType<DarkPlasma>(), 10).AddIngredient(ModContent.ItemType<RuinousSoul>(), 20).AddIngredient(ModContent.ItemType<DivineGeode>(), 30).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.LastPrism).
|
||||
AddIngredient<DarkPlasma>(10).
|
||||
AddIngredient<RuinousSoul>(20).
|
||||
AddIngredient<DivineGeode>(30).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -36,7 +36,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<Tradewinds>()).AddRecipeGroup("AnyAdamantiteBar", 5).AddIngredient(ItemID.AncientBattleArmorMaterial).AddIngredient(ItemID.FossilOre, 25).AddIngredient(ModContent.ItemType<DesertFeather>(), 5).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<Tradewinds>().
|
||||
AddRecipeGroup("AnyAdamantiteBar", 5).
|
||||
AddIngredient(ItemID.AncientBattleArmorMaterial).
|
||||
AddIngredient(ItemID.FossilOre, 25).
|
||||
AddIngredient<DesertFeather>(5).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
@@ -92,7 +92,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<UndinesRetribution>()).AddIngredient(ModContent.ItemType<DivineGeode>(), 8).AddIngredient(ModContent.ItemType<UeliaceBar>(), 6).AddIngredient(ModContent.ItemType<UnholyEssence>(), 10).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<UndinesRetribution>().
|
||||
AddIngredient<DivineGeode>(8).
|
||||
AddIngredient<UeliaceBar>(6).
|
||||
AddIngredient<UnholyEssence>(10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -51,7 +51,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.BubbleGun).AddIngredient(ItemID.Xenopopper).AddIngredient(ItemID.LunarBar, 5).AddIngredient(ModContent.ItemType<SeaPrism>(), 15).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.BubbleGun).
|
||||
AddIngredient(ItemID.Xenopopper).
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddIngredient<SeaPrism>(15).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -82,7 +82,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<TerraRay>()).AddIngredient(ModContent.ItemType<GalacticaSingularity>(), 5).AddIngredient(ItemID.LunarBar, 5).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<TerraRay>().
|
||||
AddIngredient<GalacticaSingularity>(5).
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,17 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
+ 108.ToString("X2") + 251.ToString("X2") + ":";
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<SeethingDischarge>()).AddIngredient(ModContent.ItemType<SlitheringEels>()).AddIngredient(ModContent.ItemType<GammaFusillade>()).AddIngredient(ModContent.ItemType<PrimordialAncient>()).AddIngredient(ModContent.ItemType<Heresy>()).AddIngredient(ModContent.ItemType<DarkPlasma>(), 20).AddIngredient(ItemID.UnicornHorn, 5).AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<SeethingDischarge>().
|
||||
AddIngredient<SlitheringEels>().
|
||||
AddIngredient<GammaFusillade>().
|
||||
AddIngredient<PrimordialAncient>().
|
||||
AddIngredient<Heresy>().
|
||||
AddIngredient<DarkPlasma>(20).
|
||||
AddIngredient(ItemID.UnicornHorn, 5).
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -54,7 +54,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<Starfall>()).AddIngredient(ModContent.ItemType<NuclearFury>()).AddIngredient(ModContent.ItemType<RelicofRuin>()).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 8).AddIngredient(ModContent.ItemType<DarksunFragment>(), 8).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<Starfall>().
|
||||
AddIngredient<NuclearFury>().
|
||||
AddIngredient<RelicofRuin>().
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddIngredient<DarksunFragment>(8).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -36,8 +36,16 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.GoldenShower).AddIngredient(ModContent.ItemType<DraedonBar>(), 3).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe(1).AddIngredient(ItemID.CursedFlames).AddIngredient(ModContent.ItemType<DraedonBar>(), 3).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.GoldenShower).
|
||||
AddIngredient<DraedonBar>(3).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.CursedFlames).
|
||||
AddIngredient<DraedonBar>(3).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Terraria;
|
||||
@@ -44,7 +44,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.RainbowRod).AddIngredient(ModContent.ItemType<Phantoplasm>(), 10).AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RainbowRod).
|
||||
AddIngredient<Phantoplasm>(10).
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -44,11 +44,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-15, 0);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.TheAxe).AddIngredient(ItemID.MagicalHarp).AddIngredient(ModContent.ItemType<SirensSong>()).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 8).AddIngredient(ModContent.ItemType<NightmareFuel>(), 20).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
}
|
||||
|
||||
public override bool AltFunctionUse(Player player) => true;
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
@@ -91,5 +86,17 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.TheAxe).
|
||||
AddIngredient(ItemID.MagicalHarp).
|
||||
AddIngredient<SirensSong>().
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddIngredient<NightmareFuel>(20).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -35,7 +35,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.HellstoneBar, 6).AddIngredient(ItemID.Obsidian, 9).AddIngredient(ItemID.Fireblossom, 2).AddIngredient(ItemID.LavaBucket).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.HellstoneBar, 6).
|
||||
AddIngredient(ItemID.Obsidian, 9).
|
||||
AddIngredient(ItemID.Fireblossom, 2).
|
||||
AddIngredient(ItemID.LavaBucket).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -35,7 +35,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpellTome).AddIngredient(ModContent.ItemType<CruptixBar>(), 6).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpellTome).
|
||||
AddIngredient<CruptixBar>(6).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -35,7 +35,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<FrostBolt>()).AddIngredient(ModContent.ItemType<FlareBolt>()).AddIngredient(ModContent.ItemType<EssenceofEleum>(), 2).AddIngredient(ModContent.ItemType<EssenceofChaos>(), 2).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<FrostBolt>().
|
||||
AddIngredient<FlareBolt>().
|
||||
AddIngredient<EssenceofEleum>(2).
|
||||
AddIngredient<EssenceofChaos>(2).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -35,7 +35,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddRecipeGroup("AnyIceBlock", 20).AddIngredient(ItemID.Shiverthorn, 2).AddRecipeGroup("AnySnowBlock", 10).AddIngredient(ItemID.WaterBucket).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("AnyIceBlock", 20).
|
||||
AddIngredient(ItemID.Shiverthorn, 2).
|
||||
AddRecipeGroup("AnySnowBlock", 10).
|
||||
AddIngredient(ItemID.WaterBucket).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -36,7 +36,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpellTome).AddIngredient(ModContent.ItemType<UeliaceBar>(), 8).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpellTome).
|
||||
AddIngredient<UeliaceBar>(8).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -54,7 +54,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.LaserMachinegun).AddIngredient(ItemID.LunarBar, 5).AddIngredient(ModContent.ItemType<BarofLife>(), 5).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.LaserMachinegun).
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddIngredient<BarofLife>(5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -39,7 +39,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<ManaRose>()).AddIngredient(ItemID.HallowedBar, 5).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<ManaRose>().
|
||||
AddIngredient(ItemID.HallowedBar, 5).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -54,7 +54,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<EidolicWail>()).AddIngredient(ModContent.ItemType<ReaperTooth>(), 20).AddIngredient(ModContent.ItemType<DepthCells>(), 20).AddIngredient(ModContent.ItemType<Lumenite>(), 20).AddIngredient(ModContent.ItemType<AuricBar>(), 5).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<EidolicWail>().
|
||||
AddIngredient<ReaperTooth>(20).
|
||||
AddIngredient<DepthCells>(20).
|
||||
AddIngredient<Lumenite>(20).
|
||||
AddIngredient<AuricBar>(5).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -40,7 +40,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.Pumpkin, 20).AddIngredient(ItemID.FallenStar, 5).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.Pumpkin, 20).
|
||||
AddIngredient(ItemID.FallenStar, 5).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -35,7 +35,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.Flamelash).AddIngredient(ItemID.CrystalVileShard).AddIngredient(ItemID.DarkShard, 2).AddIngredient(ItemID.SoulofNight, 10).AddIngredient(ItemID.SoulofFright, 5).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.Flamelash).
|
||||
AddIngredient(ItemID.CrystalVileShard).
|
||||
AddIngredient(ItemID.DarkShard, 2).
|
||||
AddIngredient(ItemID.SoulofNight, 10).
|
||||
AddIngredient(ItemID.SoulofFright, 5).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -39,11 +39,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOrigin() => new Vector2(15, 15);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.HellstoneBar, 7).AddIngredient(ItemID.LavaBucket, 2).AddTile(TileID.Anvils).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
float num72 = velocity.Length();
|
||||
@@ -92,5 +87,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.HellstoneBar, 7).
|
||||
AddIngredient(ItemID.LavaBucket, 2).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Ammo;
|
||||
using CalamityMod.Items.Ammo;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -61,15 +61,23 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.BlizzardStaff).AddIngredient(ItemID.IceRod).AddIngredient(ModContent.ItemType<IcicleStaff>()).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 8).AddIngredient(ModContent.ItemType<EndothermicEnergy>(), 40).AddIngredient(ModContent.ItemType<VerstaltiteBar>(), 18).AddTile(TileID.IceMachine).Register();
|
||||
}
|
||||
|
||||
public override void UseStyle(Player player, Rectangle rectangle)
|
||||
{
|
||||
player.itemLocation.X -= 8f * player.direction;
|
||||
player.itemRotation = player.direction * MathHelper.ToRadians(-45f);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.BlizzardStaff).
|
||||
AddIngredient(ItemID.IceRod).
|
||||
AddIngredient<IcicleStaff>().
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddIngredient<EndothermicEnergy>(40).
|
||||
AddIngredient<VerstaltiteBar>(18).
|
||||
AddTile(TileID.IceMachine).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -39,11 +39,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOrigin() => new Vector2(15, 15);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddRecipeGroup("AnyIceBlock", 25).AddIngredient(ItemID.Shiverthorn, 3).AddTile(TileID.Anvils).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
int i = Main.myPlayer;
|
||||
@@ -92,5 +87,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Projectile.NewProjectile(source, vector2.X, vector2.Y, speedX4, speedY5, ModContent.ProjectileType<IcicleStaffProj>(), num73, num74, i, 0f, (float)Main.rand.Next(10));
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("AnyIceBlock", 25).
|
||||
AddIngredient(ItemID.Shiverthorn, 3).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -43,11 +43,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOrigin() => new Vector2(15, 15);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SkyFracture).AddIngredient(ModContent.ItemType<EssenceofChaos>(), 3).AddIngredient(ItemID.SoulofFright, 10).AddTile(TileID.MythrilAnvil).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 vector2 = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
@@ -75,5 +70,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Projectile.NewProjectile(source, vector13, vector14, type, damage, knockback, player.whoAmI, 0f, 0f);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SkyFracture).
|
||||
AddIngredient<EssenceofChaos>(3).
|
||||
AddIngredient(ItemID.SoulofFright, 10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -66,7 +66,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SoulofFright, 10).AddRecipeGroup("AnyAdamantiteBar", 7).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SoulofFright, 10).
|
||||
AddRecipeGroup("AnyAdamantiteBar", 7).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -88,7 +88,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SkyFracture).AddIngredient(ItemID.LunarFlareBook).AddIngredient(ModContent.ItemType<WrathoftheAncients>()).AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SkyFracture).
|
||||
AddIngredient(ItemID.LunarFlareBook).
|
||||
AddIngredient<WrathoftheAncients>().
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -44,7 +44,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.HeatRay).AddIngredient(ModContent.ItemType<Zapper>()).AddIngredient(ItemID.FragmentSolar, 10).AddIngredient(ItemID.ChlorophyteBar, 6).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe(1).
|
||||
AddIngredient(ItemID.HeatRay).
|
||||
AddIngredient<Zapper>().
|
||||
AddIngredient(ItemID.FragmentSolar, 10).
|
||||
AddIngredient(ItemID.ChlorophyteBar, 6).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -50,7 +50,16 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<ShadecrystalTome>()).AddIngredient(ModContent.ItemType<AbyssalTome>()).AddIngredient(ItemID.HolyWater, 10).AddIngredient(ItemID.SoulofLight, 30).AddIngredient(ModContent.ItemType<EffulgentFeather>(), 5).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 8).AddIngredient(ModContent.ItemType<NightmareFuel>(), 20).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<ShadecrystalTome>().
|
||||
AddIngredient<AbyssalTome>().
|
||||
AddIngredient(ItemID.HolyWater, 10).
|
||||
AddIngredient(ItemID.SoulofLight, 30).
|
||||
AddIngredient<EffulgentFeather>(5).
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddIngredient<NightmareFuel>(20).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -76,7 +76,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.ToxicFlask).AddIngredient(ItemID.BottledWater, 15).AddIngredient(ItemID.Leather, 5).AddIngredient(ModContent.ItemType<EffulgentFeather>(), 5).AddIngredient(ModContent.ItemType<CoreofCalamity>(), 2).AddTile(TileID.AlchemyTable).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.ToxicFlask).
|
||||
AddIngredient(ItemID.BottledWater, 15).
|
||||
AddIngredient(ItemID.Leather, 5).
|
||||
AddIngredient<EffulgentFeather>(5).
|
||||
AddIngredient<CoreofCalamity>(2).
|
||||
AddTile(TileID.AlchemyTable).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -48,7 +48,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpaceGun).AddIngredient(ItemID.Granite, 25).AddIngredient(ItemID.Obsidian, 15).AddIngredient(ItemID.Amber, 5).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpaceGun).
|
||||
AddIngredient(ItemID.Granite, 25).
|
||||
AddIngredient(ItemID.Obsidian, 15).
|
||||
AddIngredient(ItemID.Amber, 5).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -55,7 +55,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpectreStaff).AddIngredient(ItemID.MagnetSphere).AddIngredient(ModContent.ItemType<DarkPlasma>(), 3).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpectreStaff).
|
||||
AddIngredient(ItemID.MagnetSphere).
|
||||
AddIngredient<DarkPlasma>(3).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -39,7 +39,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.NaturesGift).AddIngredient(ItemID.JungleRose).AddIngredient(ItemID.Moonglow, 5).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.NaturesGift).
|
||||
AddIngredient(ItemID.JungleRose).
|
||||
AddIngredient(ItemID.Moonglow, 5).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -50,7 +50,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.NimbusRod).AddIngredient(ModContent.ItemType<AquamarineStaff>()).AddIngredient(ModContent.ItemType<CorrodedFossil>(), 10).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.NimbusRod).
|
||||
AddIngredient<AquamarineStaff>().
|
||||
AddIngredient<CorrodedFossil>(10).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -60,7 +60,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.Razorpine).AddIngredient(ItemID.LeafBlower).AddIngredient(ModContent.ItemType<UeliaceBar>(), 7).AddIngredient(ModContent.ItemType<DarkPlasma>()).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.Razorpine).
|
||||
AddIngredient(ItemID.LeafBlower).
|
||||
AddIngredient<UeliaceBar>(7).
|
||||
AddIngredient<DarkPlasma>().
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -41,7 +41,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.Vilethorn).AddIngredient(ItemID.MagicMissile).AddIngredient(ItemID.WandofSparking).AddIngredient(ItemID.AmberStaff).AddIngredient(ModContent.ItemType<TrueShadowScale>(), 15).AddIngredient(ModContent.ItemType<PurifiedGel>(), 10).AddTile(TileID.DemonAltar).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.Vilethorn).
|
||||
AddIngredient(ItemID.MagicMissile).
|
||||
AddIngredient(ItemID.WandofSparking).
|
||||
AddIngredient(ItemID.AmberStaff).
|
||||
AddIngredient<TrueShadowScale>(15).
|
||||
AddIngredient<PurifiedGel>(10).
|
||||
AddTile(TileID.DemonAltar).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
@@ -55,7 +55,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.RazorbladeTyphoon).AddIngredient(ModContent.ItemType<Poseidon>()).AddIngredient(ItemID.LunarBar, 5).AddIngredient(ItemID.SoulofSight, 10).AddIngredient(ItemID.UnicornHorn, 5).AddIngredient(ModContent.ItemType<SeaPrism>(), 15).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RazorbladeTyphoon).
|
||||
AddIngredient<Poseidon>().
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddIngredient(ItemID.SoulofSight, 10).
|
||||
AddIngredient(ItemID.UnicornHorn, 5).
|
||||
AddIngredient<SeaPrism>(15).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -41,7 +41,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpectreStaff).AddIngredient(ModContent.ItemType<RuinousSoul>(), 2).AddIngredient(ModContent.ItemType<DarkPlasma>()).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpectreStaff).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddIngredient<DarkPlasma>().
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -81,8 +81,18 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.ToxicFlask).AddIngredient(ItemID.Musket).AddIngredient(ModContent.ItemType<UeliaceBar>(), 7).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe(1).AddIngredient(ItemID.ToxicFlask).AddIngredient(ItemID.TheUndertaker).AddIngredient(ModContent.ItemType<UeliaceBar>(), 7).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.ToxicFlask).
|
||||
AddIngredient(ItemID.Musket).
|
||||
AddIngredient<UeliaceBar>(7).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.ToxicFlask).
|
||||
AddIngredient(ItemID.TheUndertaker).
|
||||
AddIngredient<UeliaceBar>(7).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -38,7 +38,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<PrimordialEarth>()).AddIngredient(ItemID.AncientBattleArmorMaterial, 5).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 8).AddIngredient(ModContent.ItemType<EndothermicEnergy>(), 20).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ModContent.ItemType<PrimordialEarth>()).
|
||||
AddIngredient(ItemID.AncientBattleArmorMaterial, 5).
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddIngredient<EndothermicEnergy>(20).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -35,7 +35,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<DeathValley>()).AddIngredient(ItemID.AncientBattleArmorMaterial, 3).AddIngredient(ItemID.MeteoriteBar, 5).AddIngredient(ItemID.Ectoplasm, 5).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<DeathValley>().
|
||||
AddIngredient(ItemID.AncientBattleArmorMaterial, 3).
|
||||
AddIngredient(ItemID.MeteoriteBar, 5).
|
||||
AddIngredient(ItemID.Ectoplasm, 5).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -39,11 +39,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.LaserMachinegun).AddIngredient(ItemID.FragmentVortex, 20).AddIngredient(ItemID.Nanites, 100).AddTile(TileID.LunarCraftingStation).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 shootVelocity = velocity;
|
||||
@@ -51,5 +46,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Projectile.NewProjectile(source, position, shootDirection, type, damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.LaserMachinegun).
|
||||
AddIngredient(ItemID.FragmentVortex, 20).
|
||||
AddIngredient(ItemID.Nanites, 100).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -62,7 +62,16 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.ConfettiCannon).AddIngredient(ModContent.ItemType<CosmicRainbow>()).AddIngredient(ItemID.FireworksLauncher).AddIngredient(ItemID.FlaskofParty, 5).AddIngredient(ItemID.SoulofLight, 25).AddIngredient(ItemID.Confetti, 50).AddIngredient(ModContent.ItemType<ShadowspecBar>(), 5).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.ConfettiCannon).
|
||||
AddIngredient<CosmicRainbow>().
|
||||
AddIngredient(ItemID.FireworksLauncher).
|
||||
AddIngredient(ItemID.FlaskofParty, 5).
|
||||
AddIngredient(ItemID.SoulofLight, 25).
|
||||
AddIngredient(ItemID.Confetti, 50).
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
@@ -61,7 +61,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.DemonScythe).AddIngredient(ModContent.ItemType<CoreofChaos>(), 12).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 8).AddIngredient(ModContent.ItemType<NightmareFuel>(), 20).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.DemonScythe).
|
||||
AddIngredient<CoreofChaos>(12).
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddIngredient<NightmareFuel>(20).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -49,7 +49,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpellTome).AddRecipeGroup("AnyAdamantiteBar", 5).AddIngredient(ItemID.AncientBattleArmorMaterial, 2).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpellTome).
|
||||
AddRecipeGroup("AnyAdamantiteBar", 5).
|
||||
AddIngredient(ItemID.AncientBattleArmorMaterial, 2).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -93,7 +93,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<PlasmaDriveCore>(), 1).AddIngredient(ModContent.ItemType<SuspiciousScrap>(), 4).AddRecipeGroup("AnyMythrilBar", 10).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<PlasmaDriveCore>(1).
|
||||
AddIngredient<SuspiciousScrap>(4).
|
||||
AddRecipeGroup("AnyMythrilBar", 10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -54,7 +54,10 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<BloodstoneCore>(), 5).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -50,7 +50,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.CrystalStorm).AddIngredient(ModContent.ItemType<VerstaltiteBar>(), 6).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.CrystalStorm).
|
||||
AddIngredient<VerstaltiteBar>(6).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
@@ -67,7 +67,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.RottenChunk, 2).AddIngredient(ItemID.DemoniteBar, 3).AddIngredient(ModContent.ItemType<TrueShadowScale>(), 12).AddTile(TileID.DemonAltar).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RottenChunk, 2).
|
||||
AddIngredient(ItemID.DemoniteBar, 3).
|
||||
AddIngredient<TrueShadowScale>(12).
|
||||
AddTile(TileID.DemonAltar).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -41,7 +41,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.ShadowbeamStaff).AddIngredient(ModContent.ItemType<ArmoredShell>(), 3).AddIngredient(ModContent.ItemType<RuinousSoul>(), 2).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.ShadowbeamStaff).
|
||||
AddIngredient<ArmoredShell>(3).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
@@ -40,11 +40,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOrigin() => new Vector2(7, 7);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.RottenChunk, 5).AddIngredient(ItemID.DemoniteBar, 5).AddIngredient(ModContent.ItemType<TrueShadowScale>(), 15).AddTile(TileID.DemonAltar).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
float num72 = Item.shootSpeed;
|
||||
@@ -93,5 +88,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RottenChunk, 5).
|
||||
AddIngredient(ItemID.DemoniteBar, 5).
|
||||
AddIngredient<TrueShadowScale>(15).
|
||||
AddTile(TileID.DemonAltar).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -50,7 +50,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.MagicMissile).AddIngredient(ModContent.ItemType<GrandScale>()).AddIngredient(ItemID.AncientBattleArmorMaterial, 2).AddIngredient(ItemID.SpectreBar, 5).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.MagicMissile).
|
||||
AddIngredient<GrandScale>().
|
||||
AddIngredient(ItemID.AncientBattleArmorMaterial, 2).
|
||||
AddIngredient(ItemID.SpectreBar, 5).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -47,7 +47,10 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<CosmiliteBar>(), 12).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<CosmiliteBar>(12).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Ores;
|
||||
using Terraria;
|
||||
@@ -44,7 +44,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.NebulaArcanum).AddIngredient(ModContent.ItemType<Lumenite>(), 5).AddIngredient(ModContent.ItemType<RuinousSoul>(), 4).AddIngredient(ModContent.ItemType<ExodiumClusterOre>(), 12).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.NebulaArcanum).
|
||||
AddIngredient<Lumenite>(5).
|
||||
AddIngredient<RuinousSoul>(4).
|
||||
AddIngredient<ExodiumClusterOre>(12).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -53,7 +53,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<AuguroftheElements>()).AddIngredient(ModContent.ItemType<EventHorizon>()).AddIngredient(ModContent.ItemType<TearsofHeaven>()).AddIngredient(ModContent.ItemType<MiracleMatter>()).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<AuguroftheElements>().
|
||||
AddIngredient<EventHorizon>().
|
||||
AddIngredient<TearsofHeaven>().
|
||||
AddIngredient<MiracleMatter>().
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -43,11 +43,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<Purge>()).AddIngredient(ModContent.ItemType<PurgeGuzzler>()).AddIngredient(ModContent.ItemType<AuricBar>(), 5).AddIngredient(ModContent.ItemType<UeliaceBar>(), 12).AddIngredient(ModContent.ItemType<DivineGeode>(), 8).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 shootVelocity = velocity;
|
||||
@@ -55,5 +50,17 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Projectile.NewProjectile(source, position, shootDirection, type, damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<Purge>().
|
||||
AddIngredient<PurgeGuzzler>().
|
||||
AddIngredient<AuricBar>(5).
|
||||
AddIngredient<UeliaceBar>(12).
|
||||
AddIngredient<DivineGeode>(8).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -53,8 +53,26 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.CopperShortsword).AddIngredient(ModContent.ItemType<TomeofFates>()).AddIngredient(ModContent.ItemType<FlareBolt>()).AddIngredient(ModContent.ItemType<Tradewinds>()).AddIngredient(ModContent.ItemType<NuclearFury>()).AddIngredient(ModContent.ItemType<UeliaceBar>(), 5).AddIngredient(ModContent.ItemType<DarkPlasma>()).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe(1).AddIngredient(ItemID.TinShortsword).AddIngredient(ModContent.ItemType<TomeofFates>()).AddIngredient(ModContent.ItemType<FlareBolt>()).AddIngredient(ModContent.ItemType<Tradewinds>()).AddIngredient(ModContent.ItemType<NuclearFury>()).AddIngredient(ModContent.ItemType<UeliaceBar>(), 5).AddIngredient(ModContent.ItemType<DarkPlasma>()).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.CopperShortsword).
|
||||
AddIngredient<TomeofFates>().
|
||||
AddIngredient<FlareBolt>().
|
||||
AddIngredient<Tradewinds>().
|
||||
AddIngredient<NuclearFury>().
|
||||
AddIngredient<UeliaceBar>(5).
|
||||
AddIngredient<DarkPlasma>().
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.TinShortsword).
|
||||
AddIngredient<TomeofFates>().
|
||||
AddIngredient<FlareBolt>().
|
||||
AddIngredient<Tradewinds>().
|
||||
AddIngredient<NuclearFury>().
|
||||
AddIngredient<UeliaceBar>(5).
|
||||
AddIngredient<DarkPlasma>().
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -50,7 +50,13 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<FrigidflashBolt>()).AddIngredient(ItemID.WaterBolt).AddIngredient(ModContent.ItemType<SeaPrism>(), 15).AddIngredient(ModContent.ItemType<CoreofCinder>(), 5).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<FrigidflashBolt>().
|
||||
AddIngredient(ItemID.WaterBolt).
|
||||
AddIngredient<SeaPrism>(15).
|
||||
AddIngredient<CoreofCinder>(5).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -50,8 +50,18 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<NightsRay>()).AddIngredient(ModContent.ItemType<ValkyrieRay>()).AddIngredient(ModContent.ItemType<LivingShard>(), 7).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<CarnageRay>()).AddIngredient(ModContent.ItemType<ValkyrieRay>()).AddIngredient(ModContent.ItemType<LivingShard>(), 7).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<NightsRay>().
|
||||
AddIngredient<ValkyrieRay>().
|
||||
AddIngredient<LivingShard>(7).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<CarnageRay>().
|
||||
AddIngredient<ValkyrieRay>().
|
||||
AddIngredient<LivingShard>(7).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -53,7 +53,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<ArchAmaryllis>()).AddIngredient(ModContent.ItemType<DivineGeode>(), 15).AddIngredient(ModContent.ItemType<UnholyEssence>(), 10).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<ArchAmaryllis>().
|
||||
AddIngredient<DivineGeode>(15).
|
||||
AddIngredient<UnholyEssence>(10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
@@ -35,11 +35,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-15, -5);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.BeeGun).AddIngredient(ItemID.WaspGun).AddIngredient(ItemID.FragmentVortex, 20).AddTile(TileID.LunarCraftingStation).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
for (int i = 0; i <= 3; i++)
|
||||
@@ -66,5 +61,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.BeeGun).
|
||||
AddIngredient(ItemID.WaspGun).
|
||||
AddIngredient(ItemID.FragmentVortex, 20).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -59,7 +59,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.WandofSparking).AddIngredient(ModContent.ItemType<HellcasterFragment>(), 5).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.WandofSparking).
|
||||
AddIngredient<HellcasterFragment>(5).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -59,7 +59,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<ArchAmaryllis>()).AddIngredient(ModContent.ItemType<UeliaceBar>(), 10).AddIngredient(ModContent.ItemType<UnholyEssence>(), 10).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<ArchAmaryllis>().
|
||||
AddIngredient<UeliaceBar>(10).
|
||||
AddIngredient<UnholyEssence>(10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -40,11 +40,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
// Terraria seems to really dislike high crit values in SetDefaults
|
||||
public override void ModifyWeaponCrit(Player player, ref int crit) => crit += 3;
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpellTome).AddIngredient(ModContent.ItemType<MeldiateBar>(), 9).AddTile(TileID.Bookcases).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
int i = Main.myPlayer;
|
||||
@@ -83,5 +78,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpellTome).
|
||||
AddIngredient<MeldiateBar>(9).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -36,7 +36,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<AerialiteBar>(), 6).AddIngredient(ItemID.SunplateBlock, 5).AddIngredient(ItemID.Feather, 3).AddTile(TileID.Bookcases).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<AerialiteBar>(6).
|
||||
AddIngredient(ItemID.SunplateBlock, 5).
|
||||
AddIngredient(ItemID.Feather, 3).
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -44,11 +44,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override Vector2? HoldoutOrigin() => new Vector2(15, 15);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<InfernalRift>()).AddIngredient(ItemID.AquaScepter).AddRecipeGroup("CursedFlameIchor", 20).AddIngredient(ModContent.ItemType<SeaPrism>(), 10).AddIngredient(ModContent.ItemType<GalacticaSingularity>(), 5).AddIngredient(ItemID.LunarBar, 5).AddTile(TileID.LunarCraftingStation).Register();
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo projSource, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 playerPos = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
@@ -75,5 +70,18 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Projectile.NewProjectile(projSource, source, velocityReal, type, damage, knockback, player.whoAmI, 0f, 0f);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<InfernalRift>().
|
||||
AddIngredient(ItemID.AquaScepter).
|
||||
AddRecipeGroup("CursedFlameIchor", 20).
|
||||
AddIngredient<SeaPrism>(10).
|
||||
AddIngredient<GalacticaSingularity>(5).
|
||||
AddIngredient(ItemID.LunarBar, 5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -89,7 +89,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<DepthCells>(), 30).AddIngredient(ModContent.ItemType<Lumenite>(), 10).AddIngredient(ModContent.ItemType<Tenebris>(), 10).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<DepthCells>(30).
|
||||
AddIngredient<Lumenite>(10).
|
||||
AddIngredient<Tenebris>(10).
|
||||
AddTile(TileID.MythrilAnvil)
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -47,7 +47,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.HallowedBar, 12).AddIngredient(ModContent.ItemType<AerialiteBar>(), 6).AddIngredient(ItemID.Ruby).AddIngredient(ItemID.SoulofSight).AddIngredient(ItemID.SoulofMight).AddIngredient(ItemID.SoulofFright).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.HallowedBar, 12).
|
||||
AddIngredient<AerialiteBar>(6).
|
||||
AddIngredient(ItemID.Ruby).
|
||||
AddIngredient(ItemID.SoulofSight).
|
||||
AddIngredient(ItemID.SoulofMight).
|
||||
AddIngredient(ItemID.SoulofFright).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
@@ -43,7 +43,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.InfernoFork).AddIngredient(ModContent.ItemType<RuinousSoul>(), 2).AddIngredient(ModContent.ItemType<TwistingNether>()).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.InfernoFork).
|
||||
AddIngredient<RuinousSoul>(2).
|
||||
AddIngredient<TwistingNether>().
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -42,7 +42,10 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<BloodstoneCore>(), 4).AddTile(TileID.LunarCraftingStation).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<BloodstoneCore>(4).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -75,8 +75,26 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<ElementalRay>()).AddIngredient(ModContent.ItemType<ThornBlossom>()).AddIngredient(ModContent.ItemType<AsteroidStaff>()).AddIngredient(ModContent.ItemType<UltraLiquidator>()).AddIngredient(ModContent.ItemType<PhantasmalFury>()).AddIngredient(ModContent.ItemType<ShadowboltStaff>()).AddIngredient(ModContent.ItemType<MiracleMatter>()).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<ElementalRay>()).AddIngredient(ModContent.ItemType<ThePrince>()).AddIngredient(ModContent.ItemType<AsteroidStaff>()).AddIngredient(ModContent.ItemType<UltraLiquidator>()).AddIngredient(ModContent.ItemType<PhantasmalFury>()).AddIngredient(ModContent.ItemType<ShadowboltStaff>()).AddIngredient(ModContent.ItemType<MiracleMatter>()).AddTile(ModContent.TileType<DraedonsForge>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<ElementalRay>().
|
||||
AddIngredient<ThornBlossom>().
|
||||
AddIngredient<AsteroidStaff>().
|
||||
AddIngredient<UltraLiquidator>().
|
||||
AddIngredient<PhantasmalFury>().
|
||||
AddIngredient<ShadowboltStaff>().
|
||||
AddIngredient<MiracleMatter>().
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<ElementalRay>().
|
||||
AddIngredient<ThePrince>().
|
||||
AddIngredient<AsteroidStaff>().
|
||||
AddIngredient<UltraLiquidator>().
|
||||
AddIngredient<PhantasmalFury>().
|
||||
AddIngredient<ShadowboltStaff>().
|
||||
AddIngredient<MiracleMatter>().
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -67,7 +67,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<Climax>()).AddIngredient(ModContent.ItemType<AuricBar>(), 5).AddTile(ModContent.TileType<CosmicAnvil>()).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<Climax>().
|
||||
AddIngredient<AuricBar>(5).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -42,7 +42,10 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<WulfrumShard>(), 12).AddTile(TileID.Anvils).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<WulfrumShard>(12).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
@@ -115,7 +115,12 @@ Fires wyverns and colored feathers from the sky that stick to enemies and tiles
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ModContent.ItemType<SkyGlaze>()).AddIngredient(ItemID.SoulofFlight, 15).AddRecipeGroup("AnyMythrilBar", 5).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<SkyGlaze>().
|
||||
AddIngredient(ItemID.SoulofFlight, 15).
|
||||
AddRecipeGroup("AnyMythrilBar", 5).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -55,7 +55,15 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(1).AddIngredient(ItemID.SpaceGun).AddIngredient(ItemID.LaserRifle).AddIngredient(ModContent.ItemType<VictoryShard>(), 5).AddIngredient(ItemID.SoulofSight).AddIngredient(ItemID.SoulofMight).AddIngredient(ItemID.SoulofFright).AddTile(TileID.MythrilAnvil).Register();
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SpaceGun).
|
||||
AddIngredient(ItemID.LaserRifle).
|
||||
AddIngredient<VictoryShard>(5).
|
||||
AddIngredient(ItemID.SoulofSight).
|
||||
AddIngredient(ItemID.SoulofMight).
|
||||
AddIngredient(ItemID.SoulofFright).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user