Asophix Posted November 3, 2022 Share Posted November 3, 2022 Much like the Equipment Dock, the owner of a Resource Depot gets a 20% share for each transaction. The Depot adjusts the buy/sell price to reflect this. In resourcetrader.lua -> .buy() and .sell(), the prices get reduced, however for .sell(), it should be added back, as the refinery should hand the 20% share to you. Having this oversight can result in NPC factions having more favourable deals for selling, which is not supposed to be the case. Please adjust the function getSellPriceAndTax() accordingly, by adding the value in "tax" to "price". Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now