Decimation_Mod/Content/Items/Misc/Thermoplasm.cs
FyloZ ec4585bed5 - Changed Bloodshot Eye's music to Boss 1 Orchestra ( https://www.youtube.com/watch?time_continue=120&v=r-9nKGc85FQ )
- Added support for animated projectiles
- Refactoring
- Removed useless fields
- Fixed swords not dealing damages
- Added Hour Hand (from Evie's PR)
2020-03-21 00:11:07 -04:00

31 lines
950 B
C#

using Decimation.Lib.Items;
using Decimation.Lib.Util;
using Terraria;
using Terraria.ModLoader;
namespace Decimation.Content.Items.Misc
{
internal class Thermoplasm : DecimationItem
{
protected override string ItemName => "Thermoplasm";
protected override string ItemTooltip => "It resonates with the heat of the planet's core";
protected override void Init()
{
item.width = 26;
item.height = 36;
item.value = Item.buyPrice(silver: 50);
item.rare = Rarity.Yellow.GetRarityValue();
}
}
public class ThermoplasmDrop : GlobalNPC
{
public override void NPCLoot(NPC npc)
{
if (Main.LocalPlayer.ZoneUnderworldHeight && Main.rand.NextBool(20))
Item.NewItem((int) npc.position.X, (int) npc.position.Y, npc.width, npc.height,
ModContent.ItemType<Thermoplasm>());
}
}
}