- v 1.6 https://wiki.alioth.net/img_auth.php/3/ ... conomy.oxz
- another 56 descriptions added (taking total to 216)
- tackled a few typos
- probably created a few new ones
Demand Driven Economy OXZ
Moderators: winston, another_commander
- Redspear
- ---- E L I T E ----
- Posts: 2685
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Demand Driven Economy OXZ
- phkb
- 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: Demand Driven Economy OXZ
You mean like "it's" instead of "its" in the screen shot?
- Cholmondely
- Archivist
- Posts: 5364
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Demand Driven Economy OXZ
So what does "asscoiation" really mean down under? ...and do I really want to know?
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- phkb
- 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: Demand Driven Economy OXZ
Cholmondely wrote: ↑Tue Mar 12, 2024 10:37 pmSo what does "asscoiation" really mean down under? ...and do I really want to know?
Yeah, and that one too! Ha! I completely missed the obvious one, and got the subtle one!
- Redspear
- ---- E L I T E ----
- Posts: 2685
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Demand Driven Economy OXZ
See how easy it is? Especially after typing 216 of the damn things.phkb wrote: ↑Tue Mar 12, 2024 10:38 pmCholmondely wrote: ↑Tue Mar 12, 2024 10:37 pmSo what does "asscoiation" really mean down under? ...and do I really want to know?
Yeah, and that one too! Ha! I completely missed the obvious one, and got the subtle one!
...at least I was smart enough to pre-empt them (YMMV)
- Cholmondely
- Archivist
- Posts: 5364
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Demand Driven Economy OXZ
I'm happy to edit them, if it helps.Redspear wrote: ↑Tue Mar 12, 2024 11:07 pmSee how easy it is? Especially after typing 216 of the damn things.phkb wrote: ↑Tue Mar 12, 2024 10:38 pmCholmondely wrote: ↑Tue Mar 12, 2024 10:37 pmSo what does "asscoiation" really mean down under? ...and do I really want to know?
Yeah, and that one too! Ha! I completely missed the obvious one, and got the subtle one!
...at least I was smart enough to pre-empt them (YMMV)
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- Redspear
- ---- E L I T E ----
- Posts: 2685
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Demand Driven Economy OXZ
There's at least a couple of misdesignated descriptions and there's likely to be some questionable grammer after some necessary editing for description length on my part
If you have both the time and the inclination then feel free to signpost any questionable entries (either in the file or appearing in the game).
Honestly, you're all such a bunch of
- phkb
- 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: Demand Driven Economy OXZ
Thanks!
That's a good thing, right?
- Redspear
- ---- E L I T E ----
- Posts: 2685
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Demand Driven Economy OXZ
As a card carrying member, I hope so
...never much of a typist though.
- phkb
- 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: Demand Driven Economy OXZ
Yay! I've made it to the "In" crowd!
On a more serious note, there's a fairly significant bug in the way you're doing your additions to the F7 screen. You're using
player.ship.targetSystem
to get system information. However, if you have a multi-system jump currently set, you can use the left/right keys on the F7 screen to pull up system information on one of the in-between jump points. That changes the player.ship.infoSystem
property, but not the player.ship.targetSystem
property.So, basically, you end up applying the target system information to every system in between.
Easy fix, though - replace "player.ship.targetSystem" with "player.ship.infoSystem" and you're golden.
I should point out that I made the same error in the code I shared with you, so we're probably both guilty of not spotting this one!
- Redspear
- ---- E L I T E ----
- Posts: 2685
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Demand Driven Economy OXZ
My test pilot is too poor to have the ANA but even without that I noticed it when using said keys taking the player to and from present system.
Looks like v 1.7 won't be too far away but I should prob delay to find some more typos...
Meanwhile thank God for the 'find and replace' feature (that 'phrase' occurs nearly 400 times!)
Thanks phkb.
P.S. I know I should probably have used var x = what the hell ever to circumvent that but as someone who never learned to program as such, I'm making this stuff up as I go along.
... Now part of me wants to make a version where he player has to pay an additional 500 Cr to have all of the typos removed
- phkb
- 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: Demand Driven Economy OXZ
Here's the code you were looking for. Add this to the top of the guiScreenChanged function, just below the "If (guiScreen ===" line:
Code: Select all
var sys = System.infoForSystem(galaxyNumber, player.ship.infoSystem);
var eco = sys.economy;
var gov = sys.government;
Code: Select all
this.guiScreenChanged = function () {// a little in game clue/flavour with some variance thrown in
if (guiScreen === "GUI_SCREEN_SYSTEM_DATA") {
var sys = System.infoForSystem(galaxyNumber, player.ship.infoSystem);
var eco = sys.economy;
var gov = sys.government;
Then search for
Code: Select all
System.infoForSystem(galaxyNumber, player.ship.infoSystem).economy
Code: Select all
eco
Code: Select all
System.infoForSystem(galaxyNumber, player.ship.infoSystem).government
Code: Select all
gov