Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » JA2 Arulco Revisited » Increasing Mine Income (Trying to figure out)
Increasing Mine Income[message #350046] Mon, 12 June 2017 21:39 Go to next message
Vadim Dolvich

 
Messages:26
Registered:February 2009
Location: None
This mod is great. I am personally trying to figure out how much should I increase mine income. I don't want make the game too easy but as it is the mod WILL break your bank.

These are the reasons why:

1) There are 4 additional towns which means more costs to garrison.
2) Most towns got extra sectors (Chitzena has 4 sectors now) which also increases costs to garrison.
3) You can now garrison Omerta and San Mona which also increases costs to garrison.

I've done the math with the following assumption: You want to fortify every town sector to hold a 20 squad of veterans.

With this in mind, the math comes out to: $18400 assuming you fortify every sector except Meduna.

What I'm trying to find out is how much each mine produces in 1.13 Vanilla. That way I'll extrapolate how much I should increase the mine income based on the new costs.

I tried looking at the mineinit.lua and it has a quantity like 500 for Chitzena but I can't figure how that relates to the $4000 income that the mine has at 100% loyalty.
Re: Increasing Mine Income[message #350048 is a reply to message #350046] Mon, 12 June 2017 22:06 Go to previous messageGo to next message
silversurfer

 
Messages:2164
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

Re: Increasing Mine Income[message #350268 is a reply to message #350046] Thu, 06 July 2017 10:01 Go to previous message
LatZee

 
Messages:45
Registered:December 2015
Having had more or less the same thoughts when using AR (or even WF maps which have similar issue), my solution was kinda easier, instead of digging into depths of income production, I just lower militia upkeep costs in ini, a 5 seconds job big grin
Previous Topic: Arulco Revisited Revived?
Next Topic: JA2 1.13 + AR doesn't work
Goto Forum:
  


Current Time: Fri Oct 20 04:19:55 EEST 2017

Total time taken to generate the page: 0.00883 seconds