do not draw background tile
This commit is contained in:
parent
dc6c7cfd57
commit
78785fbea5
|
@ -49,7 +49,7 @@ def inspect(source: Path = typer.Argument(help="The battle map text file to laod
|
|||
Print information about the specified battle map text file.
|
||||
"""
|
||||
manager = app_state["tileset_manager"]
|
||||
bmap = battlemap.BattleMap(name=source.name, source=source, tileset=manager.console_map)
|
||||
bmap = battlemap.BattleMap(name=source.name, source=source, tileset=manager.console_map_colorized)
|
||||
bmap.load()
|
||||
console = Console()
|
||||
console.print(repr(bmap), highlight=False)
|
||||
|
|
|
@ -29,6 +29,8 @@ COLOR_MAP = {
|
|||
"7": "white on dark_red",
|
||||
"8": "white on dark_red",
|
||||
"9": "white on dark_red",
|
||||
"_": "white on steel_blue",
|
||||
",": "black on dark_green",
|
||||
}
|
||||
|
||||
|
||||
|
@ -72,6 +74,8 @@ class TileSet:
|
|||
default_factory=lambda: {
|
||||
" ": "empty",
|
||||
".": "ground",
|
||||
",": "grass",
|
||||
"_": "water",
|
||||
"d": "door, open",
|
||||
"D": "door, closed",
|
||||
"L": "door, locked",
|
||||
|
|
Loading…
Reference in New Issue
Block a user