Added Inline Hashtag support

This commit is contained in:
Wofsauge committed 2020-10-25 02:32:59 +02:00
1 parent d9fbf53d32
commit 07d53c5a6d
8 files changed
+70 -17

No files matched your search

+15
View File
@@ -1,3 +1,18 @@
-- Specific strings that will be replaced with something else. This is used to convert Shortcuts into internal markup.
EID.TextReplacementPairs = {
{"!!!", "{{Warning}}"}, -- Turn 3 Exclamations into Warning
{"↑", "{{ArrowUp}}"}, -- Up Arrow
{"↓", "{{ArrowDown}}"}, -- Down Arrow
{"\1", "{{ArrowUp}}"}, -- Legacy Up Arrow
{"\2", "{{ArrowDown}}"}, -- Legacy Down Arrow
{"\3", "{{Warning}}"}, -- Legacy Warning
{"\6", "{{Heart}}"}, -- Legacy Heart
{"\5", "{{Key}}"}, -- Legacy Key
{"\015", "{{Coin}}"}, -- Legacy Coin
{"\8\189", "{{Bomb}}"}, -- Legacy BOMB
{"{{Hashtag}}", "ǂ"}, -- Hashtag
}
--Format: [SHORTCUT]= {Animationname, Frame, Width, Height, LeftOffset [Default: -1], TopOffset [Default: 0], SpriteObject [Default: EID.InlineIconSprite]}
EID.InlineIcons = {
["ERROR"] = {"ERROR", 0, 10, 10},