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;">'; cr;
nextPutAll: (self abilitiesAsWikiTextFor: self currentAbilities marked: '⬢');
nextPutAll: (self abilitiesAsWikiTextFor: self pendingAbilities marked: '⬡');
nextPutAll: '</ul>'.
^ output contents