-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Exiled.API.Interfaces; | ||
using InventorySystem.Items.Usables.Scp330; | ||
using System.ComponentModel; | ||
|
||
namespace CandyUtilities | ||
{ | ||
public sealed class Translation : ITranslation | ||
{ | ||
[Description("The text shown when picking up a candy, note %type% gets replaced with the type of candy. If ShouldShowHint is false then this won't do anything.")] | ||
public string PickupText { get; set; } = "You take a piece of %type% candy."; | ||
[Description("Dictionary of candies and the respective text to show based on them")] | ||
public Dictionary<CandyKindID, string> CandyText { get; set; } = new() | ||
{ | ||
{ CandyKindID.Rainbow, "<color=#FF0000>R</color><color=#FF7F00>a</color><color=#FFFF00>i</color><color=#00FF00>n</color><color=#0000FF>b</color><color=#4B0082>o</color><color=#8A2BE2>w</color>" }, | ||
{ CandyKindID.Yellow, "<color=#FFFF00>Yellow</color>" }, | ||
{ CandyKindID.Purple, "<color=#800080>Purple</color>" }, | ||
{ CandyKindID.Red, "<color=#FF0000>Red</color>" }, | ||
{ CandyKindID.Green, "<color=#008000>Green</color>" }, | ||
{ CandyKindID.Blue, "<color=#0000FF>Blue</color>" }, | ||
{ CandyKindID.Pink, "<color=#FFC0CB>Pink</color>" } | ||
}; | ||
} | ||
} |