Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » JA2 Arulco Revisited » Increasing Mine Income (Trying to figure out)
Re: Increasing Mine Income[message #350048 is a reply to message #350046] Mon, 12 June 2017 22:06 Go to previous messageGo to previous message
silversurfer

 
Messages:2791
Registered:May 2009
When you read further into initmines.lua you'll see that income is based on random selection for an increase. The number of times increases can happen is based on difficulty level. Each mine has a minimum income which can be increased in the process (20 percent minimum income on each hit).

For example on Easy and Experienced difficulty there are 25 turns for an increase. Let's say that Chitzena mine has 500 minimum income and gets selected 7 times.
20 percent of 500 is 100. So you get 500 + 7 * 100 = 1200 minimum income.
This is multiplied with MINE_INCOME_PERCENTAGE / 100.
There are 4 production cycles per day so you get a daily income of 1200 * 4 = 4800.

Since the selection of mines for the increase is random you can't get a precise result. You could say that you have 5 mines that produce something (Drassen, Chitzena, Alma, Cambria, Grumm) and if all get selected 5 times for an increase you get the average value for all mines. If the large mines get selected more often you get more money in the game. If Chitzena gets selected more often - well, bad luck. On the other hand access to Chitzena mine is probably easier than Grumm.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
 
Read Message
Read Message
Read Message
Previous Topic: Arulco Revisited Revived?
Next Topic: JA2 1.13 + AR doesn't work
Goto Forum:
  


Current Time: Tue Dec 03 04:39:26 GMT+2 2024

Total time taken to generate the page: 0.00651 seconds