diff --git a/Content/Items/Tiles/Furniture/NeptuneTrophyItem.cs b/Content/Items/Tiles/Furniture/NeptuneTrophyItem.cs new file mode 100644 index 0000000..454af6a --- /dev/null +++ b/Content/Items/Tiles/Furniture/NeptuneTrophyItem.cs @@ -0,0 +1,19 @@ +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace ForgottenWawiTech.Content.Items.Tiles.Furniture +{ + public class NeptuneTrophyItem : ModItem + { + public override void SetDefaults() + { + Item.DefaultToPlaceableTile(ModContent.TileType()); + Item.width = 128; + Item.height = 64; + Item.maxStack = 9999; + Item.rare = ItemRarityID.Blue; + Item.value = Item.buyPrice(0, 1, 0, 0); + } + } +} diff --git a/Content/Items/Tiles/Furniture/NeptuneTrophyItem.png b/Content/Items/Tiles/Furniture/NeptuneTrophyItem.png new file mode 100644 index 0000000..8a74e1f Binary files /dev/null and b/Content/Items/Tiles/Furniture/NeptuneTrophyItem.png differ diff --git a/Content/Tiles/NeptuneTrophy.cs b/Content/Tiles/NeptuneTrophy.cs new file mode 100644 index 0000000..4d53362 --- /dev/null +++ b/Content/Tiles/NeptuneTrophy.cs @@ -0,0 +1,32 @@ +using Microsoft.Xna.Framework; +using Terraria; +using Terraria.DataStructures; +using Terraria.Enums; +using Terraria.Localization; +using Terraria.ModLoader; +using Terraria.ObjectData; + +namespace ForgottenWawiTech.Content.Tiles +{ + public class NeptuneTrophy : ModTile + { + public override void SetStaticDefaults() + { + Main.tileFrameImportant[Type] = true; + Main.tileLavaDeath[Type] = true; + TileObjectData.newTile.CopyFrom(TileObjectData.Style3x3Wall); + TileObjectData.newTile.Width = 8; + TileObjectData.newTile.Height = 4; + TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16, 16 }; + TileObjectData.newTile.CoordinateWidth = 16; + TileObjectData.newTile.CoordinatePadding = 0; + TileObjectData.newTile.Origin = new Point16(4, 3); // Center bottom anchor point + TileObjectData.newTile.AnchorWall = true; + TileObjectData.addTile(Type); + + DustType = 7; + AddMapEntry(new Color(120, 85, 60), Language.GetText("MapObject.Trophy")); + } + + } +} diff --git a/Content/Tiles/NeptuneTrophy.png b/Content/Tiles/NeptuneTrophy.png new file mode 100644 index 0000000..8a74e1f Binary files /dev/null and b/Content/Tiles/NeptuneTrophy.png differ diff --git a/Content/Tiles/NeptuneTrophyTemp.png b/Content/Tiles/NeptuneTrophyTemp.png new file mode 100644 index 0000000..6b564ea Binary files /dev/null and b/Content/Tiles/NeptuneTrophyTemp.png differ diff --git a/Localization/en-US_Mods.ForgottenWawiTech.hjson b/Localization/en-US_Mods.ForgottenWawiTech.hjson index 07d80f5..1f27e29 100644 --- a/Localization/en-US_Mods.ForgottenWawiTech.hjson +++ b/Localization/en-US_Mods.ForgottenWawiTech.hjson @@ -229,6 +229,14 @@ Items: { Tooltip: A feather from an Avali. DisplayName: Avali Feather } + + NeptuneTrophyItem: { + Tooltip: + ''' + Surprisingly large for a trophy. Especially from an otter. + ''' + DisplayName: Neptune Trophy Item + } } NPCs: {