playerBoughtNewShip
event, the "ship" property has a price, but that doesn't seem to correlate to the price shown in the shipyard.Purchase cost of new ship
Moderators: winston, another_commander
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Purchase cost of new ship
When you purchase a new ship, is there somewhere I can go to find what the actual cost of the ship is? In the
Re: Purchase cost of new ship
The price of the ship goes together with the price for the equipment installed. Thus the actual price shown in the offers list is higher.
Re: Purchase cost of new ship
There seems to be some difference between how the shipyard calculates the value of extra equipment when buying and how it's calculated for trade-in value when selling. I'm not sure what, though. Ships bought with just standard equipment had the price then reported by
It's probably easier to stick a second "price" parameter on the
player.ship.price
match exactly.It's probably easier to stick a second "price" parameter on the
playerBoughtNewShip
event than to dig through the shipyard code, though.