Skip to content

NPC cargo handling #14

Description

@JensAyton

NPC ships’ cargo is defined by a number of internal state flags, and actual cargo may be determined on the fly in when ejecting cargo pods. Currently, the generation is closely coupled to the ejection mechanism. This means that JS properties such as cargoSpaceUsed and cargoSpaceAvailable can’t be implemented reliably.

For 2.0, it is desirable to determine at minimum the amount of cargo and preferably its composition either when the ship is spawned, or lazily in a decoupled fashion (although I doubt there will be much advantage to that).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions