Cleaned up pet summons.

This commit is contained in:
Big Duckie
2022-07-05 16:24:32 -06:00
parent 0cee270cdb
commit cc083095eb
4 changed files with 10 additions and 14 deletions
+5 -6
View File
@@ -20,7 +20,6 @@ public class Apple : ModItem
public override void SetStaticDefaults() public override void SetStaticDefaults()
{ {
DisplayName.SetDefault("Apple");
Tooltip.SetDefault("[c/B6FF00:Dyeable]\n[c/FFAF4F:Pet Summoning Item]\nSummons a fox to follow you around \n[c/FF2B6E:Currently Unobtainable]"); Tooltip.SetDefault("[c/B6FF00:Dyeable]\n[c/FFAF4F:Pet Summoning Item]\nSummons a fox to follow you around \n[c/FF2B6E:Currently Unobtainable]");
} }
@@ -34,10 +33,10 @@ public class Apple : ModItem
public override void AddRecipes() public override void AddRecipes()
{ {
Recipe recipe = CreateRecipe(); CreateRecipe()
recipe.AddIngredient(ModContent.ItemType<PinkApple>()); .AddIngredient(ModContent.ItemType<PinkApple>())
recipe.AddIngredient(ItemID.RedDye); .AddIngredient(ItemID.RedDye)
recipe.AddTile(TileID.DyeVat); .AddTile(TileID.DyeVat)
recipe.Register(); .Register();
} }
} }
+5 -6
View File
@@ -19,7 +19,6 @@ public class PinkApple : ModItem
public override void SetStaticDefaults() public override void SetStaticDefaults()
{ {
DisplayName.SetDefault("Pink Apple");
Tooltip.SetDefault("[c/B6FF00:Dyeable]\n[c/FFAF4F:Pet Summoning Item]\nSummons a pink fox to follow you around \n[c/FF2B6E:Currently Unobtainable]"); Tooltip.SetDefault("[c/B6FF00:Dyeable]\n[c/FFAF4F:Pet Summoning Item]\nSummons a pink fox to follow you around \n[c/FF2B6E:Currently Unobtainable]");
} }
@@ -33,10 +32,10 @@ public class PinkApple : ModItem
public override void AddRecipes() public override void AddRecipes()
{ {
Recipe val = CreateRecipe(); CreateRecipe()
val.AddIngredient(ModContent.ItemType<Apple>()); .AddIngredient(ModContent.ItemType<Apple>())
val.AddIngredient(ItemID.PinkDye); .AddIngredient(ItemID.PinkDye)
val.AddTile(TileID.DyeVat); .AddTile(TileID.DyeVat)
val.Register(); .Register();
} }
} }
@@ -9,7 +9,6 @@ public class SuspiciousFlower : ModItem
{ {
public override void SetStaticDefaults() public override void SetStaticDefaults()
{ {
DisplayName.SetDefault("Suspicious Flower");
Tooltip.SetDefault("[c/FFAF4F:Pet Summoning Item]\nI wonder who this flower belongs to? \n[c/46FFFF:~~ Developer Pet ~~]"); Tooltip.SetDefault("[c/FFAF4F:Pet Summoning Item]\nI wonder who this flower belongs to? \n[c/46FFFF:~~ Developer Pet ~~]");
} }
@@ -9,7 +9,6 @@ public class SuspiciousLookingScrew : ModItem
{ {
public override void SetStaticDefaults() public override void SetStaticDefaults()
{ {
DisplayName.SetDefault("Suspicious Looking Screw");
Tooltip.SetDefault("[c/FFAF4F:Pet Summoning Item]\nSummons Mechanical Teeth to follow you around \n[c/46FFFF:~~ Developer Pet ~~]"); Tooltip.SetDefault("[c/FFAF4F:Pet Summoning Item]\nSummons Mechanical Teeth to follow you around \n[c/46FFFF:~~ Developer Pet ~~]");
} }