Fusable particle addon mod support
This commit is contained in:
1 parent
29f9deacf8
commit
7f21c7f45b
17 files changed
+79
-95
No files matched your search
@@ -56,6 +56,7 @@ using CalamityMod.NPCs.SulphurousSea;
|
||||
using CalamityMod.NPCs.SupremeCalamitas;
|
||||
using CalamityMod.NPCs.Yharon;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using CalamityMod.Projectiles;
|
||||
using CalamityMod.Projectiles.BaseProjectiles;
|
||||
using CalamityMod.Schematics;
|
||||
|
||||
@@ -38,7 +38,7 @@ using Terraria.ModLoader;
|
||||
using Terraria.UI.Gamepad;
|
||||
using Terraria.Utilities;
|
||||
using Terraria.Graphics.Light;
|
||||
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
|
||||
namespace CalamityMod.ILEditing
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ using CalamityMod.Cooldowns;
|
||||
using CalamityMod.Events;
|
||||
using CalamityMod.Items;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using CalamityMod.UI;
|
||||
using CalamityMod.UI.CalamitasEnchants;
|
||||
using CalamityMod.World;
|
||||
@@ -1847,6 +1848,8 @@ namespace CalamityMod
|
||||
return new ArgumentNullException("ERROR: Must specify a Mod instance to load particles from.");
|
||||
|
||||
GeneralParticleHandler.LoadModParticleInstances(args[1] as Mod);
|
||||
FusableParticleManager.ExtraModsToLoadSetsFrom.Add(args[1] as Mod);
|
||||
FusableParticleManager.LoadParticleRenderSets(true);
|
||||
return null;
|
||||
|
||||
case "RegisterModCooldowns":
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
namespace CalamityMod.Particles
|
||||
{
|
||||
// The order of entries in this enumeration are in line with draw order
|
||||
// e.g. the first entry is the first drawn thing, the last entry is the last drawn thing.
|
||||
public enum FusableParticleRenderLayer
|
||||
{
|
||||
OverNPCsBeforeProjectiles,
|
||||
OverPlayers,
|
||||
OverWater
|
||||
}
|
||||
}
|
||||
+12
-2
@@ -3,9 +3,10 @@ using Microsoft.Xna.Framework.Graphics;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
|
||||
namespace CalamityMod.Particles
|
||||
namespace CalamityMod.Particles.Metaballs
|
||||
{
|
||||
public abstract class BaseFusableParticleSet
|
||||
{
|
||||
@@ -48,17 +49,19 @@ namespace CalamityMod.Particles
|
||||
}
|
||||
}
|
||||
|
||||
internal List<DrawData> DrawDataBuffer = new();
|
||||
|
||||
public List<FusableParticle> Particles = new();
|
||||
|
||||
public FusableParticleRenderCollection RenderCollection => FusableParticleManager.GetParticleRenderCollectionByType(GetType());
|
||||
|
||||
public List<RenderTarget2D> GetBackgroundTargets => RenderCollection.BackgroundTargets;
|
||||
|
||||
public void PrepareSpecialDrawingForNextFrame(params DrawData[] drawContents) => DrawDataBuffer.AddRange(drawContents);
|
||||
public virtual float BorderSize => 0f;
|
||||
public virtual bool BorderShouldBeSolid => false;
|
||||
public virtual Color BorderColor => Color.Transparent;
|
||||
public virtual void PrepareOptionalShaderData(Effect effect, int index) { }
|
||||
public abstract FusableParticleRenderLayer RenderLayer { get; }
|
||||
public abstract List<Effect> BackgroundShaders { get; }
|
||||
public abstract List<Texture2D> BackgroundTextures { get; }
|
||||
public abstract FusableParticle SpawnParticle(Vector2 center, float sizeStrength);
|
||||
@@ -93,9 +96,16 @@ namespace CalamityMod.Particles
|
||||
// Draw the surviving particles.
|
||||
DrawParticles();
|
||||
|
||||
// Draw all special contents in the draw buffer before clearing it.
|
||||
foreach (DrawData drawData in DrawDataBuffer)
|
||||
drawData.Draw(Main.spriteBatch);
|
||||
|
||||
Main.spriteBatch.End();
|
||||
}
|
||||
|
||||
// Clear the special draw data buffer.
|
||||
DrawDataBuffer.Clear();
|
||||
|
||||
// Return to using the backbuffer after done drawing everything to the background targets.
|
||||
Main.instance.GraphicsDevice.SetRenderTarget(null);
|
||||
}
|
||||
+37
-20
@@ -3,12 +3,13 @@ using Microsoft.Xna.Framework.Graphics;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using static CalamityMod.Particles.Metaballs.BaseFusableParticleSet;
|
||||
|
||||
using static CalamityMod.Particles.BaseFusableParticleSet;
|
||||
|
||||
namespace CalamityMod.Particles
|
||||
namespace CalamityMod.Particles.Metaballs
|
||||
{
|
||||
// NOTE: A lot of the functionalities within this system cannot under really any circumstance be used serverside.
|
||||
// This system is entirely visual. However, servers do not have drawing capabilities, nor even a proper GraphicsDevice
|
||||
@@ -20,7 +21,8 @@ namespace CalamityMod.Particles
|
||||
// TODO -- This can be made into a ModSystem. Its main thread load dependency with render targets is safe to put in OnModLoad.
|
||||
public static class FusableParticleManager
|
||||
{
|
||||
internal static List<FusableParticleRenderCollection> ParticleSets = new List<FusableParticleRenderCollection>();
|
||||
internal static List<FusableParticleRenderCollection> ParticleSets = new();
|
||||
internal static List<Mod> ExtraModsToLoadSetsFrom = new();
|
||||
internal static bool HasBeenFormallyDefined = false;
|
||||
|
||||
/// <summary>
|
||||
@@ -48,36 +50,50 @@ namespace CalamityMod.Particles
|
||||
// This does not happen during reloads, as that would delete particles outside of load-time.
|
||||
if (!reload)
|
||||
{
|
||||
ParticleSets = new List<FusableParticleRenderCollection>();
|
||||
ParticleSets = new();
|
||||
ExtraModsToLoadSetsFrom = new();
|
||||
HasBeenFormallyDefined = true;
|
||||
}
|
||||
|
||||
RegisterParticleSetsInMod(CalamityMod.Instance, width, height);
|
||||
foreach (Mod m in ExtraModsToLoadSetsFrom)
|
||||
RegisterParticleSetsInMod(m, width, height);
|
||||
}
|
||||
|
||||
internal static void RegisterParticleSetsInMod(Mod mod, int width, int height)
|
||||
{
|
||||
// Look through every type in the mod, and check if it's derived from BaseFusableParticleSet.
|
||||
// If it is, create a default instance of said particle, save it, and create a RenderTarget2D for each individual texture/shader.
|
||||
foreach (Type type in typeof(CalamityMod).Assembly.GetTypes())
|
||||
foreach (Type type in mod.Code.GetTypes())
|
||||
{
|
||||
// Don't load abstract classes; they cannot have instances.
|
||||
if (type.IsAbstract)
|
||||
continue;
|
||||
|
||||
if (type.IsSubclassOf(typeof(BaseFusableParticleSet)))
|
||||
{
|
||||
BaseFusableParticleSet instance = Activator.CreateInstance(type) as BaseFusableParticleSet;
|
||||
List<RenderTarget2D> backgroundTargets = new List<RenderTarget2D>();
|
||||
|
||||
// Only generate render targets to use if this isn't called serverside.
|
||||
if (Main.netMode != NetmodeID.Server)
|
||||
{
|
||||
for (int i = 0; i < instance.LayerCount; i++)
|
||||
backgroundTargets.Add(new RenderTarget2D(Main.instance.GraphicsDevice, width, height, false, default, default, 0, RenderTargetUsage.PreserveContents));
|
||||
}
|
||||
|
||||
FusableParticleRenderCollection particleRenderCollection = new FusableParticleRenderCollection(instance, backgroundTargets);
|
||||
ParticleSets.Add(particleRenderCollection);
|
||||
}
|
||||
RegisterParticleSet(type, width, height);
|
||||
}
|
||||
}
|
||||
|
||||
internal static void RegisterParticleSet(Type t, int width, int height)
|
||||
{
|
||||
BaseFusableParticleSet instance = Activator.CreateInstance(t) as BaseFusableParticleSet;
|
||||
List<RenderTarget2D> backgroundTargets = new List<RenderTarget2D>();
|
||||
|
||||
// Only generate render targets to use if this isn't called serverside.
|
||||
if (Main.netMode != NetmodeID.Server)
|
||||
{
|
||||
for (int i = 0; i < instance.LayerCount; i++)
|
||||
backgroundTargets.Add(new RenderTarget2D(Main.instance.GraphicsDevice, width, height, false, default, default, 0, RenderTargetUsage.PreserveContents));
|
||||
}
|
||||
|
||||
FusableParticleRenderCollection particleRenderCollection = new FusableParticleRenderCollection(instance, backgroundTargets);
|
||||
ParticleSets.Add(particleRenderCollection);
|
||||
}
|
||||
|
||||
internal static void RegisterParticleSet<T>(int width, int height) where T : BaseFusableParticleSet =>
|
||||
RegisterParticleSet(typeof(T), width, height);
|
||||
|
||||
/// <summary>
|
||||
/// Unloads all render sets, disposing any created <see cref="RenderTarget2D"/>s in the process.
|
||||
/// </summary>
|
||||
@@ -92,6 +108,7 @@ namespace CalamityMod.Particles
|
||||
}
|
||||
HasBeenFormallyDefined = false;
|
||||
ParticleSets = null;
|
||||
ExtraModsToLoadSetsFrom = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
+3
-4
@@ -7,16 +7,15 @@ using Terraria;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Particles
|
||||
namespace CalamityMod.Particles.Metaballs
|
||||
{
|
||||
public class GruesomeEminenceParticleSet : BaseFusableParticleSet
|
||||
{
|
||||
public override float BorderSize => 3f;
|
||||
public override bool BorderShouldBeSolid => false;
|
||||
public override Color BorderColor => Color.Lerp(Color.Fuchsia, Color.Black, 0.55f) * 0.85f;
|
||||
public override FusableParticleRenderLayer RenderLayer => FusableParticleRenderLayer.OverNPCsBeforeProjectiles;
|
||||
|
||||
public override List<Effect> BackgroundShaders => new List<Effect>()
|
||||
public override List<Effect> BackgroundShaders => new()
|
||||
{
|
||||
GameShaders.Misc["CalamityMod:BaseFusableParticleEdge"].Shader,
|
||||
GameShaders.Misc["CalamityMod:BaseFusableParticleEdge"].Shader,
|
||||
@@ -24,7 +23,7 @@ namespace CalamityMod.Particles
|
||||
GameShaders.Misc["CalamityMod:BaseFusableParticleEdge"].Shader,
|
||||
GameShaders.Misc["CalamityMod:BaseFusableParticleEdge"].Shader,
|
||||
};
|
||||
public override List<Texture2D> BackgroundTextures => new List<Texture2D>()
|
||||
public override List<Texture2D> BackgroundTextures => new()
|
||||
{
|
||||
ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/ParticleBackgrounds/GruesomeEminence_Ghost_Layer1").Value,
|
||||
ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/ParticleBackgrounds/GruesomeEminence_Ghost_Layer2").Value,
|
||||
+3
-4
@@ -6,20 +6,19 @@ using Terraria;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Particles
|
||||
namespace CalamityMod.Particles.Metaballs
|
||||
{
|
||||
public class RancorGroundLavaParticleSet : BaseFusableParticleSet
|
||||
{
|
||||
public override float BorderSize => 18f;
|
||||
public override bool BorderShouldBeSolid => false;
|
||||
public override Color BorderColor => Color.Lerp(Color.Yellow, Color.Red, 0.85f) * 0.85f;
|
||||
public override FusableParticleRenderLayer RenderLayer => FusableParticleRenderLayer.OverWater;
|
||||
|
||||
public override List<Effect> BackgroundShaders => new List<Effect>()
|
||||
public override List<Effect> BackgroundShaders => new()
|
||||
{
|
||||
GameShaders.Misc["CalamityMod:AdditiveFusableParticleEdge"].Shader,
|
||||
};
|
||||
public override List<Texture2D> BackgroundTextures => new List<Texture2D>()
|
||||
public override List<Texture2D> BackgroundTextures => new()
|
||||
{
|
||||
ModContent.Request<Texture2D>("CalamityMod/Projectiles/InvisibleProj").Value,
|
||||
};
|
||||
@@ -6,20 +6,19 @@ using Terraria;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Particles
|
||||
namespace CalamityMod.Particles.Metaballs
|
||||
{
|
||||
public class RancorLavaParticleSet : BaseFusableParticleSet
|
||||
{
|
||||
public override float BorderSize => 18f;
|
||||
public override bool BorderShouldBeSolid => false;
|
||||
public override Color BorderColor => Color.Lerp(Color.Yellow, Color.Red, 0.85f) * 0.85f;
|
||||
public override FusableParticleRenderLayer RenderLayer => FusableParticleRenderLayer.OverNPCsBeforeProjectiles;
|
||||
|
||||
public override List<Effect> BackgroundShaders => new List<Effect>()
|
||||
public override List<Effect> BackgroundShaders => new()
|
||||
{
|
||||
GameShaders.Misc["CalamityMod:AdditiveFusableParticleEdge"].Shader,
|
||||
};
|
||||
public override List<Texture2D> BackgroundTextures => new List<Texture2D>()
|
||||
public override List<Texture2D> BackgroundTextures => new()
|
||||
{
|
||||
ModContent.Request<Texture2D>("CalamityMod/Projectiles/InvisibleProj").Value,
|
||||
};
|
||||
@@ -6,20 +6,19 @@ using Terraria;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Particles
|
||||
namespace CalamityMod.Particles.Metaballs
|
||||
{
|
||||
public class StreamGougeParticleSet : BaseFusableParticleSet
|
||||
{
|
||||
public override float BorderSize => 3f;
|
||||
public override bool BorderShouldBeSolid => false;
|
||||
public override Color BorderColor => Color.Lerp(Color.DarkBlue, Color.Black, 0.75f) * 0.85f;
|
||||
public override FusableParticleRenderLayer RenderLayer => FusableParticleRenderLayer.OverNPCsBeforeProjectiles;
|
||||
|
||||
public override List<Effect> BackgroundShaders => new List<Effect>()
|
||||
public override List<Effect> BackgroundShaders => new()
|
||||
{
|
||||
GameShaders.Misc["CalamityMod:BaseFusableParticleEdge"].Shader,
|
||||
};
|
||||
public override List<Texture2D> BackgroundTextures => new List<Texture2D>()
|
||||
public override List<Texture2D> BackgroundTextures => new()
|
||||
{
|
||||
ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/ParticleBackgrounds/StreamGougeLayer").Value,
|
||||
};
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.Buffs;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using CalamityMod.World;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System;
|
||||
using Terraria;
|
||||
|
||||
@@ -8,6 +8,8 @@ using Terraria.Graphics.Shaders;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using Terraria.DataStructures;
|
||||
|
||||
namespace CalamityMod.Projectiles.Magic
|
||||
{
|
||||
@@ -260,65 +262,26 @@ namespace CalamityMod.Projectiles.Magic
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
{
|
||||
int maxFrame = CurrentPower <= LargeMouthPowerLowerBound ? 6 : 9;
|
||||
Vector2 backgroundOffset = Vector2.UnitX * Main.GlobalTimeWrappedHourly * maxFrame * 0.03f;
|
||||
Texture2D texture = ModContent.Request<Texture2D>(Texture).Value;
|
||||
Texture2D backTexture = ModContent.Request<Texture2D>("CalamityMod/Projectiles/Magic/SpiritCongregationBack").Value;
|
||||
Texture2D auraTexture = ModContent.Request<Texture2D>("CalamityMod/Projectiles/Magic/SpiritCongregationAura").Value;
|
||||
Texture2D backgroundTexture = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/ParticleBackgrounds/GruesomeEminence_Ghost_Layer1").Value;
|
||||
if (CurrentPower > LargeMouthPowerLowerBound)
|
||||
{
|
||||
texture = ModContent.Request<Texture2D>("CalamityMod/Projectiles/Magic/SpiritCongregationBig").Value;
|
||||
backTexture = ModContent.Request<Texture2D>("CalamityMod/Projectiles/Magic/SpiritCongregationBackBig").Value;
|
||||
auraTexture = ModContent.Request<Texture2D>("CalamityMod/Projectiles/Magic/SpiritCongregationAuraBig").Value;
|
||||
}
|
||||
|
||||
Effect shader = GameShaders.Misc["CalamityMod:BaseFusableParticleEdge"].Shader;
|
||||
|
||||
|
||||
float offsetFactor = Projectile.scale * ((CongregationDiameter - 54f) / 90f + 1.5f);
|
||||
offsetFactor *= texture.Width / 90f;
|
||||
Vector2 drawPosition = Projectile.Center - Main.screenPosition + Projectile.rotation.ToRotationVector2() * offsetFactor * 15f;
|
||||
Rectangle frame = texture.Frame(1, maxFrame, 0, Projectile.frame);
|
||||
Vector2 origin = frame.Size() * 0.5f;
|
||||
Color auraColor = Color.Lerp(Color.Fuchsia, Color.Black, 0.55f);
|
||||
SpriteEffects direction = Math.Cos(Projectile.rotation) > 0f ? SpriteEffects.None : SpriteEffects.FlipVertically;
|
||||
|
||||
// Draw the outline aura below everything else.
|
||||
Main.spriteBatch.End();
|
||||
Main.spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.NonPremultiplied, Main.DefaultSamplerState, DepthStencilState.None, Main.Rasterizer, null, Main.GameViewMatrix.TransformationMatrix); ;
|
||||
|
||||
for (int i = 0; i < 3; i++)
|
||||
Main.EntitySpriteDraw(auraTexture, drawPosition, frame, auraColor, Projectile.rotation, origin, Projectile.scale, direction, 0);
|
||||
|
||||
Main.spriteBatch.ExitShaderRegion();
|
||||
|
||||
// Draw the back with the specified shader.
|
||||
Main.spriteBatch.End();
|
||||
Main.spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, Main.DefaultSamplerState, DepthStencilState.None, Main.Rasterizer, null, Main.GameViewMatrix.TransformationMatrix);
|
||||
|
||||
shader.Parameters["edgeBorderSize"].SetValue(0f);
|
||||
shader.Parameters["borderShouldBeSolid"].SetValue(FusableParticleManager.GetParticleSetByType<GruesomeEminenceParticleSet>().BorderShouldBeSolid);
|
||||
shader.Parameters["edgeBorderColor"].SetValue(FusableParticleManager.GetParticleSetByType<GruesomeEminenceParticleSet>().BorderColor.ToVector3());
|
||||
shader.Parameters["screenArea"].SetValue(backTexture.Size() / Main.GameViewMatrix.Zoom);
|
||||
shader.Parameters["screenMoveOffset"].SetValue(Vector2.Zero);
|
||||
shader.Parameters["uWorldPosition"].SetValue(Main.screenPosition);
|
||||
shader.Parameters["renderTargetArea"].SetValue(backTexture.Size());
|
||||
shader.Parameters["invertedScreen"].SetValue(Main.LocalPlayer.gravDir == -1f);
|
||||
shader.Parameters["generalBackgroundOffset"].SetValue(backgroundOffset);
|
||||
shader.Parameters["uWorldPosition"].SetValue(Projectile.position);
|
||||
shader.Parameters["uRotation"].SetValue(Projectile.rotation);
|
||||
shader.Parameters["uTime"].SetValue(Main.GlobalTimeWrappedHourly);
|
||||
shader.Parameters["upscaleFactor"].SetValue(new Vector2(Main.screenWidth, Main.screenHeight) / backTexture.Size() / maxFrame);
|
||||
|
||||
// Prepare the background texture for loading.
|
||||
Main.graphics.GraphicsDevice.Textures[1] = backgroundTexture;
|
||||
shader.Parameters["uImageSize1"].SetValue(backgroundTexture.Size());
|
||||
|
||||
shader.CurrentTechnique.Passes[0].Apply();
|
||||
|
||||
// Draw the normal texture.
|
||||
Main.EntitySpriteDraw(backTexture, drawPosition, frame, Color.White, Projectile.rotation, origin, Projectile.scale, direction, 0);
|
||||
Main.spriteBatch.ExitShaderRegion();
|
||||
|
||||
DrawData backTextureDraw = new(backTexture, drawPosition, frame, Color.White, Projectile.rotation, origin, Projectile.scale, direction, 0);
|
||||
DrawData auraTextureDraw = new(auraTexture, drawPosition, frame, Color.White, Projectile.rotation, origin, Projectile.scale, direction, 0);
|
||||
FusableParticleManager.GetParticleSetByType<GruesomeEminenceParticleSet>()?.PrepareSpecialDrawingForNextFrame(backTextureDraw, auraTextureDraw);
|
||||
Main.EntitySpriteDraw(texture, drawPosition, frame, Color.White, Projectile.rotation, origin, Projectile.scale, direction, 0);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -6,6 +6,7 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
|
||||
namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using CalamityMod.NPCs;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Particles.Metaballs;
|
||||
using CalamityMod.TileEntities;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
Reference in new issue
Block a user