[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: Daddio, Cichor  
Forum » Cossacks I » Modding » How do market prices work excatly?
How do market prices work excatly?
FtoomshDate: Sunday, 08/September/2013, 8:19 AM | Message # 1
Count
Group: Modders
Messages: 124
Awards: 0
Reputation: 0
Status: Offline
The ECONOMY.TXT file in Dav's OC Mod looks like this;

r_clear cherta r_buy r_Plus10 r_Mins10 r_Plus100 r_Mins100 r_Plus1k

r_Mins1k r_Plus10k r_Mins10k
FOOD
BUY   17 18 19 CHANGE  100 1.0 TIMERETURN 0.0001
SELL   5  6  7 CHANGE  100 1.0 TIMERETURN 0.0001
IRON
BUY   34 36 38 CHANGE  100 1.0 TIMERETURN 0.0001
SELL  11 12 13 CHANGE  100 1.0 TIMERETURN 0.0001
WOOD
BUY   17 18 19 CHANGE  100 1.0 TIMERETURN 0.0001
SELL   5  6  7 CHANGE  100 1.0 TIMERETURN 0.0001
COAL
BUY   34 36 38 CHANGE  100 1.0 TIMERETURN 0.0001
SELL  11 12 13 CHANGE  100 1.0 TIMERETURN 0.0001
STONE
BUY   11 12 13 CHANGE  100 1.0 TIMERETURN 0.0001
SELL   3  4  5 CHANGE  100 1.0 TIMERETURN 0.0001
GOLD
BUY   86 90 94 CHANGE  100 1.0 TIMERETURN 0.0001
SELL  29 30 31 CHANGE  100 1.0 TIMERETURN 0.0001

As a test, I doubled the coal sell values of 11 12 13 to 22 24 26

This did double food and wood purchased for 100 coal from 66 to 132, stone from 100 to 200 , iron and coal from 33 to 66 and gold from 13 to 26.

But I still can't understand exactly why it did this. How do the numbers 11 12 and 13 and then 22 24 26 relate to the old and new amounts purchased? I can't really see a pattern other than the doubling. What I mean is, if the numbers in the ECONOMY.TXT file were percentages then I would understand them. But 11 gives 66% and 22 gives 134%. Where does the hidden factor of 6 come from? Then 12 gives 33% and 24 gives 66% (if I am lining up values right).

Hope I have explained my question and my puzzlement properly. Exactly how do these buy and sell numbers make sense?
 
Forum » Cossacks I » Modding » How do market prices work excatly?
  • Page 1 of 1
  • 1
Search: