Advertisement
keybounce

CustomOreGen_Config.xml

May 3rd, 2013
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 49.73 KB | None | 0 0
  1. <!--*************************  CustomOreGen Configuration *****************************************
  2. :set ts=4 sw=4 expandtab
  3. *
  4. *   CustomOreGen allows you to customize the generation of Ore within your worlds.  This file
  5. *   contains a list of "distributions", which place a specific block according to a specific
  6. *   algorithm.  You can have as many distributions as you want, including multiple distributions for
  7. *   the same block type.
  8. *  
  9. *   There are four basic algorithms available, "StandardGen", "Susbstitute", "Veins", and "Cloud".
  10. *
  11. *   New: 2013/04/29: Add the following features:
  12. *       1. Rules specific to dimension 0 that do not override all ages or sub-worlds.
  13. *       2. (WIP) New distribution: SmallVeins. Smaller motherlodes, shorter veins, and more common.
  14. *       3. Config version tracking.
  15. *       4. (WIP) Mystcraft ages get a random choice of distributions, without using the Mystcraft API
  16. *           (Permits using Mystcraft 0.10.1 and 1.4.7 without requiring that every world is overworld-like)
  17. *
  18. *   This file is written in XML.  All names and values are ***CASE SENSISTIVE***.  
  19. *
  20. *   For details on how to edit this file, please see the online CustomOreGen documentation:
  21. *
  22. *       http://customoregen.shoutwiki.com/wiki/Main_Page
  23. *
  24. ***********************************************************************************************-->
  25. <Config>
  26.            
  27.     <!--************************   Global Config Options   *********************************
  28.    *   Below are options to control the general behavior of all distributions.
  29.    *************************************************************************************-->
  30.     <ConfigSection>
  31.    
  32.         <OptionDisplayGroup name='groupGeneral' displayName='General' displayState='shown'>
  33.             <Description>
  34.                 Options affecting all ore distributions.
  35.             </Description>
  36.         </OptionDisplayGroup>
  37.    
  38.         <OptionDisplayGroup name='groupConstants' displayName='Constants' displayState='hidden'>
  39.             <Description>
  40.                 Ore constants. Multipliers for the presets.
  41.             </Description>
  42.         </OptionDisplayGroup>
  43.        
  44. <!-- We have a big change here.
  45. We want to have dimension 0 behave differently. To do that, we cannot use a numeric option that
  46. is defined in dimension zero. If we do, it will override every age.
  47.  
  48. This same trick is used for the ore specifics in Minecraft Ores
  49.  
  50. Additional change:
  51. In dimensions other than 0, mushroom island ore spawns are reduced by 90%. Yes, I'm looking at
  52. you, mystcraft cave worlds, single biome mushroom island with extras.
  53. -->
  54.  
  55.         <OptionNumeric min='0' max='999' displayState='hidden' displayGroup='groupConstants'>
  56.         <name> Version </name>
  57.         <default> 1 </default>
  58.         </OptionNumeric>
  59.  
  60. <IfCondition condition=':= (dimension.id != 0)' >
  61.     <Then>
  62.         <OptionNumeric name='oreFreq' default='1' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  63.             <Description>
  64.                 A global multiplier for the frequency of all ore distributions.
  65.             </Description>
  66.             <DisplayName>Ore Frequency</DisplayName>
  67.         </OptionNumeric>
  68.     </Then> <Else>
  69.         <OptionNumeric name='dim0oreFreq' default='0.50' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  70.             <Description>
  71.                 A global multiplier for the frequency of all ore distributions.
  72.             </Description>
  73.                 <!-- Much shorter veins, slightly smaller size, slightly higher frequency.
  74.                    Should be about 1/2 as much ores in the overworld, to encourage using
  75.                    mystcraft ages or twilight forest for mining, and overworld for building. -->
  76.                     <!-- And, now we have new, shorter, smaller, more frequent veins as the
  77.                        base for the overworld, so all we cut back on is the frequency. -->
  78.             <DisplayName>Ore Frequency</DisplayName>
  79.         </OptionNumeric>
  80.     </Else>
  81. </IfCondition>
  82.  
  83. <!--
  84.        <OptionNumeric min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  85.    <IfCondition condition=':= (dimension.id != 0)' >
  86.        <Then>
  87.            <name> oreSize </name>
  88.            <default> 1.0 </default>
  89.        </Then> <Else>
  90.            <name> dim0oreSize </name>
  91.            <default> 1.00 </default>
  92.        </Else>
  93.    </IfCondition>
  94.            <Description>
  95.                A global multiplier for the size of all ore distributions.
  96.            </Description>
  97.            <DisplayName>Ore Deposit Size</DisplayName>
  98.        </OptionNumeric>
  99. -->
  100.  
  101. <IfCondition condition=':= (dimension.id != 0)' >
  102.     <Then>
  103.         <OptionNumeric name='oreSize' default='1' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  104.             <Description>
  105.                 A global multiplier for the size of all ore distributions.
  106.             </Description>
  107.             <DisplayName>Ore Deposit Size</DisplayName>
  108.         </OptionNumeric>
  109.     </Then> <Else>
  110.         <OptionNumeric name='dim0oreSize' default='1.00' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  111.             <Description>
  112.                 A global multiplier for the size of all ore distributions.
  113.             </Description>
  114.             <DisplayName>Ore Deposit Size</DisplayName>
  115.         </OptionNumeric>
  116.     </Else>
  117. </IfCondition>
  118.  
  119. <!--
  120.        <OptionNumeric min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  121.    <IfCondition condition=':= (dimension.id != 0)' >
  122.        <Then>
  123.            <name> oreLength </name>
  124.            <default> 1 </default>
  125.        </Then> <Else>
  126.            <name> dim0oreLength </name>
  127.            <default> 1 </default>
  128.        </Else>
  129.    </IfCondition>
  130.            <Description>
  131.                A global multiplier for the length of all ore veins.
  132.            </Description>
  133.            <DisplayName>Ore Vein Length</DisplayName>
  134.        </OptionNumeric>
  135. -->
  136.  
  137. <IfCondition condition=':= (dimension.id != 0)' >
  138.     <Then>
  139.         <OptionNumeric name='oreLength' default='1' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  140.             <Description>
  141.                 A global multiplier for the length of all ore veins.
  142.             </Description>
  143.             <DisplayName>Ore Vein Length</DisplayName>
  144.         </OptionNumeric>
  145.     </Then> <Else>
  146.         <OptionNumeric name='dim0oreLength' default='1' min='0' max='5' displayState='shown' displayGroup='groupGeneral'>
  147.             <Description>
  148.                 A global multiplier for the length of all ore veins.
  149.             </Description>
  150.             <DisplayName>Ore Vein Length</DisplayName>
  151.         </OptionNumeric>
  152.     </Else>
  153. </IfCondition>
  154.  
  155.         <OptionChoice name='debugMode' default='false' displayState='shown_dynamic' displayGroup='groupGeneral'>
  156.             <Description>
  157.                 Enable/disable debugging mode, which allows the use of in-game wireframe models and console commands.  Also controls the visibility of some advanced options.
  158.             </Description>
  159.             <Comment>          
  160.                 This is a "magic" option - it has meaning outside of this file in the COG engine itelf.  You can change the value, obviously, but do not remove the option itself or change the possible values.
  161.             </Comment>
  162.             <DisplayName>Debugging Mode</DisplayName>
  163.             <Choice value='true' displayValue='On'/>
  164.             <Choice value='false' displayValue='Off'/>
  165.         </OptionChoice>
  166.        
  167.         <OptionNumeric name='deferredPopulationRange' default='32' displayGroup='groupGeneral'>
  168.             <Description>
  169.                 How much area around a chunk must be generated before COG will add ores to it.
  170.             </Description>
  171.             <Comment>
  172.                 This is a "magic" option - it has meaning outside of this file in the COG engine itelf.  You can change the value, but do not remove the option itself or change the allowed range.  Changing this value is really not recommended unless you know what you are doing.
  173.             </Comment>
  174.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  175.             <DisplayName>Deferred Chunk Gen. Range</DisplayName>
  176.             <Min>0</Min>
  177.             <Max>128</Max>
  178.             <DisplayIncrement>16</DisplayIncrement>
  179.         </OptionNumeric>
  180.        
  181.         <OptionChoice name='vanillaOreGen' default='true' displayGroup='groupGeneral'>
  182.             <Description>
  183.                 Enable/disable the vanilla ore generators for coal, iron, gold, redstone, lapis lazuli, and diamond.  
  184.             </Description>
  185.             <Comment>    
  186.                 This is a "magic" option - it has meaning outside of this file in the COG engine itelf. You can change the value, but do not remove the option itself.  Recommended values are True/On for new worlds and False/Off for pre-1.4.2 worlds (for compatibility).
  187.             </Comment>
  188.             <Comment>
  189.                 This option completely prevents these ores from being spawned by the vanilla terrain generator. It is more efficient than a Substitute distribution, which lets the generator place an ore and then removes it.  However, for technical reasons this option cannot disable vanilla emerald generation. It also has mixed results with mod generation - mods that recycle the vanilla generator get disabled, while those that use their own do not.  Finally, it is an "all-or-nothing" approach that doesn't distinguish between ore types or world properties.  For these reasons this option defaults to "true", and a Substitute distribution is used below to selectively remove the vanilla ore deposits as needed.
  190.             </Comment>
  191.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  192.             <DisplayName>Vanilla Ore Gen.</DisplayName>
  193.             <Choice value='true' displayValue='On'/>
  194.             <Choice value='false' displayValue='Off'/>
  195.         </OptionChoice>
  196.        
  197.         <OptionChoice name='drawWireframes' default='false' displayGroup='groupGeneral'>
  198.             <Description>
  199.                 Default wireframe state for distributions.  
  200.             </Description>
  201.             <Comment>    
  202.                 Enabling this is only one of the requirements to actually use wireframes - debugging mode must be on and the client must have Forge and COG installed, cheats enabled, and the wireframe rendering mode set up.      
  203.             </Comment>
  204.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  205.             <DisplayName>Distribution Wireframes</DisplayName>
  206.             <Choice value='true' displayValue='On'/>
  207.             <Choice value='false' displayValue='Off'/>
  208.         </OptionChoice>    
  209.        
  210.         <OptionChoice name='debugDist' default='false' displayGroup='groupGeneral'>
  211.             <Description> Enable/disable testing distributions. </Description>
  212.             <DisplayState>:= if(?debugMode,"shown","hidden")</DisplayState>
  213.             <DisplayName>Test Distributions</DisplayName>
  214.             <Choice value='true' displayValue='On'/>
  215.             <Choice value='false' displayValue='Off'/>
  216.         </OptionChoice>  
  217.        
  218.     </ConfigSection>
  219.    
  220.     <!--*******************************   Presets   ****************************************
  221.    *   Below are useful "preset" distributions.  These don't generate any ore by themselves,
  222.    *   but they can be used as a base for other distributions.
  223.    *************************************************************************************-->
  224.     <ConfigSection>
  225.  
  226.         <OptionNumeric min='0' max='999' displayState='hidden' displayGroup='groupConstants'>
  227.         <name> _C_ClusterFreq </name>
  228.         <default> 20 </default>
  229.         </OptionNumeric>
  230.  
  231.         <OptionNumeric min='0' max='999' displayState='hidden' displayGroup='groupConstants'>
  232.         <name> _C_ClusterSize </name>
  233.         <default> 8 </default>
  234.         </OptionNumeric>
  235.  
  236.         <OptionNumeric min='0' max='999' displayState='hidden' displayGroup='groupConstants'>
  237.         <name> _C_MushroomRate </name>
  238.         <description> Adjust the rate of ore spawning in Mystcraft ages, mushroom biomes, to
  239.                         prevent abuse. </description>
  240.         <default> 0.1 </default>
  241.         </OptionNumeric>
  242.  
  243. <!--
  244.        <StandardGenPreset name='PresetStandardGen'>  
  245.            <Description>
  246.                A master preset for standardgen ore distributions.
  247.            </Description>
  248.        <IfCondition condition=':= (dimension.id != 0)' >
  249.            <Then>
  250.                <Setting name='Size' range='0' avg=':= _C_ClusterSize * oreSize' />
  251.            </Then> <Else>
  252.                <Setting name='Size' range='0' avg=':= _C_ClusterSize * dim0oreSize' />
  253.            </Else>
  254.        </IfCondition>
  255.            <Setting name='Frequency' range='0'>
  256.                <IfCondition condition=':= (dimension.id != 0)' >
  257.                    <Then>
  258.                        <avg> ':= _C_ClusterFreq * oreFreq' </avg>
  259.                    </Then> <Else>
  260.                        <avg> ':= _C_ClusterFreq * dim0oreFreq' </avg>
  261.                    </Else>
  262.                </IfCondition>
  263.            </Setting>
  264.            <Setting name='Height' avg=':= 64/64 * dimension.groundLevel' range=':= 64/64 * dimension.groundLevel'/>
  265.            <Setting name='ParentRangeLimit' avg='32' range='32' type='normal'/>
  266.            <Replaces block='stone'/>
  267.            <Biome name='.*'/>
  268.        </StandardGenPreset>
  269. -->
  270.  
  271.         <StandardGenPreset name='PresetStandardGen'>  
  272.             <Description>
  273.                 A master preset for standardgen ore distributions.
  274.             </Description>
  275.         <IfCondition condition=':= (dimension.id != 0)' >
  276.             <Then>
  277.                 <Setting name='Size' range='0' avg=':= _C_ClusterSize * oreSize' />
  278.                 <Setting name='Frequency' range='0' avg=':= _C_ClusterFreq * oreFreq' />
  279.             </Then> <Else>
  280.                 <Setting name='Size' range='0' avg=':= _C_ClusterSize * dim0oreSize' />
  281.                 <Setting name='Frequency' range='0' avg=':= _C_ClusterFreq * dim0oreFreq' />
  282.             </Else>
  283.         </IfCondition>
  284.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  285.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  286.         </IfCondition>
  287.             <Setting name='Height' avg=':= 64/64 * dimension.groundLevel' range=':= 64/64 * dimension.groundLevel'/>
  288.             <Setting name='ParentRangeLimit' avg='32' range='32' type='normal'/>
  289.             <Replaces block='stone'/>
  290.             <Biome name='.*'/>
  291.         </StandardGenPreset>
  292.  
  293.         <VeinsPreset name='PresetCOGLayeredVeins' branchType='Bezier'>  
  294.             <Description>
  295.                 Small, fairly rare motherlodes with 2-4 horizontal veins each.
  296.             </Description>
  297.             <Setting name='MotherlodeHeight' avg=':= 32/64 * dimension.groundLevel' range=':= 16/64 * dimension.groundLevel' type='normal'/>
  298.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  299.         <IfCondition condition=':= (dimension.id != 0)' >
  300.                 <Comment> Bad form to have numeric constants repeated like this.
  301.                             These need to be turned into constants like the cluster numbers were
  302.                 </Comment>
  303.             <Then>
  304.                 <Setting name='MotherlodeFrequency' avg=':= 0.025 * oreFreq'/>
  305.                 <Setting name='MotherlodeSize' avg=':= 2.5 * oreSize' range=':= 1 * oreSize'/>
  306.                 <Setting name='BranchLength' avg=':= 120 * oreLength' range=':= 60 * oreLength'/>
  307.                 <Setting name='SegmentRadius' avg=':= 0.5 * oreSize' range=':= 0.3 * oreSize'/>
  308.             </Then> <Else>
  309.                 <Setting name='MotherlodeFrequency' avg=':= 0.025 * dim0oreFreq'/>
  310.                 <Setting name='MotherlodeSize' avg=':= 2.5 * dim0oreSize' range=':= 1 * dim0oreSize'/>
  311.                 <Setting name='BranchLength' avg=':= 120 * dim0oreLength' range=':= 60 * dim0oreLength'/>
  312.                 <Setting name='SegmentRadius' avg=':= 0.5 * dim0oreSize' range=':= 0.3 * dim0oreSize'/>
  313.         </Else> </IfCondition>
  314.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  315.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  316.         </IfCondition>
  317.             <Setting name='BranchFrequency' avg='3' range='2'/>
  318.             <Setting name='BranchInclination' avg='0' range='0.55'/>
  319.             <Setting name='BranchHeightLimit' avg='16'/>
  320.             <Setting name='SegmentForkFrequency' avg='0.20'/>  
  321.             <Setting name='SegmentForkLengthMult' avg='0.75' range='0.25' />
  322.             <Setting name='SegmentLength' avg='15' range='6'/>
  323.             <Setting name='SegmentAngle' avg='0.50' range='0.50'/>
  324.             <Setting name='OreDensity' avg='1' range='0'/>
  325.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  326.             <Replaces block='stone'/>
  327.             <Biome name='.*'/>
  328.         </VeinsPreset>
  329.  
  330.             <Comment> Normal COG veins are fairly LARGE, and somewhat uncommon. While finding
  331.                     them isn't that hard, there really isn't any resource shortage once you do
  332.                     find them. The idea of the smaller veins is that you should have lots of
  333.                     them, so finding them is not at all hard. But they are much smaller. Resources
  334.                     should be available, but tight.
  335.  
  336.                     Basically, this is an attempt to eliminate "spare doublechests of resources".
  337.                     If you can build a full-height beacon with this distribution, then it should
  338.                     be a challenge, and not "easy". At the same time, it should be "hard", and
  339.                     not "painful". Please report back on how well this balance is achieved.
  340.             </Comment>
  341.             <Comment> The size is cubic; half the size would be 1/8th as much ore. 2/3rds the size
  342.                     should be 8/27th, or about 1/3rd the size.
  343.                         Equally, cutting the base branches from quantity 3 +/- 2, down to 2 +/- 1,
  344.                     should give 2/3rds the ores, and then cutting the branch length in half makes
  345.                     the total ores from the branches to be about 1/3rd.
  346.                             Error -- cutting the branch length in half does not account for the forks.
  347.                     There are so many of them. Cut the branch length from 1/2 to 1/4th.
  348.                         Finally, rasing the frequency up by 3 times as much brings the total ores
  349.                     back to the same level, but now you are likely to miss some of the ore deposits.
  350.                             Error -- some early testing shows that the additional length reduction
  351.                      was actually too strong. Compensate with an increase in frequency to 4x.
  352.                         Final result: Approximately the same level of ores in the world, but less
  353.                     of them available at any time, as you have to search more caves to find it all
  354.                     (and will likely miss some.)
  355.                         NB: Ore radius is NOT changed; these are just shorter versions with smaller
  356.                     motherlodes.
  357.             </Comment>
  358.             <Comment> Definition of "PresetSmallLayeredVeins" moved down, below "PresetLayeredVeins".
  359.             </Comment>
  360.  
  361.         <Comment> We have to create the "PresetLayeredVeins". This turns out to be hard.
  362.  
  363.                 What works -- not elegant -- is to duplicate the alterations of PresetSmallLayeredVeins
  364.                 as if() clauses. While this may seem odd, it is the only way to use the debugging
  365.                 commands to test what's happening, and the only way I could figure out to make sure
  366.                 that mystcraft age specific configs in the ores file could use both
  367.         </Comment>
  368.  
  369. <Comment>
  370. Should this be based on dimension 0 / not zero?
  371. Should this be based on mystcraft age / not a mystcraft age?
  372. Should this be any "random level source" age -- note that excludes twilight forest
  373.  
  374. I don't have answers.
  375. For now, I'm going to hardwire in the default of small veins in the overworld, random (50/50) for
  376. mystcraft ages, and large veins for any other world. Feel free (PLEASE!) to give other ideas/suggestions.
  377.  
  378. Remember: some mods add in 5 different fixed dimensions. Some mods add in one dimension.
  379. Mystcraft is the oddball as it lets you add in as many dimensions as you want, and lets you customize
  380. them for what you want.
  381. </Comment>
  382.  
  383.         <OptionChoice displayState='hidden' displayGroup='groupGeneral'>
  384.             <Description>
  385.                 Which layout of layered veins to use.
  386.             </Description>
  387.             <DisplayName>Ore Vein Type</DisplayName>
  388.             <IfCondition condition=':= (dimension.id = 0)' >
  389.                 <Then name='dim0veinSize' default='Small' />
  390.                 <Else name='veinSize' >
  391.                 <!-- Not overworld. Is it Mystcraft? -->
  392.                     <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  393.                     <Then>
  394.                         <!-- Config version 1: 50/50 choice -->
  395.                         <IfCondition condition=':= world.nextRandom > 1/2'>
  396.                             <Then default='COG' />
  397.                             <Else default='Small' />
  398.                         </IfCondition>
  399.                     </Then>
  400.                     <Else default='COG' />
  401.                     </IfCondition>
  402.                 </Else>
  403.             </IfCondition>
  404.             <Choice value='COG' displayValue='Normal COG veins'/>
  405.             <Choice value='Small' displayValue='Smaller, more frequent veins'/>
  406.         </OptionChoice>
  407.  
  408.         <!-- Now: We have "veinSize" or "dim0veinSize".
  409.            They have values "COG" or "Small"
  410.            We need to decide if "PresetLayeredVeins" is seen as
  411.                "PresetCOGLayeredVeins" or "PresetSmallLayeredVeins" -->
  412.  
  413. <!-- BUG! This is, at best, a band-aid. As written, it does not permit an age to select different
  414.        sized veins for different ore types. -->
  415.  
  416. <!-- FAIL! This does not work. Has to be redone as if() statements in a single, non-conditional'd
  417. preset.
  418.  
  419. <IfCondition condition=':= (dimension.id != 0)' >
  420.    <Then>
  421.        <IfCondition condition=':= veinSize = "COG"'>
  422.            <Then>
  423.                <VeinsPreset name='PresetLayeredVeins' inherits='PresetCOGLayeredVeins' />
  424.            </Then> <Else>
  425.                <VeinsPreset name='PresetLayeredVeins' inherits='PresetSmallLayeredVeins' />
  426.        </Else> </IfCondition>
  427.    </Then> <Else>
  428.        <Comment> Dimension 0 case </Comment>
  429.        <IfCondition condition=':= dim0veinSize = "COG"'>
  430.            <Then>
  431.                <VeinsPreset name='PresetLayeredVeins' inherits='PresetCOGLayeredVeins' />
  432.            </Then> <Else>
  433.                <VeinsPreset name='PresetLayeredVeins' inherits='PresetSmallLayeredVeins' />
  434.        </Else> </IfCondition>
  435.    </Else>
  436. </IfCondition>
  437. -->
  438.  
  439. <Comment> As I'm reviewing this, I realize that there's a real simple alternative, that some people
  440. might think is better. If, instead of all of this, there was just one set of config options,
  441. such as frequencyMult, BranchMult, LodeSizeMult, and LengthMult - there is already a frequency
  442. multiplayer, I've coded a length multiplier, so it's not that hard to finish that - this would allow
  443. a single set of presets, rather than needing separate small-layered and COG-layered vein presets.
  444.  
  445. It would also avoid the whole headache that I'm dealing with here - the need to avoid an IfCondition
  446. defining the preset inheritance.
  447.  
  448. What it fails at, as far as I could determine, was allowing a mystcraft age to have different
  449. distributions for different veins. LayeredVeins and SparseVeins are used for iron, gold, and coal.
  450. (Emeralds and diamonds use pipes; lapis and redstone use vertical veins). This system, while more
  451. complex, will (eventually) permit an age to have small common veins for some, and large rarer veins
  452. for others.
  453. </Comment>
  454.  
  455. <!-- Testing shows that segment length has to scale as well. Simply put: Distributions that expect
  456. to fork more, to give more ores as distance increase, will not fork as much with shorter branches
  457. and the same distance per fork. -->
  458.  
  459.     <IfCondition condition=':= (dimension.id != 0)' >
  460.     <Then>
  461.         <!-- MSize 2/3, BL 1/3, Fork 7/6, Mult 1/3 -->
  462.         <VeinsPreset name='PresetLayeredVeins' inherits='PresetCOGLayeredVeins'>
  463.             <Setting name='MotherlodeFrequency' avg=':= if (veinSize="Small", 2.150, 1) * _default_'/>
  464.             <Setting name='MotherlodeSize'      avg=':= if (veinSize="Small", 2/3, 1) * _default_'
  465.                                              range=':= if (veinSize="Small", 1/2, 1) * _default_'/>
  466.             <Setting name='BranchLength'        avg=':= if (veinSize="Small", 1/3, 1) * _default_'
  467.                                              range=':= if (veinSize="Small", 1/3, 1) * _default_'/>
  468.            <Setting name='SegmentForkFrequency' avg=':= if (veinSize="Small", 7/6, 1) * _default_'/>
  469.           <Setting name='SegmentForkLengthMult' avg=':= if (veinSize="Small", 1/3, 1) * _default_'
  470.                                              range=':= if (veinSize="Small", 1/3, 1) * _default_'/>
  471.         </VeinsPreset>
  472.     </Then> <Else>
  473.         <VeinsPreset name='PresetLayeredVeins' inherits='PresetCOGLayeredVeins'>
  474.             <Setting name='MotherlodeFrequency' avg=':= if (dim0veinSize="Small", 2.15, 1) * _default_'/>
  475.             <Setting name='MotherlodeSize'      avg=':= if (dim0veinSize="Small", 2/3, 1) * _default_'
  476.                                              range=':= if (dim0veinSize="Small", 1/2, 1) * _default_'/>
  477.             <Setting name='BranchLength'        avg=':= if (dim0veinSize="Small", 1/3, 1) * _default_'
  478.                                              range=':= if (dim0veinSize="Small", 1/3, 1) * _default_'/>
  479.            <Setting name='SegmentForkFrequency' avg=':= if (dim0veinSize="Small", 7/6, 1) * _default_'/>
  480.           <Setting name='SegmentForkLengthMult' avg=':= if (dim0veinSize="Small", 1/3, 1) * _default_'
  481.                                              range=':= if (dim0veinSize="Small", 1/3, 1) * _default_'/>
  482.         </VeinsPreset>
  483.     </Else> </IfCondition>
  484.  
  485.         <Comment> This was moved down here; "spacing" should make the reason obvious. </Comment>
  486.  
  487.         <VeinsPreset name='PresetSmallLayeredVeins' inherits='PresetCOGLayeredVeins'>
  488.             <Setting name='MotherlodeFrequency' avg=':=                           2.15    * _default_'/>
  489.             <Setting name='MotherlodeSize'      avg=':=                           2/3     * _default_'
  490.                                              range=':=                           1/2     * _default_'/>
  491.             <Setting name='BranchLength'        avg=':=                           1/3     * _default_'
  492.                                              range=':=                           1/3     * _default_'/>
  493.            <Setting name='SegmentForkFrequency' avg=':=                           7/6     * _default_'/>
  494.           <Setting name='SegmentForkLengthMult' avg=':=                           1/3     * _default_'
  495.                                              range=':=                           1/3     * _default_'/>
  496.         </VeinsPreset>
  497.  
  498.         <VeinsPreset name='PresetVerticalVeins' branchType='Bezier'>    
  499.             <Description>
  500.                 Single vertical veins that occur with no motherlodes.
  501.                 Starts high, and goes down.
  502.                 Frequency and length adjust based on ground height; shorter ground has
  503.                    more of them, and each one is shorter to fit.
  504.             </Description>  
  505.             <Setting name='MotherlodeSize' avg='0' range='0'/>
  506.             <Setting name='MotherlodeHeight' avg=':= 76/64 * dimension.groundLevel' range='4'/>
  507.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  508.         <IfCondition condition=':= (dimension.id != 0)' >
  509.             <Then>
  510.                 <Setting name='MotherlodeFrequency' avg=':= 0.080 * oreFreq * 64/dimension.groundLevel' />
  511.                 <Setting name='BranchLength' avg=':= 48/64 * dimension.groundLevel * oreLength'
  512.                                                                range=':= 16 * oreLength' type='normal'/>
  513.                 <Setting name='SegmentRadius' avg=':= 0.30 * oreSize' range=':= 0.1 * oreSize'/>
  514.             </Then> <Else>
  515.                 <Setting name='MotherlodeFrequency' avg=':= 0.080 * dim0oreFreq * 64/dimension.groundLevel' />
  516.                 <Setting name='BranchLength' avg=':= 48/64 * dimension.groundLevel * dim0oreLength'
  517.                                                                range=':= 16 * dim0oreLength' type='normal'/>
  518.                 <Setting name='SegmentRadius' avg=':= 0.30 * dim0oreSize' range=':= 0.1 * dim0oreSize'/>
  519.  
  520.             </Else>
  521.         </IfCondition>
  522.     <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  523.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  524.         </IfCondition>
  525.  
  526.             <Setting name='BranchFrequency' avg='1' range='0'/>
  527.             <Setting name='BranchInclination' avg='-1.31' range='0.22'/>
  528.             <Setting name='BranchHeightLimit' avg='1000'/>
  529.             <Setting name='SegmentForkFrequency' avg='0.10'/>  
  530.             <Setting name='SegmentAngle' avg='0' range='0.3'/>
  531.             <Setting name='SegmentLength' avg='8' range='4' type='normal'/>
  532.             <Setting name='OreDensity' avg='1' range='0'/>
  533.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  534.             <Replaces block='stone'/>
  535.             <Biome name='.*'/>
  536.         </VeinsPreset>
  537.        
  538.         <VeinsPreset name='PresetSmallDeposits'>
  539.             <Description>
  540.                 Small motherlodes without any branches.
  541.                 Similar to the deposits produced by StandardGen distributions.
  542.             </Description>        
  543.         <IfCondition condition=':= (dimension.id != 0)' >
  544.             <Then>
  545.                 <Setting name='MotherlodeFrequency' avg=':= 1.0 * oreFreq' range=':= 0.3 * oreFreq'/>
  546.                 <Setting name='MotherlodeSize' avg=':= 0.9 * oreSize' range=':= 0.3 * oreSize'/>
  547.             </Then> <Else>
  548.                 <Setting name='MotherlodeFrequency' avg=':= 1.0 * dim0oreFreq' range=':= 0.3 * dim0oreFreq'/>
  549.                 <Setting name='MotherlodeSize' avg=':= 0.9 * dim0oreSize' range=':= 0.3 * dim0oreSize'/>
  550.             </Else>
  551.         </IfCondition>
  552.     <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  553.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  554.         </IfCondition>
  555.             <Setting name='MotherlodeHeight' avg=':= 32/64 * dimension.groundLevel'
  556.                                           range=':= 16/64 * dimension.groundLevel' type='normal'/>
  557.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  558.             <Setting name='BranchFrequency' avg='0' range='0'/>
  559.             <Setting name='OreDensity' avg='1' range='0'/>
  560.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  561.             <Replaces block='stone'/>
  562.             <Biome name='.*'/>
  563.         </VeinsPreset>
  564.        
  565.         <VeinsPreset name='PresetLavaDeposits'>
  566.             <Description>
  567.                 Small motherlodes without any branches.  Instead of spawning in stone,
  568.                 these will only spawn in lava pools near the bottom of the map.
  569.                 Note that these lava pools are produced by the vanilla cave generator - any mod
  570.                 that changes or removes cave generation will indirectly affect these deposits.
  571.             </Description>          
  572.             <Setting name='MotherlodeHeight' avg='8' range='8' type='uniform'/>
  573.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  574.         <IfCondition condition=':= (dimension.id != 0)' >
  575.             <Then>
  576.                 <Setting name='MotherlodeFrequency' avg=':= 6.0 * oreFreq' range=':= 2.0 * oreFreq'/>
  577.                 <Setting name='MotherlodeSize' avg=':= 1.5 * oreSize' range=':= 0.8 * oreSize'/>
  578.             </Then> <Else>
  579.                 <Setting name='MotherlodeFrequency' avg=':= 6.0 * dim0oreFreq' range=':= 2.0 * dim0oreFreq'/>
  580.                 <Setting name='MotherlodeSize' avg=':= 1.5 * dim0oreSize' range=':= 0.8 * dim0oreSize'/>
  581.             </Else>
  582.         </IfCondition>
  583.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  584.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  585.         </IfCondition>
  586.             <Setting name='BranchFrequency' avg='0' range='0'/>
  587.             <Setting name='OreDensity' avg='1' range='0'/>
  588.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  589.             <Replaces block='lava'/>
  590.             <Biome name='.*'/>
  591.         </VeinsPreset>
  592.        
  593.         <VeinsPreset name='PresetHugeVeins' branchType='Bezier'>
  594.             <Description>
  595.                 Very large, extremely rare motherlodes.  Each motherlode has many long slender branches - so thin that
  596.                 parts of the branch won't contain any ore at all.  This, combined with the incredible length of the
  597.                 branches, makes them more challenging to follow underground.  Once found, however, a motherlode contains
  598.                 enough ore to keep a player supplied for a very long time.
  599.                 The rarity of these veins might be too frustrating in a single-player setting.  In SMP, though, teamwork
  600.                 could make finding them much easier and the motherlodes are big enough to supply several people without
  601.                 shortage.  This might be a good way to add challenge to multiplayer worlds.
  602.                 Credit: based on feedback by dyrewulf from the MC forums.
  603.             </Description>  
  604.  
  605.     <Comment> ** Original uses "oreSize" for deterining length of the veins.
  606.                 Now use both oreSize and oreLength.
  607.     </Comment>
  608.  
  609.             <Setting name='MotherlodeHeight' avg=':= 45/64 * dimension.groundLevel'
  610.                                            range=':= 9/64 * dimension.groundLevel' type='normal'/>
  611.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  612.         <IfCondition condition=':= (dimension.id != 0)' >
  613.             <Then>
  614.                 <Setting name='MotherlodeFrequency' avg=':= 0.00025 * oreFreq'/>
  615.                 <Setting name='MotherlodeSize' avg=':= 10 * oreSize' range=':= 6 * oreSize' type='normal'/>
  616.                 <Setting name='BranchLength' avg=':= 500 * oreSize * oreLength'
  617.                                            range=':= 400 * oreSize * oreLength' type='normal'/>
  618.                 <Setting name='SegmentLength' avg=':= 30 * oreSize' range=':= 6 * oreSize' />
  619.                 <Setting name='SegmentRadius' avg=':= 0.025 * oreSize' range=':= 0.2 * oreSize'/>
  620.             </Then> <Else>
  621.                 <Setting name='MotherlodeFrequency' avg=':= 0.00025 * dim0oreFreq'/>
  622.                 <Setting name='MotherlodeSize' avg=':= 10 * dim0oreSize' range=':= 6 * dim0oreSize' type='normal'/>
  623.                 <Setting name='BranchLength' avg=':= 500 * dim0oreSize * dim0oreLength'
  624.                                            range=':= 400 * dim0oreSize * dim0oreLength' type='normal'/>
  625.                 <Setting name='SegmentLength' avg=':= 30 * dim0oreSize' range=':= 6 * dim0oreSize' />
  626.                 <Setting name='SegmentRadius' avg=':= 0.025 * dim0oreSize' range=':= 0.2 * dim0oreSize'/>
  627.             </Else>
  628.         </IfCondition>
  629.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  630.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  631.         </IfCondition>
  632.             <Setting name='BranchFrequency' avg='8' range='4'/>
  633.             <Setting name='BranchInclination' avg='0.7' range='0.85'/>
  634.             <Setting name='BranchHeightLimit' avg='1000'/>
  635.             <Setting name='SegmentForkFrequency' avg='0.02'/>
  636.             <Setting name='SegmentForkLengthMult' avg='0.5' range='0.25'/>
  637.             <Setting name='SegmentAngle' avg='0.30' range='0.30'/>
  638.             <Setting name='OreDensity' avg='1' range='0'/>
  639.             <Setting name='OreRadiusMult' avg='1' range='0.25'/>
  640.             <Replaces block='stone'/>
  641.             <Replaces block='grass'/>
  642.             <Replaces block='dirt'/>
  643.             <Replaces block='sand'/>
  644.             <Replaces block='gravel'/>
  645.             <Replaces block='sandstone'/>
  646.             <Biome name='.*'/>
  647.         </VeinsPreset>
  648.        
  649.         <VeinsPreset name='PresetHintVeins'>
  650.             <Description>
  651.                 Single blocks, generously scattered through all heights (density is about that of vanilla iron ore).
  652.                 They will replace dirt and sandstone (but not grass or sand), so they can be found nearer
  653.                 to the surface than most ores.  Intened to be used as a child distribution for large, rare strategic
  654.                 deposits that would otherwise be very difficult to find.
  655.                 Note that the frequency is multiplied by ground level to maintain a constant density, but not by
  656.                 ore frequency because it is assumed that the frequency of the parent distribution will already
  657.                 be scaled by that.
  658.             </Description>  
  659.             <Setting name='MotherlodeFrequency' avg=':= 80 * dimension.groundLevel/64'
  660.                                                range=':= 30 * dimension.groundLevel/64'/>
  661.             <Setting name='MotherlodeSize' avg='0.6' range='0'/>
  662.             <Setting name='MotherlodeHeight' avg=':= 50/64 * dimension.groundLevel'
  663.                                                range=':= 46/64 * dimension.groundLevel'/>
  664.         <IfCondition condition=':= (dimension.id != 0)' >
  665.             <Then>
  666.                 <Setting name='MotherlodeRangeLimit' avg=':= 45 * oreSize' range=':= 30 * oreSize' type='uniform'/>
  667.             </Then> <Else>
  668.                 <Setting name='MotherlodeRangeLimit' avg=':= 45 * dim0oreSize' range=':= 30 * dim0oreSize' type='uniform'/>
  669.             </Else>
  670.         </IfCondition>
  671.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  672.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  673.         </IfCondition>
  674.             <Setting name='BranchFrequency' avg='0' range='0'/>
  675.             <Setting name='OreDensity' avg='1' range='0'/>
  676.             <Setting name='OreRadiusMult' avg='1.0' range='0'/>
  677.             <Replaces block='stone'/>
  678.             <Replaces block='dirt'/>
  679.             <Replaces block='gravel'/>
  680.             <Replaces block='sandstone'/>
  681.             <Biome name='.*'/>
  682.         </VeinsPreset>
  683.        
  684.         <VeinsPreset name='PresetCOGSparseVeins' branchType='Bezier'>    
  685.             <Description>
  686.                 Large veins filled very lightly with ore.  Because they contain less ore per volume,
  687.                 these veins are relatively wide and long.  Mining the ore from them is time consuming
  688.                 compared to solid ore veins.  They are also more difficult to follow, since it is
  689.                 harder to get an idea of their direction while mining.
  690.             </Description>
  691.             <Setting name='MotherlodeHeight' avg=':= 32/64 * dimension.groundLevel'
  692.                                            range=':= 32/64 * dimension.groundLevel' type='uniform'/>
  693.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  694.         <IfCondition condition=':= (dimension.id != 0)' >
  695.             <Then>
  696.                 <Setting name='MotherlodeFrequency' avg=':= 0.0065 * oreFreq'/>            
  697.                 <Setting name='MotherlodeSize' avg=':= 2.3 * oreSize' range=':= 0.5 * oreSize'/>
  698.                 <Setting name='BranchLength' avg=':= 180 * oreLength' range=':= 90 * oreLength'/>
  699.                 <Setting name='SegmentRadius' avg=':= 2.0 * oreSize' range=':= 1.0 * oreSize'/>
  700.             </Then> <Else>
  701.                 <Setting name='MotherlodeFrequency' avg=':= 0.0065 * dim0oreFreq'/>            
  702.                 <Setting name='MotherlodeSize' avg=':= 2.3 * dim0oreSize' range=':= 0.5 * dim0oreSize'/>
  703.                 <Setting name='BranchLength' avg=':= 180 * dim0oreLength' range=':= 90 * dim0oreLength'/>
  704.                 <Setting name='SegmentRadius' avg=':= 2.0 * dim0oreSize' range=':= 1.0 * dim0oreSize'/>
  705.             </Else>
  706.         </IfCondition>
  707.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  708.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  709.         </IfCondition>
  710.             <Setting name='BranchFrequency' avg='1' range='0'/>
  711.             <Setting name='BranchInclination' avg='0' range='0.75'/>
  712.             <Setting name='BranchHeightLimit' avg='1000'/>
  713.             <Setting name='SegmentForkFrequency' avg='0' range='0'/>
  714.             <Setting name='SegmentForkLengthMult' avg='0' range='0'/>
  715.             <Setting name='SegmentLength' avg='20' range='8'/>
  716.             <Setting name='SegmentAngle' avg='0.35' range='0.35'/>
  717.             <Setting name='OreDensity' avg='0.04' range='0'/>
  718.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  719.             <Replaces block='stone'/>
  720.             <Biome name='.*'/>
  721.         </VeinsPreset>
  722.  
  723.  
  724. <Comment> We don't have a branch frequency adjustment here. Sparseveins are always a single
  725. branch. Motherlodes are essentially nothing. So we just have shorter lengths. Our target is
  726. 2.225 times more common occurance/smaller distribution. (Note: no forks either.) </Comment>
  727.  
  728.     <IfCondition condition=':= (dimension.id != 0)' >
  729.     <Then>
  730.         <VeinsPreset name='PresetSparseVeins' inherits='PresetCOGSparseVeins'>    
  731.             <Setting name='MotherlodeFrequency' avg=':= if (veinSize="Small", 2.15, 1) * _default_'/>
  732.             <Setting name='MotherlodeSize'      avg=':= if (veinSize="Small",  1 , 1) * _default_'
  733.                                              range=':= if (veinSize="Small",  1 , 1) * _default_'/>
  734.             <Setting name='BranchLength'        avg=':= if (veinSize="Small", 1/3, 1) * _default_'
  735.                                              range=':= if (veinSize="Small", 1/3, 1) * _default_'/>
  736.         </VeinsPreset>
  737.     </Then> <Else>
  738.         <VeinsPreset name='PresetSparseVeins' inherits='PresetCOGSparseVeins'>    
  739.             <Setting name='MotherlodeFrequency' avg=':= if (dim0veinSize="Small", 2.15, 1) * _default_'/>
  740.             <Setting name='MotherlodeSize'      avg=':= if (dim0veinSize="Small",  1 , 1) * _default_'
  741.                                              range=':= if (dim0veinSize="Small",  1 , 1) * _default_'/>
  742.             <Setting name='BranchLength'        avg=':= if (dim0veinSize="Small", 1/3, 1) * _default_'
  743.                                              range=':= if (dim0veinSize="Small", 1/3, 1) * _default_'/>
  744.         </VeinsPreset>
  745.     </Else> </IfCondition>
  746.  
  747.         <VeinsPreset name='PresetSmallSparseVeins' inherits='PresetCOGSparseVeins'>    
  748.             <Setting name='MotherlodeFrequency' avg=':=                           2.15   * _default_'/>
  749.             <Setting name='MotherlodeSize'      avg=':=                            1      * _default_'
  750.                                              range=':=                            1      * _default_'/>
  751.             <Setting name='BranchLength'        avg=':=                           1/3     * _default_'
  752.                                              range=':=                           1/3     * _default_'/>
  753.         </VeinsPreset>
  754.  
  755.         <VeinsPreset name='PresetPipeVeins' branchType='Bezier'>    
  756.             <Description>
  757.                 Short sparsely filled veins sloping up from near the bottom of the map.
  758.             </Description>
  759.             <Setting name='MotherlodeHeight' avg=':= 8/64 * dimension.groundLevel'
  760.                                            range=':= 8/64 * dimension.groundLevel' type='uniform'/>
  761.             <Setting name='MotherlodeRangeLimit' avg='32' range='32' type='normal'/>
  762.         <IfCondition condition=':= (dimension.id != 0)' >
  763.             <Then>
  764.                 <Setting name='MotherlodeFrequency' avg=':= 0.06 * oreFreq'/>            
  765.                 <Setting name='MotherlodeSize' avg=':= 2.3 * oreSize' range=':= 0.5 * oreSize'/>
  766.                 <Setting name='BranchLength' avg=':= 40 * oreLength' range=':= 10 * oreLength'/>
  767.                 <Setting name='SegmentRadius' avg=':= 2.0 * oreSize' range=':= 0.5 * oreSize'/>
  768.             </Then> <Else>
  769.                 <Setting name='MotherlodeFrequency' avg=':= 0.06 * dim0oreFreq'/>            
  770.                 <Setting name='MotherlodeSize' avg=':= 2.3 * dim0oreSize' range=':= 0.5 * dim0oreSize'/>
  771.                 <Setting name='BranchLength' avg=':= 40 * dim0oreLength' range=':= 10 * dim0oreLength'/>
  772.                 <Setting name='SegmentRadius' avg=':= 2.0 * dim0oreSize' range=':= 0.5 * dim0oreSize'/>
  773.             </Else>
  774.         </IfCondition>
  775.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  776.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  777.         </IfCondition>
  778.             <Setting name='BranchFrequency' avg='1' range='0'/>
  779.             <Setting name='BranchInclination' avg='0.75' range='0.7' type='normal'/>
  780.             <Setting name='BranchHeightLimit' avg='1000'/>
  781.             <Setting name='SegmentForkFrequency' avg='0' range='0'/>
  782.             <Setting name='SegmentForkLengthMult' avg='0' range='0'/>
  783.             <Setting name='SegmentLength' avg='8' range='3'/>
  784.             <Setting name='SegmentAngle' avg='0' range='0.25'/>
  785.             <Setting name='OreDensity' avg='0.04' range='0'/>
  786.             <Setting name='OreRadiusMult' avg='1.0' range='0.1'/>
  787.             <Replaces block='stone'/>
  788.             <Biome name='.*'/>
  789.         </VeinsPreset>        
  790.  
  791.         <CloudPreset name='PresetStrategicCloud'>
  792.             <Description>
  793.                 Large irregular clouds filled lightly with ore.  These are huge, spanning several
  794.                 adjacent chunks, and consequently rather rare.  They contain a sizeable amount of
  795.                 ore, but it takes some time and effort to mine due to low density.
  796.                 The intent for strategic clouds is that the player will need to actively search for
  797.                 one and then set up a semi-permanent mining base and spend some time actually mining
  798.                 the ore.
  799.             </Description>
  800.         <IfCondition condition=':= (dimension.id != 0)' >
  801.             <Then>
  802.                 <Setting name='DistributionFrequency' avg=':= 0.001 * oreFreq'/>
  803.                 <Setting name='CloudRadius' avg=':= 25 * oreSize' range=':= 10 * oreSize'/>
  804.                 <Setting name='CloudThickness' avg=':= 14 * oreSize' range=':= 6 * oreSize'/>
  805.             </Then> <Else>
  806.                 <Setting name='DistributionFrequency' avg=':= 0.001 * dim0oreFreq'/>
  807.                 <Setting name='CloudRadius' avg=':= 25 * dim0oreSize' range=':= 10 * dim0oreSize'/>
  808.                 <Setting name='CloudThickness' avg=':= 14 * dim0oreSize' range=':= 6 * dim0oreSize'/>
  809.             </Else>
  810.         </IfCondition>
  811.         <IfCondition condition=':= dimension.generator.class = "ChunkProviderMyst"'>
  812.                 <Biome name='MushroomIsland.*' weight=':= _C_MushroomRate - 1'/>
  813.         </IfCondition>
  814.             <Setting name='CloudSizeNoise' avg='0.2'/>
  815.             <Setting name='CloudHeight' avg=':= 32/64 * dimension.groundLevel'
  816.                                        range=':= 16/64 * dimension.groundLevel' type='normal'/>
  817.             <Setting name='CloudInclination' avg='0' range='0.35'/>
  818.             <Setting name='OreRadiusMult' avg='1' range='0.1'/>
  819.             <Setting name='OreDensity' avg='0.1'/>
  820.             <Setting name='OreVolumeNoiseCutoff' avg='0.5'/>
  821.             <Setting name='ParentRangeLimit' avg='32' range='32' type='normal'/>
  822.             <Replaces block='stone'/>
  823.             <Biome name='.*'/>
  824.         </CloudPreset>
  825.        
  826.     </ConfigSection>
  827.    
  828.     <!--****************************   Standard Ores   *************************************
  829.    *   Import the standard ores module, containing options, presets, and distributions
  830.    *   for coal, iron, gold, redstone, diamond, lapis lazuli, and emeralds.
  831.    *************************************************************************************-->
  832.     <OptionalImport file='CustomOreGen Standard Modules/MinecraftOres.xml'/>
  833.    
  834.     <!--*******************************   Mod Ores   ***************************************
  835.    *   Import modules for supported mods if they are present.
  836.    *************************************************************************************-->
  837.     <OptionalImport file='CustomOreGen Standard Modules/IndustrialCraft2.xml'/>
  838.     <OptionalImport file='CustomOreGen Standard Modules/Forestry.xml'/>
  839.     <OptionalImport file='CustomOreGen Standard Modules/Redpower2.xml'/>
  840.  
  841.     <!--************************   User-added Distributions   ******************************
  842.    *   If you add your own distributions, you can put them here.
  843.    *   You can also put them in a seperate file in the "CustomOreGen Extra Modules" folder.
  844.    *************************************************************************************-->
  845.     <OptionalImport file='CustomOreGen Extra Modules/*.xml'/>
  846.    
  847.     <!--*************************   Testing & Debugging   **********************************
  848.    *   I use this section for quick-and-dirty experiments
  849.    *************************************************************************************-->
  850.     <IfChoice name='debugDist' value='true'>
  851.        
  852.         <!-- Experimental distributions should go here -->
  853.        
  854.     </IfChoice>
  855.    
  856. </Config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement