branch coral rubblemaker + med prism exploit fix
medium prisms drop multiple shards, meaning that you could use a single shard to get more shards using the rubblemaker
This commit is contained in:
1 parent
358bc07a69
commit
eb30efdd62
3 files changed
+41
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using CalamityMod.Tiles.SunkenSea.Ambient;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Ambient.SunkenSea
|
||||
{
|
||||
public class BranchCoralEcho : BranchCoral
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/Ambient/BranchCoral";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<Limestone>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<Limestone>(), Type, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using CalamityMod.Tiles.SunkenSea;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Ambient.SunkenSea
|
||||
{
|
||||
public class MediumSeaPrismCrystalEcho : MediumSeaPrismCrystal
|
||||
{
|
||||
public override string Texture => "CalamityMod/Tiles/SunkenSea/MediumSeaPrismCrystal";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
RegisterItemDrop(ModContent.ItemType<PrismShard>(), Type, 0);
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<PrismShard>(), Type, 0);
|
||||
}
|
||||
|
||||
// Don't drop items
|
||||
public override void KillMultiTile(int i, int j, int frameX, int frameY)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -61,8 +61,6 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
TileObjectData.newAlternate.Origin = new Point16(0, 0);
|
||||
TileObjectData.addAlternate(24);
|
||||
TileObjectData.addTile(Type);
|
||||
|
||||
FlexibleTileWand.RubblePlacementMedium.AddVariations(ModContent.ItemType<PrismShard>(), Type, 0);
|
||||
}
|
||||
|
||||
public override void NumDust(int i, int j, bool fail, ref int num)
|
||||
|
||||
Reference in new issue
Block a user