guns/GunShotgun.cs

A small gun class for a shotgun item. It defines the item id, returns fixed projectile count and spread, and exposes a Description string that interpolates those values.

public class GunShotgun : Gun
{
	public const string ItemId = "gun_shotgun";

	private static int GetProjectiles() => 5;
	private static int GetSpread() => 30;

	public static string Description() => $"Fires {GetProjectiles()} pellets with {GetSpread()}° spread";
}