UI/HUD/Elements/ResearchAlert.razor
@using Sandbox.UI;
@inherits Panel
@namespace PlanetMeat

<root>
	@if (Show)
	{
		<span>#alert.tech.title</span>
		<span>-</span>
		<span>#tech.@(Research.Current.ResearchTarget.Ident).title</span>
	}
</root>

@code
{
	private bool Show => Research.Current.CompletionAlert;
	protected override int BuildHash() => System.HashCode.Combine(
		Show
	);
}