Re: Scripters cove
Posted: Thu Aug 14, 2025 3:12 pm
A slight advantage, yes.
Code: Select all
this.playerBoughtNewShip = this.playerReplacedShip = function _sc_playerReplacedShip(ship) {...}
For information and discussion about Oolite.
https://bb.oolite.space/
A slight advantage, yes.
Code: Select all
this.playerBoughtNewShip = this.playerReplacedShip = function _sc_playerReplacedShip(ship) {...}
That suggests it is currently possible for both playerBoughtNewShip and playerReplacedShip to fire for the same event ?Note: In a future release of Oolite, playerBoughtNewShip will no longer be fired when the ship is replaced using player.replaceShip(). Instead, the playerReplacedShip event should be used. At the moment, both events (playerBoughtNewShip and playerReplacedShip) will fire