Market Screen Legal Column

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

Post Reply
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5627
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Market Screen Legal Column

Post by phkb »

This is a really small OXP. It changes the logic of the "Legal" column on the F8 Market screen. Previously, goods that were illegal to export (but legal to import) were marked with "Im", and goods illegal to import (but legal to export) were marked with "Ex". In the case where both were illegal to import and export, it would say "Re".

That doesn't make a whole lot of sense to me. I'm sure it did at the time, but when I see a "Legal" column, I want to know what I *can't* do, not what I *can*, because the default assumption for all other commodities is that I can do anything.

With this OXP installed, the "Legal" column has been renamed to "Ban" (ie something is Banned). When something is illegal to import, it will say "Imp". When something is illegal to export, it will say "Exp". And when it's both, it will say "Bth".

This is just taking a small part of what I did in Smugglers and turning it into it's own OXP, so if you use Smugglers normally you won't need this as well. Not that there will be a conflict or anything.

Version 1 is in the manager now.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5627
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Market Screen Legal Column

Post by phkb »

Just noticed that if you have Market Observer installed the column title might not get changed to "Ban", and actually, if you have Smugglers installed, the "Purchases:" column from Market Observer might get dropped.

It's probably not a critical issue: "Legal" carries mostly the same weight as "Ban". And if this OXP (or Smugglers) gets installed after Market Observer, the column data is pretty self-explanatory.

The issue is there is no way to programmatically update the descriptions.plist entry after the game has started. And to get the ideal outcome (where it shows "Ban" if just this OXP or Smugglers is installed, or "Ban: Purchases:" if Market Observer is also installed) would require multiple mods with associated requires/conflict settings added (ie "Market Screen Legal Column for Market Observer" as well as "Market Screen Legal Column").

But what do you think? Worth the extra effort for completeness?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5627
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Market Screen Legal Column

Post by phkb »

Answering my own question: I've created a new version that requires Market Observer, and made the previous version conflict with Market Observer. So install the one most appropriate for your setup.
Post Reply