Sandwitches

Custom Ore Gen - Applied Energistics

Oct 13th, 2013
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.03 KB | None | 0 0
  1. <!--*********************  CustomOreGen Applied Energistics Ores Module ******************************
  2. *
  3. *   This file contains Presets, Options, and Distributions for the 1 Applied Energistics ore:
  4. *       Certus Quartz.
  5. *
  6. ***********************************************************************************************-->
  7. <IfModInstalled name="AppliedEnergistics-Core">
  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='groupAppliedEnergistics-Core' displayName='Applied Energistics' displayState='shown'>
  17.             <Description>
  18.                 Distribution options for the Applied Energistics ore.
  19.             </Description>
  20.         </OptionDisplayGroup>
  21.        
  22.         <!--*******************   Certus Quartz   *********************-->
  23.         <ConfigSection>
  24.            
  25.             <OptionChoice name='AppEnCertusQuartzDist' displayState='shown' displayGroup='groupAppliedEnergistics-Core'>
  26.                 <Description> Controls how Applied Energistics Certus Quartz is generated </Description>
  27.                 <DisplayName>Certus Quartz Type</DisplayName>
  28.                 <Default>:= if(blockExists("4061"),"layeredVeins","disabled")</Default>
  29.                 <Choice value='layeredVeins' displayValue='Veins'>
  30.                     <Description>
  31.                         Groups of long narrow veins found about one third of the way down to bedrock.  Can be found in equal distribution everywhere.  
  32.                     </Description>
  33.                 </Choice>
  34.                 <Choice value='strategicClouds' displayValue='Clouds'>
  35.                     <Description>
  36.                         Rare, sparsely populated clouds of ore extending over several chunks.  Can be found in equal distribution everywhere.
  37.                     </Description>
  38.                 </Choice>
  39.                 <Choice value='vanillaStdGen' displayValue='Clusters'>
  40.                     <Description>
  41.                         Small clusters of ore scattered about one third of the way down to bedrock.  This is an equivalent to the normal Certus Quartz distribution.
  42.                     </Description>
  43.                 </Choice>
  44.                 <Choice value='none' displayValue='None' description='No Certus Quartz is generated at all.'/>
  45.                 <Choice value='disabled' displayValue='Disabled' description='No Certus Quartz is generated, and no Certus Quartz symbols are available in Mystcraft ages.'/>
  46.             </OptionChoice>
  47.            
  48.             <OptionNumeric name='AppEnCertusQuartzFreq' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupAppliedEnergistics-Core'>
  49.                 <Description> Frequency multiplier for Applied Energistics Certus Quartz distributions </Description>
  50.                 <DisplayName>AppEnCertusQuartzFreq.</DisplayName>
  51.             </OptionNumeric>
  52.            
  53.             <OptionNumeric name='AppEnCertusQuartzSize' default='1'  min='0' max='5' displayState='hidden' displayGroup='groupAppliedEnergistics-Core'>
  54.                 <Description> Size multiplier for Applied Energistics Certus Quartz distributions </Description>
  55.                 <DisplayName>AppEnCertusQuartzSize</DisplayName>
  56.             </OptionNumeric>
  57.            
  58.             <IfCondition condition=':= AppEnCertusQuartzDist != "disabled"'>
  59.                 <MystcraftSymbol name='AppEnCertusQuartzClusters' displayName='Certus Quartz Clusters'/>
  60.                 <MystcraftSymbol name='AppEnCertusQuartzVeins' displayName='Certus Quartz Veins'/>
  61.                 <MystcraftSymbol name='AppEnCertusQuartzClouds' displayName='Certus Quartz Clouds'>
  62.                     <Instability>:= 50 * (age.AppEnCertusQuartzClusters + age.AppEnCertusQuartzVeins + age.AppEnCertusQuartzClouds - 1)^3</Instability>
  63.                 </MystcraftSymbol>
  64.             </IfCondition>
  65.        
  66.         </ConfigSection>          
  67.    
  68.     <!--*****************************   Distributions   *************************************
  69.    *  
  70.    *   Below are the actual distributions for the overworld and mystcraft ages.
  71.    *
  72.    *************************************************************************************-->
  73.     <IfCondition condition=':= dimension.generator = "RandomLevelSource"'>
  74.        
  75.         <Substitute name='AppliedEnergistics-CoreSubstitute' block='stone'>
  76.             <Description>
  77.                 Replace AppliedEnergistics-Core-generated ore clusters with stone.  
  78.             </Description>
  79.             <Comment>  
  80.                 The global option deferredPopulationRange must be large enough to catch all ore clusters (>= 32).
  81.             </Comment>
  82.             <Replaces block='4061'/>
  83.         </Substitute>
  84.        
  85.         <!--*******************   Certus Quartz   *********************-->            
  86.         <ConfigSection>
  87.        
  88.             <IfCondition condition=':= if(age, age.AppEnCertusQuartzClusters > 0, AppEnCertusQuartzDist = "vanillaStdGen")'>
  89.                 <StandardGen name='AppEnCertusQuartzStandard' block='4061' inherits='PresetStandardGen'>
  90.                     <Description> Equivalent to regular AppEn Certus Quartz distribution </Description>
  91.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  92.                     <WireframeColor>0x40773310</WireframeColor>
  93.                     <Setting name='Size' avg=':= 1.25 * AppEnCertusQuartzSize * _default_'/>
  94.                     <Setting name='Frequency' avg=':= 0.75 * AppEnCertusQuartzFreq * if(age,age.AppEnCertusQuartzClusters,1) * _default_'
  95.                                                range=':= 4 * AppEnCertusQuartzFreq * if(age,age.AppEnCertusQuartzClusters,1)'/>
  96.                     <Setting name='Height' avg=':= 40/64 * dimension.groundLevel' range=':= 30/64 * dimension.groundLevel' type='normal'/>
  97.                 </StandardGen>
  98.             </IfCondition>  
  99.            
  100.             <IfCondition condition=':= if(age, age.AppEnCertusQuartzVeins > 0, AppEnCertusQuartzDist = "layeredVeins")'>            
  101.                 <Veins name='AppEnCertusQuartzVeins' block='4061' inherits='PresetLayeredVeins'>
  102.                     <Description>  Average veins in the 30-50 range. </Description>
  103.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  104.                     <WireframeColor>0x40773310</WireframeColor>
  105.                     <Setting name='MotherlodeFrequency' avg=':= 2 * AppEnCertusQuartzFreq * if(age,age.AppEnCertusQuartzVeins,1) * _default_'/>
  106.                     <Setting name='MotherlodeSize' avg=':= AppEnCertusQuartzSize * _default_' range=':= AppEnCertusQuartzSize * _default_'/>
  107.                     <Setting name='MotherlodeHeight' avg=':= 40/64 * dimension.groundLevel' range=':= 12/64 * dimension.groundLevel' type='normal'/>
  108.                     <Setting name='BranchFrequency' avg=':= 0.6 * _default_' range=':= 2 * _default_'/>
  109.                     <Setting name='BranchLength' avg=':= 1.2 * _default_'/>
  110.                     <Setting name='BranchHeightLimit' avg='12'/>
  111.                     <Setting name='SegmentRadius' avg=':= AppEnCertusQuartzSize * _default_' range=':= AppEnCertusQuartzSize * _default_'/>
  112.                 </Veins>                
  113.             </IfCondition>    
  114.            
  115.             <IfCondition condition=':= if(age, age.AppEnCertusQuartzClouds > 0, AppEnCertusQuartzDist = "strategicClouds")'>
  116.                 <Cloud name='AppEnCertusQuartzCloud' block='4061' inherits='PresetStrategicCloud'>
  117.                     <Description>  
  118.                         Diffuse Certus Quartz cloud surrounded by single-block "hint" veins.
  119.                     </Description>
  120.                     <DrawWireframe>:=drawWireframes</DrawWireframe>
  121.                     <WireframeColor>0x40773310</WireframeColor>
  122.                     <Setting name='DistributionFrequency' avg=':= 3.5 * AppEnCertusQuartzFreq * if(age,age.AppEnCertusQuartzClouds,1) * _default_'/>
  123.                     <Setting name='CloudRadius' avg=':= 1.1 * AppEnCertusQuartzSize * _default_' range=':= AppEnCertusQuartzSize * _default_'/>
  124.                     <Setting name='CloudThickness' avg=':= 1.1 * AppEnCertusQuartzSize * _default_' range=':= AppEnCertusQuartzSize * _default_'/>
  125.                     <Veins name='AppEnCertusQuartzHintVeins' block='4061' inherits='PresetHintVeins'>
  126.                         <DrawWireframe>:=drawWireframes</DrawWireframe>
  127.                         <WireframeColor>0x40773300</WireframeColor>
  128.                         <Setting name='MotherlodeFrequency' avg=':= _default_' range=':= _default_'/>  
  129.                         <Setting name='MotherlodeRangeLimit' avg=':= AppEnCertusQuartzSize * _default_' range=':= AppEnCertusQuartzSize * _default_'/>              
  130.                     </Veins>
  131.                 </Cloud>
  132.             </IfCondition>  
  133.            
  134.         </ConfigSection>
  135.            
  136. </IfModInstalled>
Advertisement
Add Comment
Please, Sign In to add comment