Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into 1.4.4
This commit is contained in:
commit
39ed142883
63 files changed
+155
-209
No files matched your search
@@ -3,6 +3,7 @@ using System.Security.Policy;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Enums;
|
||||
using CalamityMod.Graphics.Metaballs;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -47,7 +48,7 @@ namespace CalamityMod.CalPlayer.Dashes
|
||||
|
||||
if (strongVisuals)
|
||||
{
|
||||
SoundStyle sound = new("CalamityMod/Sounds/Item/VoidDash");
|
||||
SoundStyle sound = StatisVoidSash.VoidDash;
|
||||
SoundEngine.PlaySound(sound with { Volume = 0.7f, Pitch = Main.rand.NextFloat(-0.15f, 0.15f) }, player.Center);
|
||||
for (int i = 0; i < 40; i++)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ID;
|
||||
@@ -17,6 +18,9 @@ namespace CalamityMod.Items.Accessories
|
||||
public class StatisVoidSash : ModItem, ILocalizedModType, IHoldShiftTooltipItem
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Accessories";
|
||||
|
||||
public static SoundStyle VoidDash = new ("CalamityMod/Sounds/Item/VoidDash");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.RegisterItemAnimation(Item.type, new DrawAnimationVertical(8, 3));
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
public bool shotType = true; // true = positive shot, false = negative shot
|
||||
public float mult = 0;
|
||||
public static SoundStyle HitSound = new("CalamityMod/Sounds/Item/NullHit");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Items.Weapons.DraedonsArsenal;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -258,7 +259,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
|
||||
}
|
||||
public override bool OnTileCollide(Vector2 oldVelocity)
|
||||
{
|
||||
SoundStyle sound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3);
|
||||
SoundStyle sound = CommonCalamitySounds.VoidstoneMine with { Volume = 1 };
|
||||
SoundEngine.PlaySound(sound with { Volume = 0.3f, Pitch = -0.25f - 0.1f * tileHits, MaxInstances = 6 }, Projectile.Center);
|
||||
|
||||
if (Projectile.velocity.X != oldVelocity.X)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.CalPlayer;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.NPCs;
|
||||
using CalamityMod.NPCs.NormalNPCs;
|
||||
using CalamityMod.Particles;
|
||||
@@ -167,7 +168,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
GeneralParticleHandler.SpawnParticle(orb2);
|
||||
}
|
||||
}
|
||||
SoundStyle fire = new("CalamityMod/Sounds/Item/NullHit");
|
||||
SoundStyle fire = NullificationPistol.HitSound;
|
||||
SoundEngine.PlaySound(fire with { Volume = (Projectile.ai[1] == 5 ? 1 : 0.7f), Pitch = Main.rand.NextFloat(0, 0.1f) * (Projectile.ai[1] == 5 ? 3 : 1) }, Projectile.Center);
|
||||
if (Main.zenithWorld)
|
||||
{
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.NPCs;
|
||||
using CalamityMod.NPCs.Ravager;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -397,9 +399,9 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
hasReachedFullCharge = false;
|
||||
if (tileHits == 0)
|
||||
{
|
||||
SoundStyle sound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3);
|
||||
SoundStyle sound = CommonCalamitySounds.VoidstoneMine with { Volume = 1 };
|
||||
SoundEngine.PlaySound(sound with { Volume = 0.3f, Pitch = -0.55f, MaxInstances = 6 }, Projectile.Center);
|
||||
SoundStyle sound2 = new("CalamityMod/Sounds/NPCHit/RavagerRockPillarHit", 3);
|
||||
SoundStyle sound2 = RockPillar.HitSound;
|
||||
SoundEngine.PlaySound(sound2 with { Volume = 0.4f, Pitch = -0.2f, MaxInstances = 6 }, Projectile.Center);
|
||||
}
|
||||
tileHits++;
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Tiles.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
@@ -28,9 +30,9 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
if (time == 0)
|
||||
{
|
||||
SoundStyle sound = new("CalamityMod/Sounds/Custom/AuricMine", 3);
|
||||
SoundStyle sound = AuricOre.MineSound;
|
||||
SoundEngine.PlaySound(sound with { Volume = 0.9f, Pitch = Main.rand.NextFloat(0.15f, 0.25f), MaxInstances = -1 }, Projectile.Center);
|
||||
SoundStyle sound2 = new("CalamityMod/Sounds/Item/NullHit");
|
||||
SoundStyle sound2 = NullificationPistol.HitSound;
|
||||
SoundEngine.PlaySound(sound2 with { Volume = 0.6f, Pitch = Main.rand.NextFloat(0.3f, 0.45f), MaxInstances = -1 }, Projectile.Center);
|
||||
|
||||
for (int i = 0; i < 18; i++)
|
||||
|
||||
@@ -2,12 +2,19 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Placeables.Abyss;
|
||||
using CalamityMod.NPCs.AstrumDeus;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Projectiles.Boss;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Tiles.Ores;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -277,9 +284,9 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
if (visuals)
|
||||
{
|
||||
SoundStyle fire = new("CalamityMod/Sounds/Custom/AstrumDeus/AstrumDeusGodRay");
|
||||
SoundStyle fire = AstrumDeusHead.GodRaySound;
|
||||
SoundEngine.PlaySound(fire with { Volume = 0.3f, Pitch = (Main.rand.NextFloat(-0.6f, -0.5f) + projType * 0.1f) }, Projectile.Center);
|
||||
SoundStyle fire2 = new("CalamityMod/Sounds/Item/VoidDash");
|
||||
SoundStyle fire2 = StatisVoidSash.VoidDash;
|
||||
SoundEngine.PlaySound(fire2 with { Volume = 0.3f, Pitch = (Main.rand.NextFloat(0.2f, 0.4f) + projType * 0.1f) }, Projectile.Center);
|
||||
}
|
||||
|
||||
@@ -400,9 +407,9 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
if (visuals)
|
||||
{
|
||||
SoundStyle s = new("CalamityMod/Sounds/Custom/AstrumDeus/DeusMineExplode");
|
||||
SoundStyle s = DeusMine.ExplodeSound;
|
||||
SoundEngine.PlaySound(s with { Volume = 0.7f, Pitch = (Main.rand.NextFloat(0.3f, 0.4f)) }, Projectile.Center);
|
||||
SoundStyle fire2 = new("CalamityMod/Sounds/Item/VoidDash");
|
||||
SoundStyle fire2 = StatisVoidSash.VoidDash;
|
||||
SoundEngine.PlaySound(fire2 with { Volume = 0.4f, Pitch = Main.rand.NextFloat(-0.2f, -0.3f) }, Projectile.Center);
|
||||
|
||||
for (int i = 0; i < 15; i++)
|
||||
@@ -462,7 +469,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
if (visuals)
|
||||
{
|
||||
SoundStyle s = new("CalamityMod/Sounds/Custom/AuricMine", 3);
|
||||
SoundStyle s = AuricOre.MineSound;
|
||||
SoundEngine.PlaySound(s with { Volume = 0.5f, Pitch = (-0.3f + Projectile.numHits * 0.1f), MaxInstances = 6 }, Projectile.Center);
|
||||
}
|
||||
|
||||
@@ -476,8 +483,8 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
{
|
||||
modifiers.SourceDamage *= 0.33f; // Deals less damage but hits multiple times
|
||||
if (visuals)
|
||||
{
|
||||
SoundStyle s = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3);
|
||||
{
|
||||
SoundStyle s = CommonCalamitySounds.VoidstoneMine with { Volume = 1 };
|
||||
SoundEngine.PlaySound(s with { Volume = 0.6f, Pitch = (-0.3f + Projectile.numHits * 0.1f) }, Projectile.Center);
|
||||
}
|
||||
|
||||
@@ -516,22 +523,22 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
float sine = (float)Math.Sin((Main.GlobalTimeWrappedHourly * 10) / MathHelper.Pi);
|
||||
Vector2 squash = new Vector2(Utils.Remap(Projectile.velocity.Length(), 1, 5, 1, 0.6f), Utils.Remap(Projectile.velocity.Length(), 1, 5, 1, 2f));
|
||||
|
||||
Asset<Texture2D> block = ModContent.Request<Texture2D>("CalamityMod/Items/Placeables/Abyss/AbyssGravel");
|
||||
Asset<Texture2D> block = TextureAssets.Item[ModContent.ItemType<AbyssGravel>()];
|
||||
switch (projType) // 0 = gravel/vines, 1 = hadal/hydrothermic, 2 = void/lumenyl
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
block = ModContent.Request<Texture2D>("CalamityMod/Items/Placeables/Abyss/AbyssGravel");
|
||||
block = TextureAssets.Item[ModContent.ItemType<AbyssGravel>()];
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
block = ModContent.Request<Texture2D>("CalamityMod/Items/Placeables/Abyss/PyreMantle");
|
||||
block = TextureAssets.Item[ModContent.ItemType<PyreMantle>()];
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
block = ModContent.Request<Texture2D>("CalamityMod/Items/Placeables/Abyss/Voidstone");
|
||||
block = TextureAssets.Item[ModContent.ItemType<Voidstone>()];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,5 +51,9 @@ namespace CalamityMod.Sounds
|
||||
|
||||
public static readonly SoundStyle LouderSwingWoosh = new("CalamityMod/Sounds/Custom/LoudSwingWoosh");
|
||||
|
||||
public static readonly SoundStyle VoidstoneMine = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3) { Volume = 0.4f };
|
||||
|
||||
public static readonly SoundStyle PlatingMine = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Tiles.Abyss.AbyssAmbient;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -13,8 +9,6 @@ namespace CalamityMod.Tiles.Abyss
|
||||
{
|
||||
public class PyreMantle : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MineSound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3) { Volume = 0.4f };
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -25,7 +19,7 @@ namespace CalamityMod.Tiles.Abyss
|
||||
CalamityUtils.MergeWithAbyss(Type);
|
||||
|
||||
TileID.Sets.ChecksForMerge[Type] = true;
|
||||
HitSound = MineSound;
|
||||
HitSound = CommonCalamitySounds.VoidstoneMine;
|
||||
MineResist = 10f;
|
||||
MinPick = 180;
|
||||
AddMapEntry(new Color(43, 40, 40));
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Tiles.Abyss.AbyssAmbient;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -15,8 +11,6 @@ namespace CalamityMod.Tiles.Abyss
|
||||
{
|
||||
public class PyreMantleMolten : GlowMaskTile
|
||||
{
|
||||
public static readonly SoundStyle MineSound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3) { Volume = 0.4f };
|
||||
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Abyss/PyreMantleMolten_Glowmask";
|
||||
|
||||
public override void SetupStatic()
|
||||
@@ -30,7 +24,7 @@ namespace CalamityMod.Tiles.Abyss
|
||||
CalamityUtils.MergeWithAbyss(Type);
|
||||
|
||||
TileID.Sets.ChecksForMerge[Type] = true;
|
||||
HitSound = MineSound;
|
||||
HitSound = CommonCalamitySounds.VoidstoneMine;
|
||||
MineResist = 10f;
|
||||
MinPick = 180;
|
||||
AddMapEntry(new Color(113, 49, 16));
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Tiles.Abyss.AbyssAmbient;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -15,8 +11,6 @@ namespace CalamityMod.Tiles.Abyss
|
||||
{
|
||||
public class Voidstone : GlowMaskTile
|
||||
{
|
||||
public static readonly SoundStyle MineSound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3) { Volume = 0.4f };
|
||||
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Abyss/Voidstone_Glowmask";
|
||||
public GrayscaleTexture2D NoiseTexture;
|
||||
|
||||
@@ -32,7 +26,7 @@ namespace CalamityMod.Tiles.Abyss
|
||||
CalamityUtils.MergeWithAbyss(Type);
|
||||
|
||||
TileID.Sets.ChecksForMerge[Type] = true;
|
||||
HitSound = MineSound;
|
||||
HitSound = CommonCalamitySounds.VoidstoneMine;
|
||||
MineResist = 15f;
|
||||
MinPick = 180;
|
||||
AddMapEntry(new Color(15, 15, 15));
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class AgedBiolight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 89;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class AgedBlacklight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 173;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class AgedCinderlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 6;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class AgedFlamelight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 60;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class AgedFloodlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 187;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class AgedFrostlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 247;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,13 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class AgedLablight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -24,7 +23,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 299;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class CagedBiolight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 89;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class CagedBlacklight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 173;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class CagedCinderlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 6;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class CagedFlamelight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 60;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class CagedFloodlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 187;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class CagedFrostlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 247;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class CagedLablight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 299;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniAgedBiolight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 89;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniAgedBlacklight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 173;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniAgedCinderlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 6;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniAgedFlamelight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 60;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniAgedFloodlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 187;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,12 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniAgedFrostlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 247;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -10,13 +10,12 @@ using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniAgedLablight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -24,7 +23,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 299;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniCagedBiolight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 89;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniCagedBlacklight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 173;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniCagedCinderlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 6;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniCagedFlamelight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 60;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniCagedFloodlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 187;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniCagedFrostlight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 247;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -9,13 +9,12 @@ using Terraria.DataStructures;
|
||||
using Terraria.Enums;
|
||||
using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
{
|
||||
public class MiniCagedLablight : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 299;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
@@ -9,7 +10,6 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
public class HazardChevronPanels : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
CalamityUtils.SetMerge(Type, ModContent.TileType<AgedLaboratoryDoorClosed>());
|
||||
CalamityUtils.SetMerge(Type, ModContent.TileType<LaboratoryPanels>());
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 19;
|
||||
MinPick = 30;
|
||||
AddMapEntry(new Color(163, 150, 73));
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -10,9 +11,6 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
public class LaboratoryPanels : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -21,7 +19,7 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.SetMerge(Type, ModContent.TileType<HazardChevronPanels>());
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 109;
|
||||
MinPick = 30;
|
||||
AddMapEntry(new Color(36, 35, 37));
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,9 +12,6 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
public class LaboratoryPipePlating : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -21,7 +19,7 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 32;
|
||||
MinPick = 30;
|
||||
AddMapEntry(new Color(91, 64, 56));
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -10,9 +11,7 @@ using Terraria.ModLoader;
|
||||
namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
public class LaboratoryPlating : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -20,7 +19,7 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 30;
|
||||
MinPick = 30;
|
||||
AddMapEntry(new Color(162, 157, 150));
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -10,9 +11,7 @@ using Terraria.ModLoader;
|
||||
namespace CalamityMod.Tiles.DraedonStructures
|
||||
{
|
||||
public class RustedPlating : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -20,7 +19,7 @@ namespace CalamityMod.Tiles.DraedonStructures
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 32;
|
||||
MinPick = 30;
|
||||
AddMapEntry(new Color(128, 90, 77));
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,8 +12,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class AnodizedWulfrumPanels : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -21,7 +20,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.MergeDecorativeTiles(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
AddMapEntry(new Color(89, 113, 91));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,7 +12,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class AnodizedWulfrumTrim : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
private const short subsheetWidth = 216;
|
||||
private const short subsheetHeight = 72;
|
||||
public static int TypeCache;
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.MergeDecorativeTiles(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
AddMapEntry(new Color(133, 13, 13));
|
||||
}
|
||||
|
||||
|
||||
@@ -11,13 +11,12 @@ using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class ChargedWulfrumWallMountedBulb : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -25,7 +24,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 299;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,7 +12,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class RoundedAnodizedWulfrumPanels : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
private const short subsheetWidth = 216;
|
||||
private const short subsheetHeight = 72;
|
||||
public static int TypeCache;
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.MergeDecorativeTiles(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
AddMapEntry(new Color(164, 150, 125));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,7 +12,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class WulfrumPanels : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
private const short subsheetWidth = 216;
|
||||
private const short subsheetHeight = 72;
|
||||
public override void SetStaticDefaults()
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
AddMapEntry(new Color(89, 113, 91));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,7 +12,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class WulfrumPlating : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
private const short subsheetWidth = 216;
|
||||
private const short subsheetHeight = 72;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.MergeDecorativeTiles(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
AddMapEntry(new Color(155, 171, 117));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,7 +12,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class WulfrumSheets : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
private const short subsheetWidth = 216;
|
||||
private const short subsheetHeight = 72;
|
||||
public static int TypeCache;
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
AddMapEntry(new Color(109, 132, 101));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -11,8 +12,6 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class WulfrumSiding : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -21,7 +20,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.MergeDecorativeTiles(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
AddMapEntry(new Color(164, 150, 125));
|
||||
}
|
||||
|
||||
|
||||
@@ -11,13 +11,12 @@ using Terraria.ObjectData;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Systems;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
{
|
||||
public class WulfrumWallMountedBulb : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileLighted[Type] = true;
|
||||
@@ -25,7 +24,7 @@ namespace CalamityMod.Tiles.FurnitureWulfrum
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = false;
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
DustType = 299;
|
||||
|
||||
AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch);
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
@@ -14,7 +10,6 @@ namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Plates/CinderplateGlow";
|
||||
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetupStatic()
|
||||
@@ -27,7 +22,7 @@ namespace CalamityMod.Tiles.Plates
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
MineResist = 1f;
|
||||
AddMapEntry(new Color(242, 216, 131));
|
||||
}
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
@@ -14,7 +11,6 @@ namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Plates/ElumplateGlow";
|
||||
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetupStatic()
|
||||
@@ -27,7 +23,7 @@ namespace CalamityMod.Tiles.Plates
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
MineResist = 1f;
|
||||
AddMapEntry(new Color(121, 180, 212));
|
||||
}
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -15,8 +12,6 @@ namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Plates/HavocplateGlow";
|
||||
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetupStatic()
|
||||
@@ -29,7 +24,7 @@ namespace CalamityMod.Tiles.Plates
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
MineResist = 1f;
|
||||
AddMapEntry(new Color(235, 108, 108));
|
||||
}
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
@@ -14,7 +10,6 @@ namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Plates/NavyplateGlow";
|
||||
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
|
||||
public override void SetupStatic()
|
||||
@@ -27,7 +22,7 @@ namespace CalamityMod.Tiles.Plates
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
MineResist = 1f;
|
||||
AddMapEntry(new Color(85, 151, 196));
|
||||
}
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
@@ -14,7 +9,6 @@ namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Plates/OnyxplateGlow";
|
||||
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
public override void SetupStatic()
|
||||
{
|
||||
@@ -26,7 +20,7 @@ namespace CalamityMod.Tiles.Plates
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
MineResist = 1f;
|
||||
DustType = 173;
|
||||
AddMapEntry(new Color(182, 28, 232));
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Sounds;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
@@ -14,7 +10,6 @@ namespace CalamityMod.Tiles.Plates
|
||||
{
|
||||
public override string GlowMaskAsset => "CalamityMod/Tiles/Plates/PlagueContainmentCellsGlow";
|
||||
|
||||
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
||||
internal static GrayscaleTexture1D PulseGradient;
|
||||
public override void SetupStatic()
|
||||
{
|
||||
@@ -26,7 +21,7 @@ namespace CalamityMod.Tiles.Plates
|
||||
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
|
||||
HitSound = MinePlatingSound;
|
||||
HitSound = CommonCalamitySounds.PlatingMine;
|
||||
MineResist = 1f;
|
||||
AddMapEntry(new Color(128, 188, 67));
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Tiles.Abyss;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
{
|
||||
public class BlackPearlPile : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MineSound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3) { Volume = 0.4f };
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -23,7 +22,7 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
Main.tileShine2[Type] = true;
|
||||
|
||||
TileID.Sets.ChecksForMerge[Type] = true;
|
||||
HitSound = MineSound;
|
||||
HitSound = CommonCalamitySounds.VoidstoneMine;
|
||||
DustType = DustID.Lead;
|
||||
AddMapEntry(new Color(29, 33, 38));
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Tiles.Abyss;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
{
|
||||
public class PinkPearlPile : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MineSound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3) { Volume = 0.4f };
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -21,7 +20,7 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
TileID.Sets.HasSlopeFrames[Type] = true;
|
||||
|
||||
TileID.Sets.ChecksForMerge[Type] = true;
|
||||
HitSound = MineSound;
|
||||
HitSound = CommonCalamitySounds.VoidstoneMine;
|
||||
DustType = DustID.Ice_Pink;
|
||||
AddMapEntry(new Color(204, 143, 174));
|
||||
Main.tileShine[Type] = 3500;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Sounds;
|
||||
using CalamityMod.Systems;
|
||||
using CalamityMod.Tiles.Abyss;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
{
|
||||
public class WhitePearlPile : ModTile
|
||||
{
|
||||
public static readonly SoundStyle MineSound = new("CalamityMod/Sounds/Custom/VoidstoneMine", 3) { Volume = 0.4f };
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.tileSolid[Type] = true;
|
||||
@@ -24,7 +23,7 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
Main.tileShine[Type] = 3500;
|
||||
Main.tileShine2[Type] = true;
|
||||
|
||||
HitSound = MineSound;
|
||||
HitSound = CommonCalamitySounds.VoidstoneMine;
|
||||
DustType = DustID.Slush;
|
||||
AddMapEntry(new Color(217, 209, 213));
|
||||
|
||||
|
||||
Reference in new issue
Block a user