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

Implement "Sales" when a resource is native to that planet #38

Open
2 tasks
evangipson opened this issue Jul 23, 2016 · 0 comments
Open
2 tasks

Implement "Sales" when a resource is native to that planet #38

evangipson opened this issue Jul 23, 2016 · 0 comments

Comments

@evangipson
Copy link
Owner

evangipson commented Jul 23, 2016

For instance, you are on planet XYZ and they have resource ABC as a native resource - so when you are there it's 50% the cost.

Right now I'm just using "cost" for the inventory and math... so I'm going to need to write like a "buyWithSale" or something which will take in a saleAmount then handle all the math that way so the graphs will remain correct (I don't want to mess with the actual cost - or perhaps a "buyStock(salePrice)" function which will take an argument that could be a sale price?)

Dependencies

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

No branches or pull requests

1 participant