Author Topic: I figured out the mineral formula  (Read 1758 times)

0 Members and 1 Guest are viewing this topic.

Offline Yitzi

I figured out the mineral formula
« on: March 03, 2013, 11:05:19 PM »
The full mineral formula (for land squares without bases, boreholes, or forests) is as follows:
-The square is worth 0 if flat, 1 if rolling or rocky without a mine, and 2 if rocky with a mine.
-Add 2 if it has a mineral bonus, and add 1 if it has a relevant landmark (crater or volcano).
-If there is a mine, add another 1, plus 1 if it's rocky, 1 if it has a mineral bonus, and 1 if it's on a relevant landmark.  However, if there is no road then the total bonus from this cannot exceed the alphax entry marked "Limits mineral increase for mine without road in square".  The increase to base minerals for a rocky square without a mine (first step) is not affected by this limit.
« Last Edit: March 20, 2013, 10:58:09 PM by sisko »

Offline ete

Re: I figured out the mineral formula
« Reply #1 on: March 03, 2013, 11:33:51 PM »
Cool, good work. This'll be good info to have on wiki and in the datalinks update.

Offline TarMinyatur

Re: I figured out the mineral formula
« Reply #2 on: March 20, 2013, 09:40:52 PM »
-If there is a mine, add another 1, plus 1 if it's rocky, 1 if it has a mineral bonus, and 1 if it's on a relevant landmark.  However, if there is no road...

Hmm, I believe this should be:

-If there is a road, add another 1, plus 1 if it's rocky...

Offline Yitzi

Re: I figured out the mineral formula
« Reply #3 on: March 21, 2013, 12:10:12 AM »
-If there is a mine, add another 1, plus 1 if it's rocky, 1 if it has a mineral bonus, and 1 if it's on a relevant landmark.  However, if there is no road...

Hmm, I believe this should be:

-If there is a road, add another 1, plus 1 if it's rocky...

No, it should not.  The "+1, plus another 1 if it's rocky" is dependent on the existence of a mine, though it is capped unless there is a road as well.  But even without a road, you still get 1 from that step (or more if alphax is set to more), so long as there's a mine.  Thanks for the proofreading anyway, though.

Offline Yitzi

Re: I figured out the mineral formula
« Reply #4 on: July 28, 2013, 11:24:13 PM »
A correction to the formula: The last step, if there is a mine, adds +1 if there is a mineral resource bonus square or a relevant landmark, but does not add separately for both.  So, for instance, a mine+road on a rocky square with a mineral bonus on Mount Planet is worth 8: 2 for a rocky square with a mine, plus 2 for the mineral bonus and 1 for Mount Planet, plus 3 for the mine (1 base, 1 rocky, and 1 for the bonus), rather than 9.

 

* User

Welcome, Guest. Please login or register.

Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

Why do you insist that the human genetic code is 'sacred' or 'taboo'? It is a chemical process and nothing more. For that matter -we- are chemical processes and nothing more. If you deny yourself a useful tool simply because it reminds you uncomfortably of your mortality, you have uselessly and pointlessly crippled yourself.
~Chairman Sheng-ji Yang 'Looking God in the Eye'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 38.

[Show Queries]