diff --git a/RoloLudo.package/Firelights.class/instance/populateOracles.st b/RoloLudo.package/Firelights.class/instance/populateOracles.st index 2e7f581..117da2d 100644 --- a/RoloLudo.package/Firelights.class/instance/populateOracles.st +++ b/RoloLudo.package/Firelights.class/instance/populateOracles.st @@ -1,3 +1,6 @@ accessing populateOracles - ^ wiki \ No newline at end of file + | oraclesTiddler | + oraclesTiddler := self wiki templateWiki tiddlers + detect: [:tiddler | (tiddler title) = 'Tablas Generadoras' ]. + ^ oraclesTiddler text lines allButFirst collect: [:each | each splitOn: '|'] \ No newline at end of file diff --git a/RoloLudo.package/Firelights.class/instance/wiki.st b/RoloLudo.package/Firelights.class/instance/wiki.st index 4ed51ae..6c7c1f2 100644 --- a/RoloLudo.package/Firelights.class/instance/wiki.st +++ b/RoloLudo.package/Firelights.class/instance/wiki.st @@ -1,7 +1,7 @@ accessing wiki - ^ wiki ifNil: [ - wiki := (TiddlyWiki new) + + ^ wiki ifNil: [ wiki := TiddlyWiki new name: 'Firelights/Vivarium games wiki'; - template: 'https://vivarium.tiddlyhost.com/' - ] \ No newline at end of file + template: 'https://vivarium.tiddlyhost.com/'. + ] \ No newline at end of file