makhidkarun / traveller_pyroute

Traveller trade route generator
MIT License
14 stars 5 forks source link

Fix false reject on empty star lists #88

Closed CyberiaResurrection closed 11 months ago

CyberiaResurrection commented 11 months ago

Status quo reflects a bad assumption of mine that a starline will always have at least one star.

Amderstun 0101 (0101 X73A000-0 Ba Lo Ni Wa - - - 012 --), among others, begs to differ.

This PR relaxes that assumption and updates the definition of Star.primary_type to handle empty star lists.