23 lines
663 B
C#
23 lines
663 B
C#
using Emiliasmod.Content.Projectiles;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace Emiliasmod.Content.Items.Ammo
|
|
{
|
|
public class VacuumTube : ModItem {
|
|
public override void SetDefaults() {
|
|
Item.width = 24;
|
|
Item.height = 24;
|
|
Item.maxStack = 24;//need to introduce overheat if i want to make this 9999
|
|
Item.consumable = true;
|
|
Item.knockBack = 0f;
|
|
Item.crit = 0;
|
|
Item.value = Item.sellPrice(0, 15, 5, 0);
|
|
Item.rare = ItemRarityID.Red;
|
|
Item.shoot = ModContent.ProjectileType<SpaceBlasterProjectile>(); // The bolt it fires
|
|
Item.ammo = Item.type; // This item IS the ammo type
|
|
}
|
|
}
|
|
}
|