Page 1 of 1
Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sat Apr 19, 2025 11:26 pm
by Wildeblood
Can I, or can't I, define a market that includes new trade-goods, and excludes the trad-trade? Yes, I have in the past, messed about and written a definition for handwavium, and seen it appear on the market screen. But how do I exclude the 17 traditional commodities, so that only my newly defined Elements of Style (handwavium, unattainium, quirium, tylium, etc.) appear on the Elemental Exchange market screen?
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 12:18 am
by phkb
Can anything be gleaned from
SOTL Exploration? It pretty much rewrites the entire economy with brand new items. Not sure it it removed all the existing ones, though. It's been a while since I looked at it.
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 1:15 pm
by Nite Owl
Best guess as to how to eliminate the original 17 commodities completely. You would have to override the default trade-goods.plist found at Oolite\oolite.app\Resources\Config. This could be done by placing a new trade-goods.plist at Oolite\AddOns\Config that does NOT contain the original 17 commodities. If you are doing a new commodities OXZ it might be a bit much to ask novice players to move such a file to such a folder. Not sure if there is anything in the base code that might prevent this from being done.
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 8:16 pm
by phkb
I think the core code needs three commodities for various internal reasons: slaves, minerals and alloys. They can have whatever display name you like, but as long as they have the same id, you’re good to go.
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 8:21 pm
by Redspear
phkb wrote: ↑Sun Apr 20, 2025 8:16 pm
I think the core code needs three commodities for various internal reasons: slaves, minerals and alloys
For escape pods, mining and destroyed ships respectively, right?
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 8:41 pm
by Wildeblood
Redspear wrote: ↑Sun Apr 20, 2025 8:21 pm
phkb wrote: ↑Sun Apr 20, 2025 8:16 pm
I think the core code needs three commodities for various internal reasons: slaves, minerals and alloys
For escape pods, mining and destroyed ships respectively, right?
That sounds legit.
But,
I don't want to exclude the usual commodities from the game, just from a market. I know I could zero the quantities, but I want to prevent long lists of zeroes on the market screen. So, I guess I could be asking, is there a way to enter the market screen with the filter to only show in-stock commodities already on?
And on a similar note, is there a way to enter the F8F8 screen on a particular commodity? You can go straight to F8F8, without going through F8, as the exit screen from a mission screen, but it is always set to the first commodity in the list.
And on a similar note, is there a way to test which commodity the F8F8 screen is currently displaying?
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 10:17 pm
by phkb
Wildeblood wrote: ↑Sun Apr 20, 2025 8:41 pm
is there a way to enter the market screen with the filter to only show in-stock commodities already on?
Not at the moment.*
Wildeblood wrote: ↑Sun Apr 20, 2025 8:41 pm
is there a way to enter the F8F8 screen on a particular commodity
Not at the moment.*
Wildeblood wrote: ↑Sun Apr 20, 2025 8:41 pm
is there a way to test which commodity the F8F8 screen is currently displaying?
Not at the moment.*
* Having said that, in 1.91 it would now be possible to recreate the market screen, or at least get very close to the existing functionality, using the additional keys and settings introduced in that version. Yes, it would be a lot of work, but it is possible. Probably not what you wanted to hear, though.
If I can pull myself away from creating more Anaconda Liner skins, I'll have a look at the core code to see how easy those suggestions would be to implement. No guarantees on that one.
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 10:41 pm
by Wildeblood
phkb wrote: ↑Sun Apr 20, 2025 10:17 pm
Wildeblood wrote: ↑Sun Apr 20, 2025 8:41 pm
is there a way to enter the F8F8 screen on a particular commodity
Not at the moment.*
If going directly to GUI_SCREEN_MARKETINFO will always show the commodity with the lowest sort-order, then defining a dummy commodity, "Helpium"

with the lowest possible sort order, could give me the ULTIMATE CONTROL that I seek...?
And, sans other bonus commodity definitions, i.e. in a mostly vanilla game, would only push "Alien Items" onto page two.
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 11:03 pm
by Cholmondely
Have you tried pm-ing Cim? (Switeck or Spara might also be able to help).
And
AltMap might also be worth a look:

Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Sun Apr 20, 2025 11:26 pm
by Wildeblood
Cholmondely wrote: ↑Sun Apr 20, 2025 11:03 pm
Have you tried pm-ing Cim? (Switeck or Spara might also be able to help).
And
AltMap might also be worth a look:
Ta, but nah. That was a scenario OXP; cim did what Nite Owl described above, started with a blank-slate trade-goods.plist.
I'll have a rifle through Market Observer, though. And see if there's anything there
worth stealing I can take inspiration from. A long overdue thing to do.
Re: Still mystified by cim's markets... HELP! (Please, help.)
Posted: Tue Apr 29, 2025 2:08 pm
by Cholmondely
Wildeblood wrote: ↑Tue Apr 29, 2025 1:19 pm
Is this G8 Iron Raven OXP "Galactic Stock Exchange" functional? The desire to create a stock exchange in Oolite was the reason I was asking about locking the regular commodities out of the market screen, last week.
The original came out in 2010, so I rather doubt it.
But you can look at the javascript here:
https://ooliteproject.github.io/oolite- ... Raven.html - it seems to be categorised by the System ID (GalCat ID: 8:180 - needs tweaking for game code version) & name (Arance).
I've tried to keep the
Oolite Trading &
Economics wiki pages up-to-date in terms of their listing of relevant OXPs. So they are hopefully useful rather than the obverse. What about the various OXP commodities (Quirium crystals, various types of fuel, medicine, water,
etc.)? Do you know what you want to do with them?