Implement use of PlaceholderProj and PlaceholderTile

This commit is contained in:
2025-11-21 23:56:46 +00:00
parent f6d187274c
commit 48d26de6b0
33 changed files with 51 additions and 18 deletions
@@ -15,6 +15,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Avali
private const float TargetRange = 920f;
private const float ShotSpeed = 19.5f;
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionSacrificable[Type] = false;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -6,8 +6,12 @@ using Terraria.ModLoader;
namespace ForgottenWawiTech.Content.Projectiles.Avali
{
public class AvaliHuntingDroneShot : ModProjectile
{
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionShot[Type] = true;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -14,6 +14,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Avali
private const int MarkCooldown = 45;
private const float MarkRange = 700f;
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionSacrificable[Type] = false;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -11,6 +11,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Protogen
private const float HomingStrength = 0.14f;
private const float DesiredSpeed = 14f;
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionShot[Type] = true;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -16,6 +16,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Protogen
private const float TargetRange = 950f;
private const float BeamVelocity = 18f;
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionSacrificable[Type] = false;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -9,6 +9,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Protogen
{
public class ProtogenSentinelCoreBeam : ModProjectile
{
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionShot[Type] = true;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -9,6 +9,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Protogen
{
public class ProtogenSentinelFragment : ModProjectile
{
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
private const float HomingRange = 560f;
private const float HomingStrength = 0.18f;
private const float DesiredSpeed = 15f;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -15,6 +15,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Singularity
private const float TargetRange = 1000f;
private const float BeamSpeed = 21f;
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionSacrificable[Type] = false;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -12,6 +12,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Singularity
ProjectileID.Sets.MinionShot[Type] = true;
}
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetDefaults()
{
Projectile.width = 16;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -11,10 +11,7 @@ namespace ForgottenWawiTech.Content.Projectiles.Transcendent
private const float HomingStrength = 0.2f;
private const float DesiredSpeed = 20f;
/* public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionShot[Type] = true;
} */
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetDefaults()
{
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -15,6 +15,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Transcendent
private const float TargetRange = 1100f;
private const float BoltSpeed = 19f;
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetStaticDefaults()
{
ProjectileID.Sets.MinionSacrificable[Type] = false;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -14,6 +14,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Transcendent
ProjectileID.Sets.TrailingMode[Type] = 2;
}
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetDefaults()
{
Projectile.width = 18;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -16,6 +16,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Transcendent
ProjectileID.Sets.MinionShot[Type] = true;
}
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetDefaults()
{
Projectile.width = 14;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -15,6 +15,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Transcendent
ProjectileID.Sets.TrailingMode[Type] = 2;
}
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetDefaults()
{
Projectile.width = 28;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -15,6 +15,8 @@ namespace ForgottenWawiTech.Content.Projectiles.Transcendent
ProjectileID.Sets.TrailingMode[Type] = 3;
}
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetDefaults()
{
Projectile.width = 14;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

@@ -8,7 +8,7 @@ namespace ForgottenWawiTech.Content.Projectiles.TridentOfTheSunken
{
public class TridentOfTheSunkenBlast : ModProjectile
{
public override string Texture => "Terraria/Images/Projectile_647"; // Duke Fishron bubble burst as placeholder
public override string Texture => "ForgottenWawiTech/Assets/PlaceholderProj";
public override void SetDefaults()
{