-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathStringResources.cs
More file actions
26 lines (18 loc) · 1.14 KB
/
StringResources.cs
File metadata and controls
26 lines (18 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using CounterStrikeSharp.API.Modules.Utils;
namespace SuperheroPlugin;
public static class StringResources
{
public static string LevelStatsMessage(
int level, int currXp, int lvlUpXp, int abilityPoints) =>
$@"Level {ChatColors.Purple}{level}{ChatColors.Default} | Exp {ChatColors.Blue}{currXp}/{lvlUpXp}{ChatColors.Default} | AP {ChatColors.Green}{abilityPoints}{ChatColors.Default}";
public static string GainedXp(int xpAmount) =>
$@" {ChatColors.Blue}+{xpAmount}xp{ChatColors.Default} Gained";
public static string GainedLevel(int newLevel, int newApPoints) =>
$@"You reached Level {ChatColors.Purple}{newLevel}{ChatColors.Default} | You have {ChatColors.Green}{newApPoints}{ChatColors.Default} AP";
public static string NotEnoughAp() =>
$@"You don't have enough {ChatColors.Green}AP{ChatColors.Default}";
public static string AbilityOption(int level, string abilityName) =>
$@"Level:{ChatColors.Purple}{level}{ChatColors.Default} | {abilityName}";
public static string AddedAbility(string abilityName) =>
$@"Added ability {ChatColors.Green}{abilityName}{ChatColors.Default}";
}