relics/RelicRunningShoes.cs

A one-level relic, RelicRunningShoes. On level up it sets the ClaimBountiesBeforeReady stat on the game's Manager to 1, which lets the player claim bounties before they are ready.

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

public class RelicRunningShoes : Relic
{
	public override void Init()
	{
		base.Init();

		MaxLevel = 1;
	}

	public override void LevelUp()
	{
		base.LevelUp();

		Manager.Instance.Stats[StatType.ClaimBountiesBeforeReady] = 1f;
	}
}