RoloLudo/RoloLudo.package/SfAsset.class/instance/abilitiesAsWikiText.st

10 lines
340 B
Smalltalk
Raw Normal View History

converting
abilitiesAsWikiText
| output |
output := '' writeStream.
output
nextPutAll: '<ul style="list-style-type:none;">'; lf;
2021-06-06 21:07:09 +00:00
nextPutAll: (self abilitiesAsWikiTextFor: self currentAbilities marked: '⬢');
nextPutAll: (self abilitiesAsWikiTextFor: self pendingAbilities marked: '⬡');
nextPutAll: '</ul>'.
^ output contents