Add NeptuneTrophy
This commit is contained in:
@@ -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<Content.Tiles.NeptuneTrophy>());
|
||||||
|
Item.width = 128;
|
||||||
|
Item.height = 64;
|
||||||
|
Item.maxStack = 9999;
|
||||||
|
Item.rare = ItemRarityID.Blue;
|
||||||
|
Item.value = Item.buyPrice(0, 1, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
@@ -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"));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
@@ -229,6 +229,14 @@ Items: {
|
|||||||
Tooltip: A feather from an Avali.
|
Tooltip: A feather from an Avali.
|
||||||
DisplayName: Avali Feather
|
DisplayName: Avali Feather
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NeptuneTrophyItem: {
|
||||||
|
Tooltip:
|
||||||
|
'''
|
||||||
|
Surprisingly large for a trophy. Especially from an otter.
|
||||||
|
'''
|
||||||
|
DisplayName: Neptune Trophy Item
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NPCs: {
|
NPCs: {
|
||||||
|
|||||||
Reference in New Issue
Block a user