25 lines
736 B
C#
25 lines
736 B
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables.PlaceableTurrets
|
|
{
|
|
public class HostileLabTurret : ModItem
|
|
{
|
|
public override string Texture => "CalamityMod/Items/Placeables/PlaceableTurrets/LabTurret";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 1;
|
|
// Tooltip.SetDefault("Shoots laser beams at nearby players");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.DraedonStructures.DraedonLabTurret>());
|
|
|
|
Item.value = Item.buyPrice(0, 5, 0, 0);
|
|
Item.rare = ItemRarityID.Orange;
|
|
}
|
|
}
|
|
}
|