Advertisement
Pyromancer3D

BigReactors.xml

Jan 13th, 2015
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.78 KB | None | 0 0
  1. <!--*********************  CustomOreGen BigReactors Ores Module ******************************
  2. *
  3. *   This file contains Presets, Options, and Distributions for the 4 Big Reactors ores:
  4. *       Copper, Tin, Lead and Yellorite.
  5. *
  6. ***********************************************************************************************-->
  7. <IfModInstalled name="BigReactors">
  8.  
  9.     <!--***************************   Options + Symbols   ***********************************
  10.    *
  11.    *   Below are options and symbols for each ore, similar to those for the standard ores.
  12.    *
  13.    *************************************************************************************-->
  14.     <ConfigSection>                
  15.    
  16.         <OptionDisplayGroup name='groupBigReactors' displayName='Big Reactors' displayState='shown'>
  17.             <Description>
  18.                 Distribution options for the Big Reactors ores.
  19.             </Description>
  20.         </OptionDisplayGroup>
  21.        
  22.         <!--******************   Yellorite   *********************-->
  23.         <ConfigSection>
  24.        
  25.             <OptionChoice name='brYelloriteDist' displayState=':= if(blockExists("BigReactors:YelloriteOre"),"shown","hidden")' displayGroup='groupBigReactors'>
  26.                 <Description> Controls how Big Reactors Yellorite is generated </Description>
  27.                 <DisplayName>BR Yellorite Type</DisplayName>
  28.                 <Default>:= if(blockExists("BigReactors:YelloriteOre"),"layeredVeins","disabled")</Default>
  29.                 <Choice value='layeredVeins' displayValue='Veins'>
  30.                     <Description>
  31.                         Isolated veins found about two thirds of the way down to bedrock and only sparsely filled with ore.  Unusually common in devestated wastelands.
  32.                     </Description>
  33.                 </Choice>
  34.                 <Choice value='strategicClouds' displayValue='Clouds'>
  35.                     <Description>
  36.                         Rare, sparsely populated clouds of ore extending over one or two chunks.  Can be found anywhere, but most common in devestated wastelands.
  37.                     </Description>
  38.                 </Choice>
  39.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  40.                     <Description>
  41.                         Small evenly scattered clusters of ore.  This is the default Big Reactors Yellorite generation.
  42.                     </Description>
  43.                 </Choice>
  44.                 <Choice value='none' displayValue='None' description='No Yellorite is generated at all.'/>
  45.                 <Choice value='disabled' displayValue='Disabled' description='No Yellorite is generated, and no Yellorite symbols are available in Mystcraft ages.'/>
  46.             </OptionChoice>
  47.            
  48.             <OptionNumeric name='brYelloriteFreq' default='1'  min='0' max='5' displayState=':= if(?advOptions &amp; brYelloriteDist != "disabled","shown","hidden")' displayGroup='groupBigReactors'>
  49.                 <Description> Frequency multiplier for Big Reactors Yellorite distributions </Description>
  50.                 <DisplayName>Big Reactors Yellorite Freq.</DisplayName>
  51.             </OptionNumeric>
  52.            
  53.             <OptionNumeric name='brYelloriteSize' default='1'  min='0' max='5' displayState=':= if(?advOptions &amp; brYelloriteDist != "disabled","shown","hidden")' displayGroup='groupBigReactors'>
  54.                 <Description> Size multiplier for Big Reactors Yellorite distributions </Description>
  55.                 <DisplayName>Big Reactors Yellorite Size</DisplayName>
  56.             </OptionNumeric>
  57.            
  58.             <IfCondition condition=':= brYelloriteDist != "disabled"'>
  59.                 <MystcraftSymbol name='brYelloriteClusters' displayName='Yellorite Clusters'/>
  60.                 <MystcraftSymbol name='brYelloriteVeins' displayName='Yellorite Veins'/>
  61.                 <MystcraftSymbol name='brYelloriteClouds' displayName='Yellorite Clouds'>
  62.                     <Instability>:= 50 * (age.brYelloriteClusters + age.brYelloriteVeins + age.brYelloriteClouds - 1)^3</Instability>
  63.                 </MystcraftSymbol>
  64.             </IfCondition>
  65.            
  66.         </ConfigSection>          
  67.  
  68.    
  69.     <!--*****************************   Distributions   *************************************
  70.    *  
  71.    *   Below are the actual distributions for the overworld and mystcraft ages.
  72.    *
  73.    *************************************************************************************-->
  74.     <IfCondition condition=':= ?COGActive'>
  75.        
  76.         <Substitute name='BigReactorsSubstitute' block='minecraft:stone'>
  77.             <Description>
  78.                 Replace BigReactors-generated ore clusters with stone.  
  79.             </Description>
  80.             <Comment>  
  81.                 The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
  82.             </Comment>
  83.             <Replaces block='BigReactors:YelloriteOre'/>
  84.         </Substitute>
  85.        
  86.         <!--******************   Yellorite   *********************-->            
  87.         <ConfigSection>
  88.        
  89.             <IfCondition condition=':= if(age, age.brYelloriteClusters > 0, brYelloriteDist = "vanillaStdGen")'>
  90.                 <StandardGen name='brYelloriteStandard' block='BigReactors:YelloriteOre' inherits='PresetStandardGen'>
  91.                     <Description> Equivalent to regular Big Reactors Yellorite distribution </Description>
  92.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  93.                     <WireframeColor>0xF0FFFF00</WireframeColor>
  94.                     <Setting name='Size' avg=':= 0.375 * brYelloriteSize * _default_'/>
  95.                     <Setting name='Frequency' avg=':= 1.0 * brYelloriteFreq * if(age,age.brYelloriteClusters,1) * _default_'
  96.                                               range=':= 4.5 * brYelloriteFreq * if(age,age.brYelloriteClusters,1)'/>
  97.                     <Setting name='Height' avg=':= 32/64 * dimension.groundLevel' range=':= 32/64 * dimension.groundLevel' type='uniform'/>
  98.                 </StandardGen>
  99.             </IfCondition>  
  100.            
  101.             <IfCondition condition=':= if(age, age.brYelloriteVeins > 0, brYelloriteDist = "layeredVeins")'>    
  102.                 <Veins name='brYelloriteVeins' block='BigReactors:YelloriteOre' inherits='PresetSparseVeins'>    
  103.                     <Description>
  104.                         Sparse veins in the 4-24 range.
  105.                     </Description>
  106.                     <DrawWireframe>:=false</DrawWireframe>
  107.                     <WireframeColor>0x40FFFF00</WireframeColor>
  108.                     <Setting name='MotherlodeFrequency' avg=':= 3.0 * brYelloriteFreq * if(age,age.brYelloriteVeins,1) * _default_'/>
  109.                     <Setting name='MotherlodeSize' avg=':= 0.5 * brYelloriteSize * _default_' range=':= 0.6 * brYelloriteSize * _default_'/>
  110.                     <Setting name='MotherlodeHeight' avg=':= 14/64 * dimension.groundLevel' range=':= 10/64 * dimension.groundLevel'/>
  111.                     <Setting name='BranchLength' avg=':= 0.75 * _default_' range=':= 0.75 * _default_'/>
  112.                     <Setting name='BranchInclination' avg='0' range='0.35'/>
  113.                     <Setting name='BranchHeightLimit' avg='12'/>
  114.                     <Setting name='SegmentRadius' avg=':= 0.6 * brYelloriteSize * _default_' range=':= 0.6 * brYelloriteSize * _default_'/>
  115.                     <Setting name='OreDensity' avg=':= 0.5 * _default_' range=':= _default_'/>
  116.                 </Veins>
  117.                 <Veins name='brYelloriteVeinsWasteland' inherits='brYelloriteVeins'>
  118.                     <Description>  This roughly triples the chance of finding Yellorite in an wasteland. </Description>      
  119.                     <Setting name='MotherlodeFrequency' avg=':= 2 * _default_'/>
  120.                     <Setting name='MotherlodeHeight' avg=':= _default_' range=':= 2 * _default_'/>
  121.                     <Setting name='BranchHeightLimit' avg=':= 2 * _default_'/>
  122.                     <BiomeType name='Wasteland'/>
  123.                 </Veins>
  124.             </IfCondition>    
  125.            
  126.             <IfCondition condition=':= if(age, age.brYelloriteClouds > 0, brYelloriteDist = "strategicClouds")'>
  127.                 <Cloud name='brYelloriteCloud' block='BigReactors:YelloriteOre' inherits='PresetStrategicCloud'>
  128.                     <Description>  
  129.                         Diffuse Yellorite cloud surrounded by single-block "hint" veins, found mostly in wasteland biomes.
  130.                     </Description>
  131.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  132.                     <WireframeColor>0x40FFFF00</WireframeColor>
  133.                     <Setting name='DistributionFrequency' avg=':= 4 * brYelloriteFreq * if(age,age.brYelloriteClouds,1) * _default_'/>
  134.                     <Setting name='CloudRadius' avg=':= 0.5 * brYelloriteSize * _default_' range=':= 0.5 * brYelloriteSize * _default_'/>
  135.                     <Setting name='CloudThickness' avg=':= 0.5 * brYelloriteSize * _default_' range=':= 0.5 * brYelloriteSize * _default_'/>                
  136.                     <Setting name='OreVolumeNoiseCutoff' avg='0'/>
  137.                     <Setting name='OreDensity' avg=':= 1.1 * _default_'/>
  138.                     <Biome name='.*' weight='0.2'/>
  139.                     <BiomeType name='Wasteland'/>
  140.                     <Veins name='brYelloriteHintVeins' block='BigReactors:YelloriteOre' inherits='PresetHintVeins'>
  141.                         <DrawWireframe>:=drawWireframes</DrawWireframe>
  142.                         <WireframeColor>0x40FFFF00</WireframeColor>
  143.                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>  
  144.                         <Setting name='MotherlodeRangeLimit' avg=':= 0.5 * brYelloriteSize * _default_' range=':= 0.5 * brYelloriteSize * _default_'/>              
  145.                     </Veins>
  146.                 </Cloud>
  147.             </IfCondition>  
  148.            
  149.         </ConfigSection>
  150.  
  151.  
  152.     </IfCondition>
  153.     </ConfigSection>
  154.    
  155. </IfModInstalled>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement