Page 1 of 2

[RELEASE] Risk-based Economy

Posted: Fri May 10, 2013 8:40 pm
by cim
This one was inspired by a conversation a while ago in which I noticed that the second-best trade route in Chart 1 (and one of the best in the entire game...) is only two jumps from Lave.

Risk-Based Economy makes dangerous systems more profitable, and safe systems less profitable. In general a trade route between two safe systems will be about half as profitable as a trade route between two dangerous systems with the same economies. "Multi-government" is used as the baseline for this, so this will make it a little more difficult to make money, especially in the early game.

Additionally, the trade goods exported by Industrial systems have been re-priced slightly, and the levels of profit for some have been made less guaranteed. This is partly to leave some room for price increases in Feudal and Anarchy systems, and partly to make the decision over which Industrial good to buy slightly more interesting.

Download Risk Based Economy 1.0 (requires Oolite 1.77 or higher)

Re: [RELEASE] Risk-based Economy

Posted: Fri May 10, 2013 10:08 pm
by ZygoUgo
Sounds grand! Is it compatible with with market observer?

Re: [RELEASE] Risk-based Economy

Posted: Fri May 10, 2013 10:14 pm
by cim
It should be, yes (and will give that sort of OXP a bit more to look at, too...). The only thing it's likely to be incompatible with is other OXPs which change market prices using the JS methods in 1.77 - commodity.plist changes are fine, as should be anything that only reads market prices.

Re: [RELEASE] Risk-based Economy

Posted: Sat May 11, 2013 5:44 am
by Diziet Sma
cim wrote:
The only thing it's likely to be incompatible with is other OXPs which change market prices using the JS methods in 1.77 - commodity.plist changes are fine, as should be anything that only reads market prices.
Given that that's a situation that's more likely to occur over time, would it possible to have some standardised method for ensuring compatibility?

(and this OXP is a very cool idea.. I'm looking forward to trying it out!)

Re: [RELEASE] Risk-based Economy

Posted: Sat May 11, 2013 5:46 am
by Diziet Sma
cim wrote:
In general a trade route between two safe systems will be about half as profitable as a trade route between two dangerous systems with the same economies.
What about safe-to-dangerous, and vice-versa?

Re: [RELEASE] Risk-based Economy

Posted: Sat May 11, 2013 7:31 am
by cim
Diziet Sma wrote:
cim wrote:
In general a trade route between two safe systems will be about half as profitable as a trade route between two dangerous systems with the same economies.
What about safe-to-dangerous, and vice-versa?
Probably about 3/4 as profitable.
Diziet Sma wrote:
would it possible to have some standardised method for ensuring compatibility?
Maybe, though I suspect the answer there is not to install multiple OXPs which all write to market prices.

Re: [RELEASE] Risk-based Economy

Posted: Sat May 11, 2013 3:56 pm
by Wildeblood
cim wrote:
I suspect the answer there is not to install multiple OXPs which all write to market prices.
Allowing the prices to be fiddled from JS was never a good idea.

Re: [RELEASE] Risk-based Economy

Posted: Tue May 14, 2013 6:40 pm
by Cody
Interesting OXP, cim - I'm still working it out (and for some strange reason, my two favourite feudal systems have become very dangerous lately).

Re: [RELEASE] Risk-based Economy

Posted: Thu Aug 22, 2013 12:37 am
by CaptSolo
Just added this OXP and find it very satisfactory. Thank you.

Re: [RELEASE] Risk-based Economy

Posted: Thu Aug 22, 2013 2:00 am
by Yah-Ta-Hey
just added it and haven't really seen any changes yet but am expecting this to be a cool OXP
Thanks for your efforts.

Re: [RELEASE] Risk-based Economy

Posted: Sun Aug 25, 2013 12:59 pm
by CaptSolo
I've seen plenty of market changes. Luxuries, for example, are often less expensive than computers at poor to average industrial, unstable worlds. Like the box says, Risk-Based. Plenty of other changes and it all adds to a more realistic experience than the old status quo. Some items have become less profitable, like the alloy's one scoops after a battle. Another keeper from Cim the Magician!

Re: [RELEASE] Risk-based Economy

Posted: Wed Jan 22, 2014 9:42 am
by Phasted
cim wrote:
Risk-Based Economy makes dangerous systems more profitable, and safe systems less profitable.
I've included this idea in the latest versions of Real-life Economics... here's a code snippet from the determineMarket() function.

Code: Select all

  switch(s.government)
  {                                               
    case  0:  {this[eB] *= 1.75; break;}          //  In lawless systems, piracy has an effect comparable
    case  1:  {this[eB] *= 1.65; break;}          //  to protectionism, reducing the volume of trade and
    case  2:  {this[eB] *= 1.45; break;}          //  pushing the economy away from equilibrium...
    case  3:  {this[eB] *= 1.15; break;}
    case  4:  {this[eB] *= 1.05; break;}          //  ----------------------------------------------
    case  5:  {this[eB] *= 0.95; break;}
    case  6:  {this[eB] *= 0.85; break;}          //  Of course, in safer systems, the opposite is true...
    case  7:  {this[eB] *= 0.75;}
  }
  switch(s.techlevel)
  {                                               
    case  0:  {this[eB] *= 1.40; break;}          //  In low-tech systems, primative technology impedes 
    case  1:  {this[eB] *= 1.35; break;}          //  transactions, reducing the volume of trade and 
    case  2:  {this[eB] *= 1.30; break;}          //  pushing the economy away from equilibrium...
    case  3:  {this[eB] *= 1.25; break;}          
    case  4:  {this[eB] *= 1.20; break;}          //  ----------------------------------------------
    case  5:  {this[eB] *= 1.15; break;}          
    case  6:  {this[eB] *= 1.10; break;}          //  In high-tech systems, advanced technology 
    case  7:  {this[eB] *= 1.05; break;}          //  facilitates transactions, promoting trade...
    case  8:  {this[eB] *= 1.00; break;}          
    case  9:  {this[eB] *= 0.95; break;}          
    case 10:  {this[eB] *= 0.90; break;}          
    case 11:  {this[eB] *= 0.85; break;}          
    case 12:  {this[eB] *= 0.80; break;}          
    case 13:  {this[eB] *= 0.75; break;}          
    case 14:  {this[eB] *= 0.70; break;}          
    case 15:  {this[eB] *= 0.65; break;}          
    default:  {this[eB] *= 0.60;}
  }

Re: [RELEASE] Risk-based Economy

Posted: Mon Feb 17, 2014 5:33 pm
by Redspear
Belated thanks cim and Phasted.

I've been torn between these two oxps (assuming they'd clash in some way) so combining them is great news for me :)

Re: [RELEASE] Risk-based Economy

Posted: Sat Jul 12, 2014 7:16 am
by mossfoot
Does this only affect main stations or adjust all stations in a system?

Re: [RELEASE] Risk-based Economy

Posted: Sat Jul 12, 2014 7:22 am
by cim
All stations. The current release won't work very well with OXPs which keep secondary markets over save/load - or indeed the new core functionality of saving at secondary stations. I'm not sure whether to fix that or rethink a bit of how the OXP is implemented.