Pulse Bow is now crafteable and Shroomite Bars are less painful to craft + Murky Sludge removal

This commit is contained in:
Phupperbat committed 2022-02-11 22:22:34 -05:00
1 parent f7178eed62
commit 36db6ee8be
8 files changed
+21 -37

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Accessories
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<MurkySludge>(), 5);
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 45);
recipe.AddIngredient(ModContent.ItemType<PurifiedGel>(), 15);
recipe.AddTile(TileID.Anvils);
recipe.SetResult(this);
-1
View File
@@ -255,7 +255,6 @@ namespace CalamityMod.Items
case ItemID.CrimsonFishingCrate:
BlockCrateDrops();
DropHelper.DropItemChance(player, ModContent.ItemType<EbonianGel>(), 0.15f, 5, 8);
DropHelper.DropItemChance(player, ModContent.ItemType<MurkySludge>(), 0.15f, 1, 3);
break;
case ItemID.HallowedFishingCrate:
-23
View File
@@ -1,23 +0,0 @@
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Materials
{
public class MurkySludge : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Murky Sludge");
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 1);
item.rare = ItemRarityID.Blue;
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

+1 -2
View File
@@ -37,8 +37,7 @@ namespace CalamityMod.Items.Potions
recipe.alchemy = true;
recipe.AddIngredient(ItemID.BottledWater);
recipe.AddIngredient(ModContent.ItemType<PurifiedGel>(), 2);
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 2);
recipe.AddIngredient(ModContent.ItemType<MurkySludge>());
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 4);
recipe.AddIngredient(ModContent.ItemType<DemonicBoneAsh>());
recipe.AddTile(TileID.AlchemyTable);
recipe.SetResult(this);
+1 -2
View File
@@ -54,8 +54,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 10);
recipe.AddIngredient(ModContent.ItemType<MurkySludge>());
recipe.AddIngredient(ModContent.ItemType<EbonianGel>(), 15);
recipe.AddRecipeGroup("Boss2Material");
recipe.SetResult(this, 100);
recipe.AddRecipe();
-8
View File
@@ -1145,14 +1145,6 @@ namespace CalamityMod.NPCs
DropHelper.DropItemChance(npc, ModContent.ItemType<TrapperBulb>(), Main.expertMode ? 2 : 3);
break;
case NPCID.MotherSlime:
case NPCID.CorruptSlime:
case NPCID.Crimslime:
case NPCID.BigCrimslime:
case NPCID.LittleCrimslime:
DropHelper.DropItemChance(npc, ModContent.ItemType<MurkySludge>(), Main.expertMode ? 2 : 3);
break;
case NPCID.Derpling:
DropHelper.DropItemChance(npc, ModContent.ItemType<BeetleJuice>(), Main.expertMode ? 3 : 4);
break;
+18
View File
@@ -46,6 +46,7 @@ namespace CalamityMod
EditPhasesaberRecipes();
EditOpticStaffRecipe();
AstralAlternatives();
EditShroomiteBarRecipe();
EditTier3HardmodeOreRecipes();
EditHardmodeOreSetRecipes();
@@ -462,6 +463,16 @@ namespace CalamityMod
});
}
// Change Shroomite Bar's recipe to require 5 Glowing Mushrooms instead
private static void EditShroomiteBarRecipe()
{
List<Recipe> rec = Main.recipe.ToList();
rec.Where(x => x.createItem.type == ItemID.ShroomiteBar).ToList().ForEach(s =>
{
s.requiredItem[1].stack = 5;
});
}
//Change the recipes to be like 1.4
private static void EditTier3HardmodeOreRecipes()
{
@@ -1354,6 +1365,13 @@ namespace CalamityMod
r.AddIngredient(ModContent.ItemType<GiantTortoiseShell>());
r.SetResult(ItemID.TurtleShell);
r.AddRecipe();
// Pulse Bow
r = GetNewRecipe();
r.AddIngredient(ItemID.ShroomiteBar, 16);
r.AddTile(TileID.MythrilAnvil);
r.SetResult(ItemID.PulseBow);
r.AddRecipe();
}
#endregion