using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Ranged; using CalamityMod.Rarities; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Ammo { public class GodSlayerSlug : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Ammo"; public override void SetStaticDefaults() { Item.ResearchUnlockCount = 99; } public override void SetDefaults() { Item.damage = 28; Item.DamageType = DamageClass.Ranged; Item.width = 22; Item.height = 22; Item.maxStack = 9999; Item.consumable = true; Item.knockBack = 3f; Item.value = Item.sellPrice(copper: 28); Item.rare = ModContent.RarityType(); Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 6f; Item.ammo = ItemID.MusketBall; } public override void AddRecipes() { CreateRecipe(999). AddIngredient(ItemID.EmptyBullet, 999). AddIngredient(). AddTile(). Register(); } } }