Page 2 of 2

Re: Dockables with no commodity markets.

Posted: Wed Nov 01, 2017 6:22 am
by Diziet Sma
Duggan wrote: Sun Oct 29, 2017 11:21 am
Thank you so very much for the time and effort Diziet in bringing this add on up to date

You're very welcome.. :D
Duggan wrote: Sun Oct 29, 2017 11:21 am
It may be worth adding this to the OXP List in the Wiki or even to the Manager

I'd say it would need more discussion and work first. At the moment, it spawns a Sothis Station in every single system/location the player goes to, regardless of political alignment or economic status. And even, as you mentioned, in interstellar space (which I wasn't aware of until you mentioned it). That doesn't strike me as ideal.

Re: Dockables with no commodity markets.

Posted: Sat Nov 04, 2017 12:08 am
by Duggan
I don't know which add on does it, Market Enquirer or In System Trader, at a guess, but on the F4 Screen there appears in the list a heading of "Commodity Markets".
This, very helpfully lists the prices of commodities at The Main Station, Stations for Extra Planets and Kiota Stations.
I was wondering if their might be a way to incorporate the Markets kindly provided by Diziet Sma into this updated Sothis oxp, not , you understand, that I mind that the market is not incorporated too much as one can guesstimate the kind of prices one is likely to encounter.

It's more a matter of consistency, that said an argument may then be be made to incorporate Rock Hermit Markets. If I am asking too much, I am happy to slink away into the shadows on this matter. :)

Re: Dockables with no commodity markets.

Posted: Sat Nov 04, 2017 4:58 am
by Diziet Sma
Duggan wrote: Sat Nov 04, 2017 12:08 am
If I am asking too much, I am happy to slink away into the shadows on this matter. :)

I'm happy to take a gander at it.. can't promise it'll be soon. Some time within the next couple of weeks, at a guess.

Re: Dockables with no commodity markets.

Posted: Sat Nov 04, 2017 10:24 am
by spara
Diziet Sma wrote: Sat Nov 04, 2017 4:58 am
Duggan wrote: Sat Nov 04, 2017 12:08 am
If I am asking too much, I am happy to slink away into the shadows on this matter. :)

I'm happy to take a gander at it.. can't promise it'll be soon. Some time within the next couple of weeks, at a guess.
Add "inquirer_station" to the station's roles and the station should appear on market inquirer screens. Strong emphasis on "should" though, it's been a while :).

Re: Dockables with no commodity markets.

Posted: Sun Nov 05, 2017 4:19 am
by Diziet Sma
spara wrote: Sat Nov 04, 2017 10:24 am
Add "inquirer_station" to the station's roles and the station should appear on market inquirer screens. Strong emphasis on "should" though, it's been a while :).

Well, that just made things a lot easier.. thanks!

Edit: Confirmed! That works just fine.

@ Duggan - I'm pretty sure you can handle it from here?

Re: Dockables with no commodity markets.

Posted: Tue Nov 07, 2017 2:21 am
by Duggan
There is a good reason that I do not code :)

May I ask , Do I add "inquirer_station" to

config script line 2 which reads;

this.role = "sothis";

so that it reads

this.role = "sothis""inquirer_station" ;

Do I replace

this.role = "sothis";

with

this.role = "inquirer_station" ;

Or is it something else, Sorry for being such a Dullard :)

Re: Dockables with no commodity markets.

Posted: Tue Nov 07, 2017 3:42 am
by phkb
Edit the "shipdata.plist" file
Around line 181 you should see something like this:

Code: Select all

	roles = "sothis station"; 
Change this to:

Code: Select all

	roles = "sothis station inquirer_station"; 
And you should be good to go. You shouldn't need to change the script.js file.

Re: Dockables with no commodity markets.

Posted: Tue Nov 07, 2017 11:09 am
by Duggan
Thank you phkb , Spara and Diziet :) Instructions followed so I should be good to go :)