Replace battle maps 59 and 60 with hand-painted assets
This commit is contained in:
@@ -23,6 +23,7 @@ EXTREME_LARGE_MAP_TILE_SIZE = 152
|
||||
MASSIVE_LARGE_MAP_TILE_SIZE = 144
|
||||
COLOSSAL_LARGE_MAP_TILE_SIZE = 136
|
||||
GIGANTIC_LARGE_MAP_TILE_SIZE = 128
|
||||
IMMENSE_LARGE_MAP_TILE_SIZE = 120
|
||||
TILE = DEFAULT_TILE_SIZE
|
||||
RNG = random.Random(240704)
|
||||
|
||||
@@ -582,6 +583,26 @@ MAP_CONFIGS = {
|
||||
"seed": 241274,
|
||||
"tile_size": GIGANTIC_LARGE_MAP_TILE_SIZE,
|
||||
},
|
||||
"fifty-ninth": {
|
||||
"slug": "fifty-ninth-battle-map",
|
||||
"terrain_export": "fiftyNinthBattleMap",
|
||||
"units_export": "fiftyNinthBattleUnits",
|
||||
"ally_positions_export": "fiftyNinthBattleAllyPositions",
|
||||
"out": BATTLE_IMAGE_DIR / "fifty-ninth-battle-map.webp",
|
||||
"before": BATTLE_IMAGE_DIR / "fifty-ninth-battle-map.svg",
|
||||
"seed": 241284,
|
||||
"tile_size": GIGANTIC_LARGE_MAP_TILE_SIZE,
|
||||
},
|
||||
"sixtieth": {
|
||||
"slug": "sixtieth-battle-map",
|
||||
"terrain_export": "sixtiethBattleMap",
|
||||
"units_export": "sixtiethBattleUnits",
|
||||
"ally_positions_export": "sixtiethBattleAllyPositions",
|
||||
"out": BATTLE_IMAGE_DIR / "sixtieth-battle-map.webp",
|
||||
"before": BATTLE_IMAGE_DIR / "sixtieth-battle-map.svg",
|
||||
"seed": 241294,
|
||||
"tile_size": IMMENSE_LARGE_MAP_TILE_SIZE,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -1223,8 +1244,8 @@ def main() -> None:
|
||||
|
||||
config = dict(MAP_CONFIGS[args.map])
|
||||
if args.tile_size is not None:
|
||||
if args.tile_size < 128:
|
||||
raise ValueError("--tile-size must be 128 or greater")
|
||||
if args.tile_size < 120:
|
||||
raise ValueError("--tile-size must be 120 or greater")
|
||||
config["tile_size"] = args.tile_size
|
||||
out_path = args.out or Path(config["out"])
|
||||
before_path = args.before or Path(config["before"])
|
||||
|
||||
Reference in New Issue
Block a user