11 lines
325 B
C
11 lines
325 B
C
#pragma once
|
|
|
|
// Single shared salvage cargo pool for a ship (REQ-MOD-CARGO-CAPACITY). Attached
|
|
// to a ship at spawn only when its cargo capacity stat is greater than 0. All of
|
|
// the ship's salvage modules deposit into this one pool; delivery draws from it.
|
|
struct CargoComponent
|
|
{
|
|
int maxCapacity;
|
|
int current;
|
|
};
|