A Traveller5 starship component builder.
Relatively small, stateless endpoints. Incrementally developed.
GET /weapons
GET /mounts
GET /ranges
(App displays picklists for weapon, mount, and range) (User selects weapon Y "Hybrid L-M-S", T3 "triple turret", and Vd "Very distant" range)
POST /weapons/Y
{
"mount": "T3",
"range": "Vd"
}
Build a sensor from existing mounts, ranges, and types.
Request Body:
- mount (optional): enum (T1 | T2 | T3 | T4 | B1 | B2)
- range (optional): enum (Vl | D | Vd | Or | Fo | G | BR | FR | SR | AR | LR | DS)
Build a weapon from existing mounts, ranges, and types. Uses the same request body as the sensor.
Build a drive from existing types.
Request Body:
- rating: numeric drive rating (e.g. 2 for Jump-2 or Maneuver-2)
- targetHullTons: hull tons (e.g. 200 for a 200t hull; 10000 for a 10 kiloton hull)
Build a hull with the given configuration.
Request Body:
- tons: volume of hull, in tons
- tl: TL of the hull
- Swagger doc.
- Decouple methods.
- Fill out maps.
- Externalize maps.
- Weapons.
- Defenses.
- Hull.
- Drives.
- Etc.