Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC cargo handling #14

Open
JensAyton opened this issue Jul 16, 2011 · 0 comments
Open

NPC cargo handling #14

JensAyton opened this issue Jul 16, 2011 · 0 comments

Comments

@JensAyton
Copy link
Member

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant