Set up ability to run commands from the terminal
This commit is contained in:
@@ -6,6 +6,9 @@ from tungston.generator.markdown.report import Report
|
||||
|
||||
class MineralReport(Report):
|
||||
|
||||
def __init__(self, world:World):
|
||||
super().__init__("minerals.md", world)
|
||||
|
||||
def build(self):
|
||||
for mineral in self.world.minerals.all():
|
||||
self.line(f"# Mineral: {mineral.name}")
|
||||
@@ -13,7 +16,7 @@ class MineralReport(Report):
|
||||
|
||||
self.indent()
|
||||
for replacement in mineral.replacements:
|
||||
self.line(str(replacement))
|
||||
self.text("* ").line(str(replacement))
|
||||
self.outdent()
|
||||
|
||||
self.line()
|
||||
|
||||
Reference in New Issue
Block a user