Line 131: |
Line 131: |
| end | | end |
| return image | | return image |
| + | end |
| + | |
| + | function ShipBattleCardKai.formatLayerTestTable() |
| + | local parts = { '{|\n!Code!!SD!!HD' } |
| + | for layer, _ in pairs(ShipBattleCardKai._battle_card_layers) do |
| + | table.insert(parts, string.format( |
| + | '|-\n!%s\n|%s\n|%s', |
| + | layer, |
| + | ShipBattleCardKai:Asset({ 'Taihou/Kai', layers = layer }), |
| + | ShipBattleCardKai:Asset({ 'Taihou/Kai', layers = layer, hd = 'true' }) |
| + | )) |
| + | end |
| + | table.insert(parts, '|}') |
| + | return table.concat(parts, '\n') |
| end | | end |
| | | |
| return ShipBattleCardKai | | return ShipBattleCardKai |