Mods
This commit is contained in:
parent
876140252b
commit
5120420329
|
@ -13,6 +13,7 @@ class Args:
|
|||
images: bool = True
|
||||
header: bool = True
|
||||
footer: bool = True
|
||||
intro: bool = True
|
||||
|
||||
@staticmethod
|
||||
def prepare() -> None:
|
||||
|
@ -26,6 +27,7 @@ class Args:
|
|||
("no_images", "images"),
|
||||
("no_header", "header"),
|
||||
("no_footer", "footer"),
|
||||
("no_intro", "intro"),
|
||||
]
|
||||
|
||||
for r_item in other_name:
|
||||
|
|
|
@ -93,3 +93,9 @@ class ArgSpec:
|
|||
action="store_false",
|
||||
info="Don't show the footer controls",
|
||||
)
|
||||
|
||||
ArgSpec.add_argument(
|
||||
"no_intro",
|
||||
action="store_false",
|
||||
info="Don't show the intro message",
|
||||
)
|
||||
|
|
|
@ -91,6 +91,8 @@ class Game:
|
|||
def prepare() -> None:
|
||||
Game.fill()
|
||||
Game.info()
|
||||
|
||||
if Args.intro:
|
||||
Game.intro()
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue