Dockables with no commodity markets.

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6310
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Dockables with no commodity markets.

Post by Diziet Sma » Wed Nov 01, 2017 6:22 am

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.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied

Duggan
---- E L I T E ----
---- E L I T E ----
Posts: 487
Joined: Sat Dec 31, 2011 2:58 pm

Re: Dockables with no commodity markets.

Post by Duggan » Sat Nov 04, 2017 12:08 am

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. :)
Flying Python Class Cruiser, Chapter & Verse IV

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6310
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Dockables with no commodity markets.

Post by Diziet Sma » 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.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2550
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Dockables with no commodity markets.

Post by spara » Sat Nov 04, 2017 10:24 am

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 :).

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6310
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Dockables with no commodity markets.

Post by Diziet Sma » Sun Nov 05, 2017 4:19 am

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?
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied

Duggan
---- E L I T E ----
---- E L I T E ----
Posts: 487
Joined: Sat Dec 31, 2011 2:58 pm

Re: Dockables with no commodity markets.

Post by Duggan » Tue Nov 07, 2017 2:21 am

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 :)
Flying Python Class Cruiser, Chapter & Verse IV

User avatar
phkb
Commodore
Commodore
Posts: 2280
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Dockables with no commodity markets.

Post by phkb » Tue Nov 07, 2017 3:42 am

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.

Duggan
---- E L I T E ----
---- E L I T E ----
Posts: 487
Joined: Sat Dec 31, 2011 2:58 pm

Re: Dockables with no commodity markets.

Post by Duggan » Tue Nov 07, 2017 11:09 am

Thank you phkb , Spara and Diziet :) Instructions followed so I should be good to go :)
Flying Python Class Cruiser, Chapter & Verse IV

Post Reply