Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Unify displayed times

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
Anonymissimus
---- E L I T E ----
---- E L I T E ----
Posts: 299
Joined: Mon Apr 27, 2015 9:03 pm

Unify displayed times

Post by Anonymissimus »

When taking a cargo, parcel or passenger contract, could all those times please be displayed in days and hours, since later on they are also displayed in days + hours in the manifest screen ? Or alternatively, display the times in the manifest screen using only hours as well ? Albeit days + hours is better I think.
When I consider accepting some contract I take my calculator all the time to judge/compare the times with those of contracts already accepted.

A contract that has to be completed within more than 40 days, from one corner diagonally to the other, is quite a lot, allows for some "wrong" jumps etc and still an early arrival, while ~25 for the same distance may be too tight and doesn't allow for an "early finish bonus".
(Eh...what was that in hours ?)
warning sound if a missile is inbound: Missile warning
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Unify displayed times

Post by cim »

Anonymissimus wrote:
When taking a cargo, parcel or passenger contract, could all those times please be displayed in days and hours, since later on they are also displayed in days + hours in the manifest screen ?
This is OXPable. Place the following as a missiontext.plist file

Code: Select all

{
    "oolite-contracts-time-format" = "[oolite-contracts-time-format-days] days, [oolite-contracts-time-format-spare-hours] hours";
}
EDIT: the reason this isn't done by default is so that the time units on the contract matches the time units on the route planner display.
Anonymissimus
---- E L I T E ----
---- E L I T E ----
Posts: 299
Joined: Mon Apr 27, 2015 9:03 pm

Re: Unify displayed times

Post by Anonymissimus »

cim wrote:
time units on the route planner display.
That's another one. Not OXPable I suppose ?
warning sound if a missile is inbound: Missile warning
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Unify displayed times

Post by cim »

Anonymissimus wrote:
cim wrote:
time units on the route planner display.
That's another one. Not OXPable I suppose ?
Not yet.
Post Reply