Skip to content
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
This repository was archived by the owner on Oct 27, 2020. It is now read-only.

Station search implementation #2

@kenneaal

Description

@kenneaal

I'd like to suggest a few additions to pipsqueak to enable rats to search for a few vital points of information.

!scoopable [Jump range]

Returns the closest class KGBFOAM star to specified system, alternatively with a specified jump range.

Example output:

!scoopable COL 123 AB-C 1-33
Mechasqueak: Nearest fuel source is COL 123 AB-C 2-4 (11.6 LY, class M)
!scoopable COL 123 AB-C 1-33 5.35
Mechasqueak: Nearest fuel source is COL 123 AB-C 2-4 (11.6 LY, Class M, 3 jumps)

!refuel [pad size] [jump range]

Returns the closest station with refuel capabilities and optionally specified minimum pad size.

Example output:

!refuel COL 123 AB-C 1-33
Mechasqueak: Nearest station is Happy Terminal, COL 123 AB-C 2-4 (11.6 LY, Size M pad)
!refuel COL 123 AB-C 1-33 Large
Mechasqueak: Nearest station is Bigpad Orbiter, COL 123 AB-C 2-4 (11.6 LY, Size L pad)

!rearm [pad size] [jump range]

Returns the closest station with rearm capabilities and optionally specified minimum pad size.

Example output:

!refuel COL 123 AB-C 1-33
Mechasqueak: Nearest station is Happy Terminal, COL 123 AB-C 2-4 (11.6 LY, Size M pad)
!refuel COL 123 AB-C 1-33 Large
Mechasqueak: Nearest station is Bigpad Orbiter, COL 123 AB-C 2-4 (11.6 LY, Size L pad)

Alot has already most of the groundwork that would be needed for this in his pathfinding Python, so this should be fairly easy to implement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions