"condition" in descriptions.plist no longer used

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

"condition" in descriptions.plist no longer used

Post by Commander McLane »

Since 1.76 (I believe) the "conditions" on the status screen seem to be hardcoded. The "condition"-entry in descriptions.plist

Code: Select all

    condition =     (
        Docked,
        Green,
        Yellow,
        Red
    );
is no longer used, it seems.

This has two consequences: (1) the old "Docked" condition has for some reason been replaced with "Safe", and (2) the conditions can't be localized anymore.

Image
This used to be "Angedockt" in German.

Image
This used to be "Gelb" in German.

Please revert the hard-coding to running through descriptions.plist. Thanks! :)
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: "condition" in descriptions.plist no longer used

Post by JensAyton »

The condition entry is used, and the docked condition is “Docked” in vanilla Oolite. Try using fewer OXPs.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: "condition" in descriptions.plist no longer used

Post by Commander McLane »

Thanks for the hint.

The culprit is "Save and Jump OXP", which overwrites the conditions-entry.
Post Reply