From c51ffa84b6a8597ca6eb921882de5d69749f8d30 Mon Sep 17 00:00:00 2001 From: JoshuaNavarro Date: Fri, 16 Aug 2019 12:47:27 -0700 Subject: [PATCH] Got ores to spawn rock debris when broken. --- .../Framework/Objects/Resources/OreVeins/OreVeinTile.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/GeneralMods/Revitalize/Framework/Objects/Resources/OreVeins/OreVeinTile.cs b/GeneralMods/Revitalize/Framework/Objects/Resources/OreVeins/OreVeinTile.cs index d9123f12..0bc172e9 100644 --- a/GeneralMods/Revitalize/Framework/Objects/Resources/OreVeins/OreVeinTile.cs +++ b/GeneralMods/Revitalize/Framework/Objects/Resources/OreVeins/OreVeinTile.cs @@ -196,6 +196,7 @@ namespace Revitalize.Framework.Objects.Resources.OreVeins if (this.location != null) { this.location.playSound("stoneCrack"); + Game1.createRadialDebris(this.location, 14, (int)this.TileLocation.X, (int)this.TileLocation.Y, Game1.random.Next(4, 10), false, -1, false, -1); this.location.removeObject(this.TileLocation, false); this.containerObject.removeComponent(this.offsetKey); }