Intake the modular outfit pack and ship the Suit base for npc_coat
Full build / Import + headless tests (push) Successful in 42s
Full build / Full desktop build + optional release (push) Skipped

This commit is contained in:
zwitschi committed 2026-11-06 19:02:38 +01:00
1 parent f6bb2b1de3
commit 3b9e3b61d8
12 files changed
+254 -37

No files matched your search

+5 -3
View File
@@ -60,13 +60,15 @@ class BuiltAssetTests(unittest.TestCase):
# (ADR-0018: the Quaternius base, 0.20 m head) moves them. The gear is
# authored for the shipped roster, so the ratio checks below are what
# must stay true; the absolute numbers are a drift guard.
self.assertAlmostEqual(coat["reference"]["head_width"], 0.201, places=2)
self.assertAlmostEqual(coat["reference"]["clothing_radius"], 0.19, places=3)
# npc_coat moved to the Suit base, whose head is 0.209 m wide; the ratio checks
# below are what must hold, the absolute numbers are a drift guard.
self.assertAlmostEqual(coat["reference"]["head_width"], 0.209, places=2)
self.assertAlmostEqual(coat["reference"]["clothing_radius"], 0.168, places=3)
sunglasses = next(row for row in coat["gear"] if row["name"] == "sunglasses")
self.assertEqual(sunglasses["attach"], "head")
self.assertLessEqual(sunglasses["width"],
0.70 * coat["reference"]["head_width"])
self.assertAlmostEqual(sunglasses["width_ratio"], 0.65, places=2)
self.assertAlmostEqual(sunglasses["width_ratio"], 0.62, places=2)
bag = next(row for row in coat["gear"] if row["name"] == "shoulder_bag")
self.assertEqual(bag["attach"], "back")
self.assertGreaterEqual(bag["x_extent"], 0.2)