Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ConfigSection>
- <Comment> You will notice several instances of a structure that looks like:
- (age.coalClusters + age.coalVeins + age.coalClouds +
- age.coalHugeVeins + age.coalSmallClouds +
- age.coalVikingPipes + age.coalJRoushPipes +
- age.coalNone)>0,
- The idea here is simple. The first, and last, line are
- "standard". They never need to be edited. The middle line
- contains all local distributions, separated by plus's.
- It may be empty if you have no local distributions.
- Other than defining new symbols on a single line, and
- adding them to these constructs, no other editing should
- be needed.
- Gaah, so it turns out that there will be a need to specify
- distributions for the "random choice" case. Frumble ...
- </Comment>
- <!-- Vanilla style -->
- <MystcraftSymbol name='coalClusters' displayName='Coal Clusters'/>
- <!-- Preset sparseVeins for coal, layeredVeins for iron, lapis, and gold
- plus vertical veins for redstone.
- 145v2a uses small deposits for diamonds and emeralds.
- 145v3 uses lava tubes for diamonds, and solid trap tubes for emeralds -->
- <MystcraftSymbol name='coalVeins' displayName='Coal Veins (normal)'/>
- <!-- Preset huge veins -->
- <!-- No instantiation for these yet -->
- <MystcraftSymbol name='coalHugeVeins' displayName='Coal Veins (strategic)' weight='0' />
- <!-- We don't even have presets for smaller cloud distributions yet. Veins come in two types,
- smaller and dense, larger and diffuse, but the equivalent "smaller, denser clouds"
- are not defined. Foo. -->
- <MystcraftSymbol name='coalSmallClouds' displayName='Coal Clouds (normal)' weight='0'/>
- <!-- Normal Preset StrategicClouds -->
- <MystcraftSymbol name='coalClouds' displayName='Coal Clouds (strategic)'/>
- <!-- Anonymous Viking's hollow pipes with fish in the metals and gems -->
- <!-- Instantiated, but "off" until everything is merged. -->
- <MystcraftSymbol name='coalVikingPipes' displayName='Coal Pipes (hollow)' weight='0' />
- <!-- JRoush's solid pipes, currently only instantiated for emeralds -->
- <MystcraftSymbol name='coalJRoushPipes' displayName='Coal Pipes (solid)' weight='0' />
- <!-- Important: AV does not have a hollow pipe instantiated for Emerald.
- JRoush only has a solid pipe instantiated for Emerald.
- Both have different types of Lava/diamond pipes -- AV's goes to the surface (more lava),
- JRoush's is smaller and deeper. So "pefect symmetry" is not yet available.
- A "pipe" world would currently combine these different types of pipes. -->
- <!-- None, gain stablity -->
- <MystcraftSymbol name='coalNone' displayName='No Coal'
- <!-- WARNING: Naming issue. I am keeping the same names as JRoush used.
- 'coalVeins' is normal (sparse for coal, dense for the rest),
- 'coalClouds' is strategic (giant, diffuse). Equally,
- 'coalSmallClouds' is (undefined) normal (dense), and
- 'coalHugeVeins' is (uninstantiated) giant, diffuse multiplayer veins. -->
- <Instability>:= if (
- <!-- Test for instability and conflicts -->
- <!-- three basics -->
- (age.coalClusters + age.coalVeins + age.coalClouds +
- <!-- two not yets (uninstantiated, undefined) -->
- age.coalHugeVeins + age.coalSmallClouds +
- <!-- two types of pipes -->
- age.coalVikingPipes + age.coalJRoushPipes +
- <!-- and nothing -->
- age.coalNone)>0,
- <!-- At least one symbol was defined, determine if conflict -->
- (if (
- ((age.coalNone > 0) & (
- (age.coalClusters + age.coalVeins + age.coalClouds +
- age.coalHugeVeins + age.coalSmallClouds +
- age.coalVikingPipes + age.coalJRoushPipes +
- age.coalNone)>age.coalNone)),
- <!-- We have a conflict; "none" and something else -->
- <!-- Double the normal instability for
- the specified ores -->
- (100 * (
- (age.coalClusters + age.coalVeins + age.coalClouds +
- age.coalHugeVeins + age.coalSmallClouds +
- age.coalVikingPipes + age.coalJRoushPipes +
- age.coalNone) - age.coalNone - 1) ^3),
- <!-- Else clause; no conflict. May have none, or something.
- Normal instability -->
- (50 * (
- (age.coalClusters + age.coalVeins + age.coalClouds +
- age.coalHugeVeins + age.coalSmallClouds +
- age.coalVikingPipes + age.coalJRoushPipes +
- age.coalNone) - age.coalNone - 1) ^3)
- )
- ),
- <!-- Outer else clause, no symbols defined.
- One will be used at random (logic in standard ores) -->
- 5) <!-- 5 penalty for unspecified -->
- </Instability>
- </MystcraftSymbol>
- <MystcraftSymbol name='ironClusters' displayName='Iron Clusters'/>
- <MystcraftSymbol name='ironVeins' displayName='Iron Veins (normal)'/>
- <MystcraftSymbol name='ironHugeVeins' displayName='Iron Veins (strategic)' weight='0' />
- <MystcraftSymbol name='ironSmallClouds' displayName='Iron Clouds (normal)' weight='0'/>
- <MystcraftSymbol name='ironClouds' displayName='Iron Clouds (strategic)'/>
- <MystcraftSymbol name='ironVikingPipes' displayName='Iron Pipes (hollow)' weight='0' />
- <MystcraftSymbol name='ironJRoushPipes' displayName='Iron Pipes (solid)' weight='0' />
- <MystcraftSymbol name='ironNone' displayName='No Iron'
- <Instability>:= if (
- (age.ironClusters + age.ironVeins + age.ironClouds +
- age.ironHugeVeins + age.ironSmallClouds +
- age.ironVikingPipes + age.ironJRoushPipes +
- age.ironNone)>0,
- <!-- At least one symbol was defined, determine if conflict -->
- (if (
- ((age.ironNone > 0) & (
- (age.ironClusters + age.ironVeins + age.ironClouds +
- age.ironHugeVeins + age.ironSmallClouds +
- age.ironVikingPipes + age.ironJRoushPipes +
- age.ironNone)>age.ironNone)),
- <!-- We have a conflict; "none" and something else -->
- <!-- Double the normal instability for the specified ores -->
- (100 * (
- (age.ironClusters + age.ironVeins + age.ironClouds +
- age.ironHugeVeins + age.ironSmallClouds +
- age.ironVikingPipes + age.ironJRoushPipes +
- age.ironNone) - age.ironNone - 1) ^3),
- <!-- Else clause; no conflict. May have none, or something. Normal instability -->
- (50 * (
- (age.ironClusters + age.ironVeins + age.ironClouds +
- age.ironHugeVeins + age.ironSmallClouds +
- age.ironVikingPipes + age.ironJRoushPipes +
- age.ironNone) - age.ironNone - 1) ^3)
- )
- ),
- <!-- Outer else clause, no symbols defined.
- One will be used at random (logic in standard ores) -->
- 5) <!-- 5 penalty for unspecified -->
- </Instability>
- </MystcraftSymbol>
- </ConfigSection>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement