added consumables and buff healing bonuses

This commit is contained in:
2025-08-27 22:15:33 -04:00
parent 5aea4453b0
commit 7b0c9f22ec
7 changed files with 289 additions and 18 deletions

31
Mappings/EquipMappings.cs Normal file
View File

@@ -0,0 +1,31 @@
using Terraria.ID;
namespace TerrariaHealingPlugin.Mappings
{
public class EquipMappings : IMappings
{
public Dictionary<int, short> mappings => new()
{
// FIXME: NOT AT ALL COMPLETED
// choosen designated equipment pieces go here that get a healing boost as an incentive
// ItemID | Healing Amount
{ ItemID.FleshKnuckles, 20 },
{ ItemID.PaladinsShield, 20 },
{ ItemID.MedicatedBandage, 20 },
{ ItemID.LifeforcePotion, 80 },
{ ItemID.WormScarf, 10 },
{ ItemID.CelestialShell, 10 },
{ ItemID.CelestialCuffs, 10 },
};
public double GetHealingMultiplier(int itemType)
{
return itemType switch
{
// nothing here, yet ;)
_ => 1,
};
}
}
}