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