relics/RelicCreditCard.cs

A relic subclass, RelicCreditCard. On level up it sets the AllItemsCostHP stat on the Manager singleton to 1, so items cost HP instead of another resource. Has a todo for sound effects.

using Sandbox;
using System.Reflection.PortableExecutable;
using System.Runtime.Versioning;
using System.Threading.Tasks;

public class RelicCreditCard : Relic
{
	public override void LevelUp()
	{
		base.LevelUp();

		Manager.Instance.Stats[StatType.AllItemsCostHP] = 1f;

		// todo: sfx
	}
}