New sprote for acid rain music box + recipe

This commit is contained in:
Amber Sienna committed 2020-03-21 00:34:14 +00:00
1 parent 92226bf23d
commit e8f401a0e4
5 files changed
+20 -1

No files matched your search

+20 -1
View File
@@ -1,5 +1,5 @@
using Terraria.ModLoader;
using CalamityModMusic.Tiles;
using Terraria.ID;
namespace CalamityModMusic.Items.Placeables
{
@@ -25,5 +25,24 @@ namespace CalamityModMusic.Items.Placeables
item.value = 100000;
item.accessory = true;
}
public override void AddRecipes()
{
Mod calamity = ModLoader.GetMod("CalamityMod");
if (calamity != null)
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(calamity.GetItem("RuinousSoul"));
recipe.AddIngredient(calamity.GetItem("Acidwood"), 10);
ModItem fossil = calamity.GetItem("CorrodedFossil");
if (fossil != null)
recipe.AddIngredient(fossil, 10); //null safety since in my local build, this item does not exist yet.
recipe.AddIngredient(calamity.GetItem("SulfuricScale"), 10);
recipe.AddIngredient(ItemID.MusicBox);
recipe.AddTile(TileID.LunarCraftingStation);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 584 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1005 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B