Problem - OXP-caused - of non-main stations with no markets?

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

Moderators: winston, another_commander

Post Reply
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Problem - OXP-caused - of non-main stations with no markets?

Post by UK_Eliter »

Well, not no markets, buy prices of zero to buy and sell anything - in a Salvage Gang and a GRS factory.

I've just run the game for the first time in a while, having installed some new packs (well, new to me) - namely, the Respray one, Headlights and Dockside services (this last being responsible for new intra-station goodness, I think). Things, especially the insides of stations, look really good. But there is this problem with the markets. Presuming it is a problem - I seem to remember being able to buy and sell things at those two stations.

Can anyone shed light?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Problem - OXP-caused - of non-main stations with no mark

Post by phkb »

You might need some OXP tweaks for older OXP's that have station markets. This thread has the methodology to use: https://bb.oolite.space/viewtopic.php?f=4&t=17621.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Problem - OXP-caused - of non-main stations with no mark

Post by Norby »

There is a backward incompatible change in 1.82 so every old markets need to do this (as ninja'd by phkb).

A bit simpler way if you accept a similar market that in the main station then just add an empty market_definition into shipdata.plist:

Code: Select all

"market_definition" = ();
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Problem - OXP-caused - of non-main stations with no mark

Post by UK_Eliter »

Right, thanks. So I think that, in the case of the stations I mentioned - to fix them in this regard (but not sadly reinstate their old pricing structure, but at least give them markets - I need to add that line to:

Buoy Repair OXZ [EDIT: the actual OXZ file being oolite.oxp.Svengali.Eric.BuoyRepair]
Anarchies OXZ [EDIT: the actual OXZ file being oolite.oxp.Commander_McLane.Anarchies]

[Further edit:] The anarchies expansion pack has old-style shipdata.plist. So do I need to the following, please?

Code: Select all

<key>market_definition</key>
Further edit (sorry!): In Buoy Repair, do I add

Code: Select all

market_definition = ();
within the "GRS-Station" entry, do you think?
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Problem - OXP-caused - of non-main stations with no mark

Post by Norby »

GRS: yes. In Anarchy there is a shipdata-overrides.plist where you can add in the new form.
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Problem - OXP-caused - of non-main stations with no mark

Post by UK_Eliter »

Thanks Norby.
Post Reply