Skip to content

Enhancement Request: Ability to query current Volume name. #153

@Dunbaratu

Description

@Dunbaratu

I'd like to be able to write small utility programs that do things like this:

set curVol to SelectedVolName.
switch to archive.
run someArchiveThing.
switch to curVol.

(switch to the archive, run a thing on it, then switch back to whatever the volume originally was.)

The problem is I don't see a way to get the selected volume name in a KOS script.

The purpose: I'm trying to build a database of the wiki-able data about planets and moons (mass, radius, orbital inclination, etc), with the premise that you'd store that back at mission control on the archive, rather than storing all that data on the vessel. The vessel would just run a small program that radios back to the archive to get the data it needs. (i.e. runs a program on the archive that's just a big list of IF statements to set the global variables depending on the name of the body.). Since the database contains all the data of all the bodies, it can get rather larger so it's stored back at the archive instead of on the vessel.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions