space_ex v0.4.0 SpaceEx.SpaceCenter.Resources
Represents the collection of resources stored in a vessel, stage or part.
Created by calling SpaceEx.SpaceCenter.Vessel.resources/2
,
SpaceEx.SpaceCenter.Vessel.resources_in_decouple_stage/4
or
SpaceEx.SpaceCenter.Part.resources/2
.
Link to this section Summary
Functions
All the individual resources that can be stored
Returns the amount of a resource that is currently stored
Returns the density of a resource, in \(kg/l\)
Whether use of all the resources are enabled
Returns the flow mode of a resource
Check whether the named resource can be stored
Returns the amount of a resource that can be stored
A list of resource names that can be stored
Whether use of all the resources are enabled
All the individual resources with the given name that can be stored
Link to this section Functions
All the individual resources that can be stored.
Returns the amount of a resource that is currently stored.
name
— The name of the resource.
Returns the density of a resource, in \(kg/l\).
name
— The name of the resource.
Whether use of all the resources are enabled.
This is true
if all of the resources are enabled.
If any of the resources are not enabled, this is false
.
Returns the flow mode of a resource.
name
— The name of the resource.
Check whether the named resource can be stored.
name
— The name of the resource.
Returns the amount of a resource that can be stored.
name
— The name of the resource.
A list of resource names that can be stored.
Whether use of all the resources are enabled.
This is true
if all of the resources are enabled.
If any of the resources are not enabled, this is false
.
All the individual resources with the given name that can be stored.