package_hull: no Blender version refusal (Steam's Blender is 5.3 now); the fixture manifest's rows fit its raster
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
853798ede9
commit
6f7dd08e9e
2 changed files with 6 additions and 7 deletions
|
|
@ -172,8 +172,7 @@ def package(manifest, manifest_dir, game, packages, openscad, replace):
|
|||
aetherdb = game / "ModTools" / "AetherDb.exe"
|
||||
if package_dir.exists() and not replace:
|
||||
raise Refused(f"{package_dir} exists; pass --replace to re-derive it (this discards edits made since)")
|
||||
if bpy.app.version[:2] != (5, 2):
|
||||
raise Refused(f"This packager is for Blender 5.2; this is {bpy.app.version_string}")
|
||||
print(f"STEP Blender {bpy.app.version_string}", flush=True)
|
||||
if package_dir.exists():
|
||||
shutil.rmtree(package_dir)
|
||||
created.append(package_dir)
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@
|
|||
"stats": {"mass": 20000, "durability": 2000, "armor": 20, "drag": 0.35},
|
||||
"rows": [
|
||||
{"id": "Gun.D", "kind": "Ballistic", "cell": [2, 3], "footprint": "#", "rotation": 0, "armor": 20, "arc": 90},
|
||||
{"id": "Th.L", "kind": "Thruster", "cell": [0, 0], "footprint": "#", "rotation": 2, "armor": 20, "arc": 0},
|
||||
{"id": "Th.R", "kind": "Thruster", "cell": [1, 0], "footprint": "#", "rotation": 2, "armor": 20, "arc": 0},
|
||||
{"id": "Ra.L", "kind": "Radiator", "cell": [2, 0], "footprint": "#", "rotation": 0, "armor": 10, "arc": 0},
|
||||
{"id": "Ra.R", "kind": "Radiator", "cell": [3, 0], "footprint": "#", "rotation": 0, "armor": 10, "arc": 0},
|
||||
{"id": "Reactor", "kind": "Reactor", "cell": [1, 1], "footprint": "#", "rotation": 0, "armor": 0, "arc": 0}
|
||||
{"id": "Th.L", "kind": "Thruster", "cell": [3, 0], "footprint": "#", "rotation": 2, "armor": 20, "arc": 0},
|
||||
{"id": "Th.R", "kind": "Thruster", "cell": [4, 0], "footprint": "#", "rotation": 2, "armor": 20, "arc": 0},
|
||||
{"id": "Ra.L", "kind": "Radiator", "cell": [2, 1], "footprint": "#", "rotation": 0, "armor": 10, "arc": 0},
|
||||
{"id": "Ra.R", "kind": "Radiator", "cell": [5, 1], "footprint": "#", "rotation": 0, "armor": 10, "arc": 0},
|
||||
{"id": "Reactor", "kind": "Reactor", "cell": [3, 2], "footprint": "#", "rotation": 0, "armor": 0, "arc": 0}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue