This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
27 lines
858 B
C#
27 lines
858 B
C#
using CalamityMod.Items.Fishing.FishingRods;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Projectiles.Typeless
|
|
{
|
|
public class EarlyBloomBobber : ModProjectile, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Projectiles.Typeless";
|
|
public override void SetDefaults()
|
|
{
|
|
Projectile.width = 14;
|
|
Projectile.height = 14;
|
|
Projectile.aiStyle = ProjAIStyleID.Bobber;
|
|
Projectile.bobber = true;
|
|
Projectile.penetrate = -1;
|
|
}
|
|
|
|
public override bool PreDrawExtras()
|
|
{
|
|
Lighting.AddLight(Projectile.Center, 0.1f, 0.5f, 0.15f);
|
|
return Projectile.DrawFishingLine(ModContent.ItemType<EarlyBloomRod>(), new Color(190, 140, 69, 100));
|
|
}
|
|
}
|
|
}
|