gems/GemRerolls.cs

A gem item class that grants players additional reroll items at the start of a run. It defines an ItemId, text descriptions for the gem based on level, and increments the player's NumRerollAvailable in OnRunStart.

public class GemRerolls : Gem
{
	public const string ItemId = "gem_rerolls";

	public static string Description( int level ) => $"Start with +{level} reroll-item";
	public static string UpgradeDescription( int level ) => $"Start with +{level - 1}→+{level} reroll-item";

	public override void OnRunStart()
	{
		Player.NumRerollAvailable += Level;
	}
}