Pins that follow the bills: compound commodity count 63 to 67, Point Defense Gun and Flak Gun at their chain-derived prices
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4ef9a3eaf6
commit
e85e62f412
2 changed files with 5 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ public sealed class CommodityRecordsTests
|
|||
{
|
||||
using var cache = RestoredHullsTests.OpenCatalog();
|
||||
Assert.Equal(50, cache.GetAll<SimpleCommodityData>().Count());
|
||||
Assert.Equal(63, cache.GetAll<CompoundCommodityData>().Count());
|
||||
Assert.Equal(67, cache.GetAll<CompoundCommodityData>().Count());
|
||||
Assert.Contains(cache.GetAll<SimpleCommodityData>(), c => c.Name == "Ammo");
|
||||
Assert.All(cache.GetAll<CompoundCommodityData>(), c => Assert.False(string.IsNullOrEmpty(c.Name)));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -356,6 +356,8 @@ public sealed partial class RunStartTests
|
|||
// Data check: the authored numbers of the three designs, read from the shipped catalog through the production load path
|
||||
// (addenda "Catalog growth: generic designs, branded products", the Derivation of the PD stats). Each is a lever the
|
||||
// operator tunes, so each is pinned; the ammunition is the commodity Autocannon's rounds are.
|
||||
// The Point Defense Gun and Flak Gun prices are what their chains derive (MunitionsBills; L-price holds them to it), so a retune of the
|
||||
// parts moves them and this pin with them.
|
||||
[Fact]
|
||||
public void PdGearStatsAreAuthored()
|
||||
{
|
||||
|
|
@ -365,11 +367,11 @@ public sealed partial class RunStartTests
|
|||
(float min, float max) velocity, (float min, float max) energy, (float min, float max) heat, (float min, float max) visibility,
|
||||
bool ammo, int magazine, float reload)[]
|
||||
{
|
||||
("Point Defense Gun", 40f, 800, 60f, WeaponModifiers.RapidFire, (1.5f, 4f), (1f, 1f), (300f, 550f), (.06f, .025f), (1f, .3f),
|
||||
("Point Defense Gun", 40f, 4890, 60f, WeaponModifiers.RapidFire, (1.5f, 4f), (1f, 1f), (300f, 550f), (.06f, .025f), (1f, .3f),
|
||||
(1100f, 1600f), (.4f, .2f), (40f, 15f), (400f, 150f), true, 250, 3f),
|
||||
("Point Defense Laser", 30f, 1100, 30f, PdDesign("Light Laser").WeaponModifiers, (5f, 12f), (1f, 1f), (400f, 750f), (.2f, .1f), (.05f, 0f),
|
||||
(0f, 0f), (6f, 10f), (300f, 150f), (300f, 100f), false, PdDesign("Light Laser").Behaviors.OfType<InstantWeaponData>().Single().MagazineSize, PdDesign("Light Laser").Behaviors.OfType<InstantWeaponData>().Single().ReloadTime),
|
||||
("Flak Gun", 120f, 1800, 80f, WeaponModifiers.Cluster, (30f, 70f), (6f, 8f), (350f, 800f), (.6f, .35f), (4f, 2f),
|
||||
("Flak Gun", 120f, 6022, 80f, WeaponModifiers.Cluster, (30f, 70f), (6f, 8f), (350f, 800f), (.6f, .35f), (4f, 2f),
|
||||
(900f, 1300f), (1f, .5f), (300f, 150f), (800f, 300f), true, 40, 4f),
|
||||
};
|
||||
foreach (var e in expected)
|
||||
|
|
|
|||
Loading…
Reference in a new issue