[RELEASE] Risk-based Economy

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

[RELEASE] Risk-based Economy

Post 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)
User avatar
ZygoUgo
---- E L I T E ----
---- E L I T E ----
Posts: 406
Joined: Mon Nov 17, 2008 4:15 pm
Location: Blighty

Re: [RELEASE] Risk-based Economy

Post by ZygoUgo »

Sounds grand! Is it compatible with with market observer?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [RELEASE] Risk-based Economy

Post 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.
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: [RELEASE] Risk-based Economy

Post 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!)
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
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: [RELEASE] Risk-based Economy

Post 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?
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
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [RELEASE] Risk-based Economy

Post 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.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2275
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: [RELEASE] Risk-based Economy

Post 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.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16055
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [RELEASE] Risk-based Economy

Post 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).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
CaptSolo
---- E L I T E ----
---- E L I T E ----
Posts: 909
Joined: Wed Feb 23, 2011 10:08 pm
Location: Preying Manta
Contact:

Re: [RELEASE] Risk-based Economy

Post by CaptSolo »

Just added this OXP and find it very satisfactory. Thank you.
User avatar
Yah-Ta-Hey
---- E L I T E ----
---- E L I T E ----
Posts: 333
Joined: Thu Feb 24, 2011 2:31 am
Location: Traversing new opportunities in space

Re: [RELEASE] Risk-based Economy

Post 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.
Bartle tester says while I am drinking evil juice, I am: 80% killer/ 80 % achiever/ 33% explorer and 0% socializer.
User avatar
CaptSolo
---- E L I T E ----
---- E L I T E ----
Posts: 909
Joined: Wed Feb 23, 2011 10:08 pm
Location: Preying Manta
Contact:

Re: [RELEASE] Risk-based Economy

Post 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!
User avatar
Phasted
Competent
Competent
Posts: 51
Joined: Wed Jun 09, 2010 3:56 pm

Re: [RELEASE] Risk-based Economy

Post 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;}
  }
Last edited by Phasted on Tue Jul 08, 2014 8:32 pm, edited 1 time in total.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2637
Joined: Thu Jun 20, 2013 10:22 pm

Re: [RELEASE] Risk-based Economy

Post 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 :)
User avatar
mossfoot
---- E L I T E ----
---- E L I T E ----
Posts: 827
Joined: Fri May 30, 2014 4:07 pm
Contact:

Re: [RELEASE] Risk-based Economy

Post by mossfoot »

Does this only affect main stations or adjust all stations in a system?
--
Image
Pilot: Mossfoot - Ship ID: Viaticus Rex (Cobra MKII)
Rank: Competent - Status: Clean

http://www.noahchinnbooks.com/
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [RELEASE] Risk-based Economy

Post 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.
Post Reply