diff --git a/Items/Placeables/Furniture/HolographicDisplayBox.cs b/Items/Placeables/Furniture/HolographicDisplayBox.cs new file mode 100644 index 0000000000..406dd60c32 --- /dev/null +++ b/Items/Placeables/Furniture/HolographicDisplayBox.cs @@ -0,0 +1,31 @@ +using CalamityMod.Tiles; +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace CalamityMod.Items.Placeables.Furniture +{ + public class HolographicDisplayBox : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Holographic Display Box"); + } + + public override void SetDefaults() + { + item.width = 22; + item.height = 32; + item.maxStack = 99; + item.useTurn = true; + item.autoReuse = true; + item.useAnimation = 15; + item.useTime = 10; + item.useStyle = ItemUseStyleID.SwingThrow; + item.consumable = true; + item.value = Item.buyPrice(0, 0, 0, 0); + item.rare = 3; + item.createTile = ModContent.TileType(); + } + } +} diff --git a/Items/Placeables/Furniture/HolographicDisplayBox.png b/Items/Placeables/Furniture/HolographicDisplayBox.png new file mode 100644 index 0000000000..2d02e4dcf3 Binary files /dev/null and b/Items/Placeables/Furniture/HolographicDisplayBox.png differ diff --git a/Tiles/DraedonHologram.cs b/Tiles/DraedonHologram.cs index 03865d53a1..fdd4fe1e02 100644 --- a/Tiles/DraedonHologram.cs +++ b/Tiles/DraedonHologram.cs @@ -22,7 +22,7 @@ namespace CalamityMod.Tiles Main.tileNoAttach[Type] = true; TileObjectData.newTile.CopyFrom(TileObjectData.Style6x3); TileObjectData.newTile.Height = 7; - TileObjectData.newTile.Origin = new Point16(2, 6); + TileObjectData.newTile.Origin = new Point16(3, 6); TileObjectData.newTile.CoordinateHeights = new int[TileObjectData.newTile.Height]; TileObjectData.newTile.CoordinatePadding = 0; for (int i = 0; i < TileObjectData.newTile.CoordinateHeights.Length; i++) @@ -33,6 +33,7 @@ namespace CalamityMod.Tiles animationFrameHeight = 112; soundType = SoundID.Tink; + dustType = 229; minPick = 100; AddMapEntry(new Color(99, 131, 199)); }