Replace battle maps 53 and 54 with hand-painted assets
This commit is contained in:
@@ -21,6 +21,7 @@ VERY_LARGE_MAP_TILE_SIZE = 176
|
||||
ULTRA_LARGE_MAP_TILE_SIZE = 160
|
||||
EXTREME_LARGE_MAP_TILE_SIZE = 152
|
||||
MASSIVE_LARGE_MAP_TILE_SIZE = 144
|
||||
COLOSSAL_LARGE_MAP_TILE_SIZE = 136
|
||||
TILE = DEFAULT_TILE_SIZE
|
||||
RNG = random.Random(240704)
|
||||
|
||||
@@ -520,6 +521,26 @@ MAP_CONFIGS = {
|
||||
"seed": 241214,
|
||||
"tile_size": MASSIVE_LARGE_MAP_TILE_SIZE,
|
||||
},
|
||||
"fifty-third": {
|
||||
"slug": "fifty-third-battle-map",
|
||||
"terrain_export": "fiftyThirdBattleMap",
|
||||
"units_export": "fiftyThirdBattleUnits",
|
||||
"ally_positions_export": "fiftyThirdBattleAllyPositions",
|
||||
"out": BATTLE_IMAGE_DIR / "fifty-third-battle-map.webp",
|
||||
"before": BATTLE_IMAGE_DIR / "fifty-third-battle-map.svg",
|
||||
"seed": 241224,
|
||||
"tile_size": COLOSSAL_LARGE_MAP_TILE_SIZE,
|
||||
},
|
||||
"fifty-fourth": {
|
||||
"slug": "fifty-fourth-battle-map",
|
||||
"terrain_export": "fiftyFourthBattleMap",
|
||||
"units_export": "fiftyFourthBattleUnits",
|
||||
"ally_positions_export": "fiftyFourthBattleAllyPositions",
|
||||
"out": BATTLE_IMAGE_DIR / "fifty-fourth-battle-map.webp",
|
||||
"before": BATTLE_IMAGE_DIR / "fifty-fourth-battle-map.svg",
|
||||
"seed": 241234,
|
||||
"tile_size": COLOSSAL_LARGE_MAP_TILE_SIZE,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -1158,8 +1179,8 @@ def main() -> None:
|
||||
|
||||
config = dict(MAP_CONFIGS[args.map])
|
||||
if args.tile_size is not None:
|
||||
if args.tile_size < 144:
|
||||
raise ValueError("--tile-size must be 144 or greater")
|
||||
if args.tile_size < 136:
|
||||
raise ValueError("--tile-size must be 136 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