Skip to content

Commit 70d2ef8

Browse files
committed
fixed markdown export and added space shield
1 parent cca2b76 commit 70d2ef8

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Launcher():
88

9-
version = '2025.02b255'
9+
version = '2025.02b260'
1010
__version__ = '2.0'
1111

1212
# holds the style of the app

src/export.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def md_equipment_table(
5656
if item == '':
5757
section[-1] += [''] * (extra_cols + 1)
5858
else:
59-
section[i].append(
59+
section[-1].append(
6060
f"[{item['item']} {item['mark']} {''.join(notempty(item['modifiers']))}]"
6161
f"({wiki_url(self.cache.equipment[key][item['item']]['Page'])})")
62-
section[i] += [''] * extra_cols
62+
section[-1] += [''] * extra_cols
6363
section.append(['--------------', '--------------'] + [''] * extra_cols)
6464
return section
6565

@@ -188,6 +188,7 @@ def get_build_markdown(self, environment: str, type_: str) -> str:
188188
equip_table += md_equipment_table(
189189
self, 'space', 'engines', 'Impulse Engines', single_line=True)
190190
equip_table += md_equipment_table(self, 'space', 'core', 'Warp', single_line=True)
191+
equip_table += md_equipment_table(self, 'space', 'shield', 'Shield', single_line=True)
191192
equip_table += md_equipment_table(self, 'space', 'devices', 'Devices')
192193
if self.build['space']['experimental'][0]:
193194
equip_table += md_equipment_table(

0 commit comments

Comments
 (0)