Module:Items/SourceTables: Difference between revisions

Removing forced line breaks after every three upgradables/monster sources to see how that looks
(Adding manual overrides for the first two lore books)
(Removing forced line breaks after every three upgradables/monster sources to see how that looks)
Line 285: Line 285:
         if string.len(killStr) > 0 then
         if string.len(killStr) > 0 then
           killStr = killStr..','
           killStr = killStr..','
           if count1 % 3 == 1 and count1 > 1 then killStr = killStr..'<br/>' end
           --if count1 % 3 == 1 and count1 > 1 then killStr = killStr..'<br/>' end
           killStr = killStr..Icons.Icon({monster.name, type="monster", notext="true"})
           killStr = killStr..Icons.Icon({monster.name, type="monster", notext="true"})
         else
         else
Line 329: Line 329:
           if string.len(lootStr) > 0 then
           if string.len(lootStr) > 0 then
             lootStr = lootStr..','
             lootStr = lootStr..','
             if count1 % 3 == 1 and count1 > 1 then lootStr = lootStr..'<br/>' end
             --if count1 % 3 == 1 and count1 > 1 then lootStr = lootStr..'<br/>' end
             lootStr = lootStr..Icons.Icon({item2.name, type="item", notext="true"})
             lootStr = lootStr..Icons.Icon({item2.name, type="item", notext="true"})
           else
           else
Line 341: Line 341:
         if string.len(upgradeStr) > 0 then
         if string.len(upgradeStr) > 0 then
           upgradeStr = upgradeStr..','
           upgradeStr = upgradeStr..','
           if count2 % 3 == 1 and count2 > 1 then upgradeStr = upgradeStr..'<br/>' end
           --if count2 % 3 == 1 and count2 > 1 then upgradeStr = upgradeStr..'<br/>' end
           upgradeStr = upgradeStr..Icons.Icon({item2.name, type="item", notext="true"})
           upgradeStr = upgradeStr..Icons.Icon({item2.name, type="item", notext="true"})
         else
         else