Cleaned up recipe code for all magic weapons. Renamed certain staffs to match in-game name.

This commit is contained in:
Big Duckie
2022-07-05 17:38:14 -06:00
parent 871c563c42
commit 1871f6cfe8
21 changed files with 123 additions and 135 deletions
+11 -12
View File
@@ -8,7 +8,6 @@ public class Coalescence : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Coalescence");
Tooltip.SetDefault("Enemies are invulnerable for 8 frames after getting hit \nBeam your foes out of existence with a powerful laser beam!");
}
@@ -33,16 +32,16 @@ public class Coalescence : ModItem
public override void AddRecipes()
{
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.OminousBook>());
recipe.AddIngredient(ItemID.Diamond, 5);
recipe.AddIngredient(ItemID.Emerald, 5);
recipe.AddIngredient(ItemID.Sapphire, 5);
recipe.AddIngredient(ItemID.Ruby, 5);
recipe.AddIngredient(ItemID.Topaz, 5);
recipe.AddIngredient(ItemID.Amethyst, 5);
recipe.AddRecipeGroup("FabusMod:DemoniteBar", 10);
recipe.AddTile(TileID.Books);
recipe.Register();
CreateRecipe()
.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.OminousBook>())
.AddIngredient(ItemID.Diamond, 5)
.AddIngredient(ItemID.Emerald, 5)
.AddIngredient(ItemID.Sapphire, 5)
.AddIngredient(ItemID.Ruby, 5)
.AddIngredient(ItemID.Topaz, 5)
.AddIngredient(ItemID.Amethyst, 5)
.AddRecipeGroup("FabusMod:DemoniteBar", 10)
.AddTile(TileID.Books)
.Register();
}
}
@@ -8,7 +8,6 @@ public class DelightfulDevastation : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Delightful Devastation");
Tooltip.SetDefault("Enemies are invulnerable for 3 frames after getting hit \nVaporize your foes out of existence with the power of rainbows! \nInflicts the [c/AB2C2C:R][c/F3821B:a][c/E6AF31:i][c/63B465:n][c/82E8E8:b][c/9EF3EF:o][c/2BA0B5:w][c/734679:'s ][c/AB2C2C:W][c/F3821B:r][c/E6AF31:a][c/63B465:t][c/82E8E8:h] debuff for 2 seconds, and the [c/DAD45E:Midas] debuff for 3 seconds on hit\n[c/AB2C2C:R][c/F3821B:a][c/E6AF31:i][c/63B465:n][c/82E8E8:b][c/9EF3EF:o][c/2BA0B5:w][c/734679:'s ][c/AB2C2C:W][c/F3821B:r][c/E6AF31:a][c/63B465:t][c/82E8E8:h] causes enemies to lose life rapidly \n[c/DAD45E:Midas] causes enemies to drop more money on death ");
}
@@ -33,10 +32,10 @@ public class DelightfulDevastation : ModItem
public override void AddRecipes()
{
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ModContent.ItemType<GoldenVengeance>());
recipe.AddIngredient(ModContent.ItemType<Bars.RainbowChunk>(), 10);
recipe.AddTile(ModContent.TileType<global::FabusMod.Tiles.RainbowStation>());
recipe.Register();
CreateRecipe()
.AddIngredient(ModContent.ItemType<GoldenVengeance>())
.AddIngredient(ModContent.ItemType<Bars.RainbowChunk>(), 10)
.AddTile(ModContent.TileType<global::FabusMod.Tiles.RainbowStation>())
.Register();
}
}
@@ -8,7 +8,6 @@ public class GoldenVengeance : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Golden Vengeance");
Tooltip.SetDefault("Enemies are invulnerable for 4 frames after getting hit \nPurify your foes out of existence with a powerful laser beam! \nInflicts the [c/FFFB62:Holy Smite] debuff for 4 seconds, and the [c/DAD45E:Midas] debuff for 3 seconds on hit\n[c/FFFB62:Holy Smite] causes enemies to lose life quickly \n[c/DAD45E:Midas] causes enemies to drop more money on death");
}
@@ -33,10 +32,10 @@ public class GoldenVengeance : ModItem
public override void AddRecipes()
{
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ModContent.ItemType<HeavensVengeance>());
recipe.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.GoddessGold>(), 12);
recipe.AddTile(TileID.MythrilAnvil);
recipe.Register();
CreateRecipe()
.AddIngredient(ModContent.ItemType<HeavensVengeance>())
.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.GoddessGold>(), 12)
.AddTile(TileID.MythrilAnvil)
.Register();
}
}
@@ -33,10 +33,10 @@ public class HeavensVengeance : ModItem
public override void AddRecipes()
{
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ModContent.ItemType<HellfireBeam>(), 1);
recipe.AddIngredient(ItemID.HallowedBar, 14);
recipe.AddTile(TileID.MythrilAnvil);
recipe.Register();
CreateRecipe()
.AddIngredient(ModContent.ItemType<HellfireBeam>(), 1)
.AddIngredient(ItemID.HallowedBar, 14)
.AddTile(TileID.MythrilAnvil)
.Register();
}
}
@@ -8,7 +8,6 @@ public class HellfireBeam : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Hellfire Beam");
Tooltip.SetDefault("Enemies are invulnerable for 5 frames after getting hit \nBurn your foes out of existence with a powerful laser beam! \nInflicts the [c/DA0205:On Fire!] debuff for 2 seconds on hit");
}
@@ -33,10 +32,10 @@ public class HellfireBeam : ModItem
public override void AddRecipes()
{
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ModContent.ItemType<Coalescence>());
recipe.AddIngredient(ItemID.HellstoneBar, 16);
recipe.AddTile(TileID.Hellforge);
recipe.Register();
CreateRecipe()
.AddIngredient(ModContent.ItemType<Coalescence>())
.AddIngredient(ItemID.HellstoneBar, 16)
.AddTile(TileID.Hellforge)
.Register();
}
}