Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

DLC Avorion Into the Rift Out Now!

Now available on Steam!
Steam

Own Resource Depot sells at a reduced price


Asophix
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...