using ColdMint.scripts.utils;
using Godot;
namespace ColdMint.scripts;
///
/// SloganProvider
/// 标语提供器
///
public static class SloganProvider
{
private const int MaxSloganIndex = 5;
///
/// Swipe the machine to get a slogan
/// 刷机获取一个标语
///
///
public static string? GetSlogan()
{
var index = GD.Randi() % MaxSloganIndex + 1;
return TranslationServerUtils.Translate("slogan_" + index);
}
}