Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 535 Bytes

Resource.md

File metadata and controls

12 lines (9 loc) · 535 Bytes

Resource

Resource like LiquidFuel etc.

Instance Properties:

  • list: ResourceList - The list this resource is part of.
  • name: string - Name of the resource (e.g. LiquidFuel).
  • id: ResourceID - Identificator of the resource (for resource library; hash of the name).
  • partCount: int - Number of parts (in parent list/set) able to contain this resource.
  • amount: double - Current amount of the resource.
  • maxAmount: double - Maximal amount of the resource that can be stored.