Intake the modular outfit pack and ship the Suit base for npc_coat
This commit is contained in:
1 parent
f6bb2b1de3
commit
3b9e3b61d8
12 files changed
+254
-37
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user