()
| 120 | } |
| 121 | |
| 122 | func CompileAdjectiveSwaps() { |
| 123 | clear(adjectiveSwaps) |
| 124 | for adjName, styleDefinition := range adjectiveStyles { |
| 125 | adjectiveSwaps[adjName] = colorpatterns.ApplyColorPattern(styleDefinition.LongForm, styleDefinition.ColorPattern) |
| 126 | adjectiveSwaps[adjName+`-short`] = colorpatterns.ApplyColorPattern(styleDefinition.ShortForm, styleDefinition.ColorPattern) |
| 127 | } |
| 128 | |
| 129 | /* |
| 130 | for _, name := range GetFormattedAdjectives(true) { |
| 131 | mudlog.Info("Color Test (Adjectives)", "name", name, "short", ansitags.Parse(GetFormattedAdjective(name+`-short`)), "full", ansitags.Parse(GetFormattedAdjective(name))) |
| 132 | } |
| 133 | */ |
| 134 | } |
no test coverage detected