Jump to content

QoL Improvement: add container functions to the CoreUnit API


Recommended Posts

Basically, add a new set of functions similar to what we have today when we have a container or fuel tank directly connected to our board:

  • core.getContainerMaxVolumeById
  • core.getContainerItemVolumeById
  • core.getContainerItemMassById

The idea would allow, for example, getting the volume and mass of a container or fuel tank without having it connected, just by specifying its id, and could improve A LOT the usability and performance of flight and factory management scripts, since instead of having to resort to using math to figure out what each fuel tank or container has, based on its mass, we could just have the exact values from start, without having them linked directly (important for larger ships).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...