Page 3 of 3

Re: (WIP) Ship Repurchase

Posted: Thu Jul 02, 2020 6:05 am
by another_commander
The idiosyncrasy of the core game letting you keep all equipment after using the escape pod is by design. It was what the old Elite did. If this needs to be bypassed for any reason, I would prefer if it were done purely by OXP and not core changes.

Re: (WIP) Ship Repurchase

Posted: Thu Jul 02, 2020 6:32 am
by Milo
That's fine. The proposal for now is to extend the same behavior to be available to OXPs from the shipDied event handler, not to change it.

Re: (WIP) Ship Repurchase

Posted: Mon Jul 20, 2020 12:58 pm
by phkb
I've just checked in a core code patch which allows the escape pod rescue time to be overridden by scripts. I'll be utilitising this new addition for the next release to provide more incentives for having an escape pod. Anyone not running trunk Oolite will not see the benefit, though.

Re: (WIP) Ship Repurchase

Posted: Mon Jul 20, 2020 5:37 pm
by Milo
The anticipation builds...

Re: (WIP) Ship Repurchase

Posted: Wed Jul 22, 2020 10:11 am
by phkb
OK, I have a beta release for the next version: ShipRepurchase_Beta.oxz

In this release:
  • Adjusted the method for determining when the ship is about to die, to allow for other OXP's to potentially change the player ship energy before ejecting the player.
  • Changed insurance premium coverage period to 60 days.
  • If insurance lapses while in transit, it will still be valid at next dock if the player needs to use it.
  • Reduced cost of Escape Pod Plus to 3000 credits, and set techlevel requirement to same as for a normal escape pod.
  • If the Escape Pod Plus is installed, rescue time will be reduced to less than 12 hours. Also, 50% of cargo will be recovered.
  • Cost of Repurchase Insurance reduced to 2500 credits.
  • Removed the frequent ejection penalty calculation (although it could be returned based on feedback).
  • Raised minimum Oolite version to 1.89 (now utilising equipment-overrides.plist file and new escape pod rescue time property).
Feedback welcome, as always.

Re: (WIP) Ship Repurchase

Posted: Wed Jul 22, 2020 10:44 am
by Milo
Thanks for the update!