Dockables with no commodity markets.

General discussion for players of Oolite.

Moderators: another_commander, winston

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 »

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: 496
Joined: Sat Dec 31, 2011 2:58 pm

Re: Dockables with no commodity markets.

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

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: 2676
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Dockables with no commodity markets.

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

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: 496
Joined: Sat Dec 31, 2011 2:58 pm

Re: Dockables with no commodity markets.

Post 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 :)
Flying Python Class Cruiser, Chapter & Verse IV
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4618
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Dockables with no commodity markets.

Post 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.
Duggan
---- E L I T E ----
---- E L I T E ----
Posts: 496
Joined: Sat Dec 31, 2011 2:58 pm

Re: Dockables with no commodity markets.

Post by Duggan »

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