View difference between Paste ID: v8QpgJGT and LnU6kPSC
SHOW: | | - or go back to the newest paste.
1
<ConfigSection>
2
<Comment> You will notice several instances of a structure that looks like:
3
4
                    (age.coalClusters + age.coalVeins + age.coalClouds +
5
                        age.coalHugeVeins + age.coalSmallClouds + 
6
                        age.coalVikingPipes + age.coalJRoushPipes +
7
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
8
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
9
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
10-
          "standard". They never need to be edited. The middle line
10+
                        age.worldVikingPipes + age.worldVikingFishyPipes +
11
                        age.coalNone)>0,
12
13
          The idea here is simple. The first, and last, line are
14
          "standard". They never need to be edited. The middle lines
15
          contains all local distributions, separated by plus's.
16
          It may be empty if you have no local distributions.
17
18
          Other than defining new symbols on a single line, and
19
          adding them to these constructs, no other editing should
20
          be needed.
21
22
          Gaah, so it turns out that there will be a need to specify
23-
    <MystcraftSymbol name='coalClusters' displayName='Coal Clusters'/>
23+
24
</Comment>
25
26
<Comment>
27
    So this style is going to make for messy, messy books. The next idea: symbols for
28-
    <MystcraftSymbol name='coalVeins' displayName='Coal Veins (normal)'/>
28+
    world ore style.
29
30
    One symbol for "all vanilla style".
31
    One symbol for "all layered veins"
32
    One symbol for "all strategic clouds.
33
34
    (one for "all strategic veins", one for "all smaller clouds")
35
36
    One symbol for "All pipes"
37-
    <MystcraftSymbol name='coalClouds' displayName='Coal Clouds (strategic)'/>
37+
    One symbol for "All hollow pipes"
38
    One symbol for "All solid pipes"
39
40
    That's 7 symbols per item for item specific types, 8 symbols for "constant type
41
    each world" -- the difference being three types of world pipes since one valid type
42
    of world pipe is a mix. Heck, there's a 9th world type -- "v3 vein and pipe". So
43
    that's 16 symbols per ore, plus a 17th for dwarf fortress lava, plus an 18th for
44
    my own magma pool lava tubes ... this is doable, but I'd want to reserve at least
45
    24 "nextRandom" calls per ore type.
46
47
    Heck, should the hollow tubes for coal, Lapis, and redstone have fish or not? The
48
    others are metals or gems, and we can say fish like them (they also have value).
49-
    <MystcraftSymbol name='coalNone' displayName='No Coal'
49+
    But blue dye? "Black dye"/burnt logs? Redstone?
50
    Maybe different types of these hollow tubes -- one with fish, perhaps some iron as well?
51
</Comment>
52
53
<Comment>
54
This is just a heavily commented copy. It's actually harder for me to work with, but it's
55
here for readability.
56
57
        <!-- Vanilla style -->
58
    <MystcraftSymbol name='worldVanillaClusters' displayName='Ores/Gems All Clusters' weight='1' />
59
        <!-- Preset sparseVeins for coal, layeredVeins for iron, lapis, and gold
60
                    plus vertical veins for redstone.
61
             145v2a uses small deposits for diamonds and emeralds.
62
             145v3 uses lava tubes for diamonds, and solid trap tubes for emeralds -->
63
    <MystcraftSymbol name='worldV2Mix' displayName='Ores mixed veins, gem clusters' weight='1' />
64
        <!-- Preset huge veins -->
65
        <!-- No instantiation for these yet -->
66
    <MystcraftSymbol name='worldHugeVeins' displayName='Ores/Gems all huge sparse veins' weight='1' />
67
        <!-- We don't even have presets for smaller cloud distributions yet. Veins come in two types,
68
             smaller and dense, larger and diffuse, but the equivalent "smaller, denser clouds"
69
             are not defined. Foo. -->
70
    <MystcraftSymbol name='worldSmallClouds' displayName='Ores/Gems all scattered small clouds' weight='0'/>
71
        <!-- Normal Preset StrategicClouds -->
72
    <MystcraftSymbol name='worldHugeClouds' displayName='Ores/Gems all rare, large sparse clouds' weight='1' />
73
        <!-- Anonymous Viking's hollow pipes with fish in the metals and gems -->
74
        <!-- Instantiated, but "off" until everything is merged. -->
75
    <MystcraftSymbol name='worldVikingPipes' displayName='Ores/Gems all hollow pipes' weight='0' />
76
        <!-- Variant of AV's pipes with fish everywhere ... including the non-metal/non-gems (coal, red, blue) -->
77
    <MystcraftSymbol name='worldVikingFishyPipes' displayName='Ores/Gems all richer hollow pipes' weight='0' />
78
        <!-- JRoush's solid pipes, currently only instantiated for emeralds -->
79
    <MystcraftSymbol name='worldJRoushPipes' displayName='Ores/Gems all solid pipes' weight='0' />
80
        <!-- Important: AV does not have a hollow pipe instantiated for Emerald.
81
             JRoush only has a solid pipe instantiated for Emerald.
82
             Both have different types of Lava/diamond pipes -- AV's goes to the surface (more lava),
83
             JRoush's is smaller and deeper. So "pefect symmetry" is not yet available.
84
             A "pipe" world would currently combine these different types of pipes. -->
85
        <!-- We have the "mixed" pipes, using both defined types -->
86
    <MystcraftSymbol name='worldMixedPipesHollowOreSolidGem' displayName='Ores all in hollow pipes,
87
                gems all in solid pipes' weight='1' />
88
89
</Comment>
90
91
<!-- World types have weight 1; specifics have weight 0.5. -->
92
<!-- Those that are "not yet ready" have weight 0. -->
93
<!-- Weights are duplicated (manually) in the ore distribution file, be sure to check there as well -->
94
95
<!-- For instability: A "world style" is regarded as inherently more "stable" than specifying
96
    each type separately. The idea is that consistency, simplicity is more "reasonable", as
97
    opposed to overspecifying too many details, which is likely to have some unexpected
98
    interactions. As such, each "singleton" world type is worth 30 points of stablity, and
99-
    <MystcraftSymbol name='ironClusters' displayName='Iron Clusters'/>
99+
    prevents auto selection. (As opposed to 30-35 points of instability if nothing is specified
100-
    <MystcraftSymbol name='ironVeins' displayName='Iron Veins (normal)'/>
100+
    and you have auto selection)
101-
    <MystcraftSymbol name='ironHugeVeins' displayName='Iron Veins (strategic)' weight='0' />
101+
102-
    <MystcraftSymbol name='ironSmallClouds' displayName='Iron Clouds (normal)' weight='0'/>
102+
    Note that if you have two worlds types, that's two of each ore -- which is 350 points ... -->
103-
    <MystcraftSymbol name='ironClouds' displayName='Iron Clouds (strategic)'/>
103+
104-
    <MystcraftSymbol name='ironVikingPipes' displayName='Iron Pipes (hollow)' weight='0' />
104+
    <MystcraftSymbol name='worldVanillaClusters' displayName='Ores/Gems All Clusters' weight='1'
105-
    <MystcraftSymbol name='ironJRoushPipes' displayName='Iron Pipes (solid)' weight='0' />
105+
            instability=':= if (1 == age.worldVanillaClusters, -30, 0)' />
106-
    <MystcraftSymbol name='ironNone' displayName='No Iron'
106+
    <MystcraftSymbol name='worldV2Mix' displayName='Ores mixed veins, gem clusters' weight='1'
107
            instability=':= if (1 == age.worldV2Mix', -30, 0)' />
108
    <MystcraftSymbol name='worldV3PureVein' displayName='Ores/Gems all veins, no clusters' weight='1'
109
            instability=':= if (1 == age.worldV3PureVein', -30, 0)' />
110
    <MystcraftSymbol name='worldHugeVeins' displayName='Ores/Gems all huge sparse veins' weight='0'
111
            instability=':= if (1 == age.worldHugeVeins', -30, 0)' />
112
    <MystcraftSymbol name='worldSmallClouds' displayName='Ores/Gems all scattered small clouds' weight='0'
113
            instability=':= if (1 == age.worldSmallClouds', -30, 0)' />
114
    <MystcraftSymbol name='worldHugeClouds' displayName='Ores/Gems all rare, large sparse clouds' weight='1'
115
            instability=':= if (1 == age.worldHugeClouds', -30, 0)' />
116
    <MystcraftSymbol name='worldMixedPipesHollowOreSolidGem'
117
                        displayName='Ores all in hollow pipes, gems all in solid pipes' weight='1'
118
            instability=':= if (1 == age.worldMixedPipresHollowOreSolidGem', -30, 0)' />
119
    <MystcraftSymbol name='worldJRoushPipes' displayName='Ores/Gems all solid pipes' weight='0'
120
            instability=':= if (1 == age.worldJRoushPipes', -30, 0)' />
121
    <MystcraftSymbol name='worldVikingPipes' displayName='Ores/Gems all hollow pipes' weight='0'
122
            instability=':= if (1 == age.worldVikingPipes', -30, 0)' />
123
        <!-- Remember, this last one will have metals and fish mixed in with the coal, redstone, and Lapis. -->
124
    <MystcraftSymbol name='worldVikingFishyPipes' displayName='Ores/Gems all richer hollow pipes' weight='0'
125
            instability=':= if (1 == age.worldVikingFishyPipes', -30, 0)' />
126
127
<!-- 10 world types. Along with 7 per-ore deposit types. Plus "none". That's 18 world.nextRandom
128
    checks for each type of ore or gem, before any special cases (At least 2 for diamond/lava
129
    specials). Suddenly, even 24 seems low ... going to use 26. -->
130
131
<!-- Individual ore distributions -->
132
133
<Comment> Again, a heavily commented copy, for understanding.
134
Actual instantiations come from a template, not from this.
135
136
        <!-- Vanilla style -->
137
    <MystcraftSymbol name='coalClusters' displayName='Coal Clusters' weight='0.5' />
138
        <!-- Preset sparseVeins for coal, layeredVeins for iron, lapis, and gold
139
                    plus vertical veins for redstone.
140
             145v2a uses small deposits for diamonds and emeralds.
141
             145v3 uses lava tubes for diamonds, and solid trap tubes for emeralds -->
142
    <MystcraftSymbol name='coalVeins' displayName='Coal Veins (normal)' weight='0.5' />
143
        <!-- Preset huge veins -->
144
        <!-- No instantiation for these yet -->
145
    <MystcraftSymbol name='coalHugeVeins' displayName='Coal Veins (strategic)' weight='0' />
146
        <!-- We don't even have presets for smaller cloud distributions yet. Veins come in two types,
147
             smaller and dense, larger and diffuse, but the equivalent "smaller, denser clouds"
148
             are not defined. Foo. -->
149
    <MystcraftSymbol name='coalSmallClouds' displayName='Coal Clouds (normal)' weight='0'/>
150
        <!-- Normal Preset StrategicClouds -->
151
    <MystcraftSymbol name='coalClouds' displayName='Coal Clouds (strategic)' weight='0.5' />
152
        <!-- Anonymous Viking's hollow pipes with fish in the metals and gems -->
153
        <!-- Instantiated, but "off" until everything is merged. -->
154
    <MystcraftSymbol name='coalVikingPipes' displayName='Coal Pipes (hollow)' weight='0' />
155
        <!-- JRoush's solid pipes, currently only instantiated for emeralds -->
156
    <MystcraftSymbol name='coalJRoushPipes' displayName='Coal Pipes (solid)' weight='0' />
157
        <!-- Important: AV does not have a hollow pipe instantiated for Emerald.
158
             JRoush only has a solid pipe instantiated for Emerald.
159
             Both have different types of Lava/diamond pipes -- AV's goes to the surface (more lava),
160
             JRoush's is smaller and deeper. So "pefect symmetry" is not yet available.
161
             A "pipe" world would currently combine these different types of pipes. -->
162
        <!-- None, gain stablity -->
163
    <MystcraftSymbol name='coalNone' displayName='No Coal' weight='0.5' 
164
        <!-- WARNING: Naming issue. I am keeping the same names as JRoush used.
165
             'coalVeins' is normal (sparse for coal, dense for the rest),
166
             'coalClouds' is strategic (giant, diffuse). Equally,
167
             'coalSmallClouds' is (undefined) normal (dense), and
168
             'coalHugeVeins' is (uninstantiated) giant, diffuse multiplayer veins. -->
169
170
        <Instability>:= if (
171
            <!-- Test for instability and conflicts -->
172
                    <!-- three basics -->
173
                    (age.coalClusters + age.coalVeins + age.coalClouds +
174
                        <!-- two not yets (uninstantiated, undefined) -->
175
                        age.coalHugeVeins + age.coalSmallClouds + 
176
                        <!-- two types of pipes -->
177
                        age.coalVikingPipes + age.coalJRoushPipes +
178
                        <!-- World types -->
179
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
180
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
181
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
182
                        age.worldVikingPipes + age.worldVikingFishyPipes +
183
                        <!-- and nothing -->
184
                        age.coalNone)>0,
185
            <!-- At least one symbol was defined, determine if conflict -->
186
                (if (
187
                  ((age.coalNone > 0) &amp; (
188
                    (age.coalClusters + age.coalVeins + age.coalClouds +
189
                        age.coalHugeVeins + age.coalSmallClouds + 
190
                        age.coalVikingPipes + age.coalJRoushPipes +
191
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
192
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
193
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
194
                        age.worldVikingPipes + age.worldVikingFishyPipes +
195
                        age.coalNone)>age.coalNone)),
196
                <!-- We have a conflict; "none" and something else -->
197
                    <!-- Double the normal instability for
198
                                                the specified ores -->
199
                  (100 * (
200
                    (age.coalClusters + age.coalVeins + age.coalClouds +
201
                        age.coalHugeVeins + age.coalSmallClouds + 
202
                        age.coalVikingPipes + age.coalJRoushPipes +
203
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
204
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
205
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
206
                        age.worldVikingPipes + age.worldVikingFishyPipes +
207
                        age.coalNone) - age.coalNone - 1) ^3),
208
                <!-- Else clause; no conflict. May have none, or something.
209
                                                Normal instability -->
210
                  (50 * (
211
                    (age.coalClusters + age.coalVeins + age.coalClouds +
212
                        age.coalHugeVeins + age.coalSmallClouds + 
213
                        age.coalVikingPipes + age.coalJRoushPipes +
214
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
215
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
216
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
217
                        age.worldVikingPipes + age.worldVikingFishyPipes +
218
                        age.coalNone) - age.coalNone - 1) ^3)
219
                     )
220
                 ),
221
222
            <!-- Outer else clause, no symbols defined.
223
                One will be used at random (logic in standard ores) -->
224
                    5)        <!-- 5 penalty for unspecified -->
225
        </Instability>
226
227
    </MystcraftSymbol>
228
</Comment>
229
230
231
    <MystcraftSymbol name='coalClusters' displayName='Coal Clusters' weight='0.5' />
232
    <MystcraftSymbol name='coalVeins' displayName='Coal Veins (normal)' weight='0.5' />
233
    <MystcraftSymbol name='coalHugeVeins' displayName='Coal Veins (strategic)' weight='0.0' />
234
    <MystcraftSymbol name='coalSmallClouds' displayName='Coal Clouds (normal)' weight='0.0'/>
235
    <MystcraftSymbol name='coalClouds' displayName='Coal Clouds (strategic)' weight='0.5' />
236
    <MystcraftSymbol name='coalVikingPipes' displayName='Coal Pipes (hollow)' weight='0.5' />
237
    <MystcraftSymbol name='coalJRoushPipes' displayName='Coal Pipes (solid)' weight='0.5' />
238
    <MystcraftSymbol name='coalNone' displayName='No Coal' weight='0.5' 
239
        <Instability>:= if (
240
            <!-- test for instability -- "none" and something else. -->
241
                    (age.coalClusters + age.coalVeins + age.coalClouds +
242
                        age.coalHugeVeins + age.coalSmallClouds + 
243
                        age.coalVikingPipes + age.coalJRoushPipes +
244
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
245
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
246
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
247
                        age.worldVikingPipes + age.worldVikingFishyPipes +
248
                        age.coalNone)>0,
249
            <!-- At least one symbol was defined, determine if conflict -->
250
                (if (
251
                  ((age.coalNone > 0) &amp; (
252
                    (age.coalClusters + age.coalVeins + age.coalClouds +
253
                        age.coalHugeVeins + age.coalSmallClouds + 
254
                        age.coalVikingPipes + age.coalJRoushPipes +
255
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
256
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
257
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
258
                        age.worldVikingPipes + age.worldVikingFishyPipes +
259
                        age.coalNone)>age.coalNone)),
260
                <!-- We have a conflict; "none" and something else -->
261
                    <!-- Double the normal instability for the specified ores -->
262
                  (100 * (
263
                    (age.coalClusters + age.coalVeins + age.coalClouds +
264
                        age.coalHugeVeins + age.coalSmallClouds + 
265
                        age.coalVikingPipes + age.coalJRoushPipes +
266
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
267
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
268
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
269
                        age.worldVikingPipes + age.worldVikingFishyPipes +
270
                        age.coalNone) - age.coalNone - 1) ^3),
271
                <!-- Else clause; no conflict. May have none, or something. Normal instability -->
272
                  (50 * (
273
                    (age.coalClusters + age.coalVeins + age.coalClouds +
274
                        age.coalHugeVeins + age.coalSmallClouds + 
275
                        age.coalVikingPipes + age.coalJRoushPipes +
276
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
277
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
278
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
279
                        age.worldVikingPipes + age.worldVikingFishyPipes +
280
                        age.coalNone) - age.coalNone - 1) ^3)
281
                     )
282
                 ),
283
284
            <!-- Outer else clause, no symbols defined.
285
                One will be used at random (logic in standard ores) -->
286
                    5)        <!-- 5 penalty for unspecified -->
287
        </Instability>
288
289
    </MystcraftSymbol>
290
291
292
    <MystcraftSymbol name='ironClusters' displayName='Iron Clusters' weight='0.5' />
293
    <MystcraftSymbol name='ironVeins' displayName='Iron Veins (normal)' weight='0.5' />
294
    <MystcraftSymbol name='ironHugeVeins' displayName='Iron Veins (strategic)' weight='0.0' />
295
    <MystcraftSymbol name='ironSmallClouds' displayName='Iron Clouds (normal)' weight='0.0'/>
296
    <MystcraftSymbol name='ironClouds' displayName='Iron Clouds (strategic)' weight='0.5' />
297
    <MystcraftSymbol name='ironVikingPipes' displayName='Iron Pipes (hollow)' weight='0.5' />
298
    <MystcraftSymbol name='ironJRoushPipes' displayName='Iron Pipes (solid)' weight='0.5' />
299
    <MystcraftSymbol name='ironNone' displayName='No Iron' weight='0.5' 
300
        <Instability>:= if (
301
            <!-- test for instability -- "none" and something else. -->
302
                    (age.ironClusters + age.ironVeins + age.ironClouds +
303
                        age.ironHugeVeins + age.ironSmallClouds + 
304
                        age.ironVikingPipes + age.ironJRoushPipes +
305
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
306
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
307
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
308
                        age.worldVikingPipes + age.worldVikingFishyPipes +
309
                        age.ironNone)>0,
310
            <!-- At least one symbol was defined, determine if conflict -->
311
                (if (
312
                  ((age.ironNone > 0) &amp; (
313
                    (age.ironClusters + age.ironVeins + age.ironClouds +
314
                        age.ironHugeVeins + age.ironSmallClouds + 
315
                        age.ironVikingPipes + age.ironJRoushPipes +
316
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
317
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
318
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
319
                        age.worldVikingPipes + age.worldVikingFishyPipes +
320
                        age.ironNone)>age.ironNone)),
321
                <!-- We have a conflict; "none" and something else -->
322
                    <!-- Double the normal instability for the specified ores -->
323
                  (100 * (
324
                    (age.ironClusters + age.ironVeins + age.ironClouds +
325
                        age.ironHugeVeins + age.ironSmallClouds + 
326
                        age.ironVikingPipes + age.ironJRoushPipes +
327
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
328
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
329
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
330
                        age.worldVikingPipes + age.worldVikingFishyPipes +
331
                        age.ironNone) - age.ironNone - 1) ^3),
332
                <!-- Else clause; no conflict. May have none, or something. Normal instability -->
333
                  (50 * (
334
                    (age.ironClusters + age.ironVeins + age.ironClouds +
335
                        age.ironHugeVeins + age.ironSmallClouds + 
336
                        age.ironVikingPipes + age.ironJRoushPipes +
337
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
338
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
339
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
340
                        age.worldVikingPipes + age.worldVikingFishyPipes +
341
                        age.ironNone) - age.ironNone - 1) ^3)
342
                     )
343
                 ),
344
345
            <!-- Outer else clause, no symbols defined.
346
                One will be used at random (logic in standard ores) -->
347
                    5)        <!-- 5 penalty for unspecified -->
348
        </Instability>
349
350
    </MystcraftSymbol>
351
352
353
    <MystcraftSymbol name='redstoneClusters' displayName='Redstone Clusters' weight='0.5' />
354
    <MystcraftSymbol name='redstoneVeins' displayName='Redstone Veins (normal)' weight='0.5' />
355
    <MystcraftSymbol name='redstoneHugeVeins' displayName='Redstone Veins (strategic)' weight='0.0' />
356
    <MystcraftSymbol name='redstoneSmallClouds' displayName='Redstone Clouds (normal)' weight='0.0'/>
357
    <MystcraftSymbol name='redstoneClouds' displayName='Redstone Clouds (strategic)' weight='0.5' />
358
    <MystcraftSymbol name='redstoneVikingPipes' displayName='Redstone Pipes (hollow)' weight='0.5' />
359
    <MystcraftSymbol name='redstoneJRoushPipes' displayName='Redstone Pipes (solid)' weight='0.5' />
360
    <MystcraftSymbol name='redstoneNone' displayName='No Redstone' weight='0.5' 
361
        <Instability>:= if (
362
            <!-- test for instability -- "none" and something else. -->
363
                    (age.redstoneClusters + age.redstoneVeins + age.redstoneClouds +
364
                        age.redstoneHugeVeins + age.redstoneSmallClouds + 
365
                        age.redstoneVikingPipes + age.redstoneJRoushPipes +
366
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
367
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
368
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
369
                        age.worldVikingPipes + age.worldVikingFishyPipes +
370
                        age.redstoneNone)>0,
371
            <!-- At least one symbol was defined, determine if conflict -->
372
                (if (
373
                  ((age.redstoneNone > 0) &amp; (
374
                    (age.redstoneClusters + age.redstoneVeins + age.redstoneClouds +
375
                        age.redstoneHugeVeins + age.redstoneSmallClouds + 
376
                        age.redstoneVikingPipes + age.redstoneJRoushPipes +
377
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
378
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
379
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
380
                        age.worldVikingPipes + age.worldVikingFishyPipes +
381
                        age.redstoneNone)>age.redstoneNone)),
382
                <!-- We have a conflict; "none" and something else -->
383
                    <!-- Double the normal instability for the specified ores -->
384
                  (100 * (
385
                    (age.redstoneClusters + age.redstoneVeins + age.redstoneClouds +
386
                        age.redstoneHugeVeins + age.redstoneSmallClouds + 
387
                        age.redstoneVikingPipes + age.redstoneJRoushPipes +
388
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
389
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
390
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
391
                        age.worldVikingPipes + age.worldVikingFishyPipes +
392
                        age.redstoneNone) - age.redstoneNone - 1) ^3),
393
                <!-- Else clause; no conflict. May have none, or something. Normal instability -->
394
                  (50 * (
395
                    (age.redstoneClusters + age.redstoneVeins + age.redstoneClouds +
396
                        age.redstoneHugeVeins + age.redstoneSmallClouds + 
397
                        age.redstoneVikingPipes + age.redstoneJRoushPipes +
398
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
399
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
400
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
401
                        age.worldVikingPipes + age.worldVikingFishyPipes +
402
                        age.redstoneNone) - age.redstoneNone - 1) ^3)
403
                     )
404
                 ),
405
406
            <!-- Outer else clause, no symbols defined.
407
                One will be used at random (logic in standard ores) -->
408
                    5)        <!-- 5 penalty for unspecified -->
409
        </Instability>
410
411
    </MystcraftSymbol>
412
413
414
    <MystcraftSymbol name='lapisClusters' displayName='Lapis Clusters' weight='0.5' />
415
    <MystcraftSymbol name='lapisVeins' displayName='Lapis Veins (normal)' weight='0.5' />
416
    <MystcraftSymbol name='lapisHugeVeins' displayName='Lapis Veins (strategic)' weight='0.0' />
417
    <MystcraftSymbol name='lapisSmallClouds' displayName='Lapis Clouds (normal)' weight='0.0'/>
418
    <MystcraftSymbol name='lapisClouds' displayName='Lapis Clouds (strategic)' weight='0.5' />
419
    <MystcraftSymbol name='lapisVikingPipes' displayName='Lapis Pipes (hollow)' weight='0.5' />
420
    <MystcraftSymbol name='lapisJRoushPipes' displayName='Lapis Pipes (solid)' weight='0.5' />
421
    <MystcraftSymbol name='lapisNone' displayName='No Lapis' weight='0.5' 
422
        <Instability>:= if (
423
            <!-- test for instability -- "none" and something else. -->
424
                    (age.lapisClusters + age.lapisVeins + age.lapisClouds +
425
                        age.lapisHugeVeins + age.lapisSmallClouds + 
426
                        age.lapisVikingPipes + age.lapisJRoushPipes +
427
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
428
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
429
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
430
                        age.worldVikingPipes + age.worldVikingFishyPipes +
431
                        age.lapisNone)>0,
432
            <!-- At least one symbol was defined, determine if conflict -->
433
                (if (
434
                  ((age.lapisNone > 0) &amp; (
435
                    (age.lapisClusters + age.lapisVeins + age.lapisClouds +
436
                        age.lapisHugeVeins + age.lapisSmallClouds + 
437
                        age.lapisVikingPipes + age.lapisJRoushPipes +
438
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
439
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
440
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
441
                        age.worldVikingPipes + age.worldVikingFishyPipes +
442
                        age.lapisNone)>age.lapisNone)),
443
                <!-- We have a conflict; "none" and something else -->
444
                    <!-- Double the normal instability for the specified ores -->
445
                  (100 * (
446
                    (age.lapisClusters + age.lapisVeins + age.lapisClouds +
447
                        age.lapisHugeVeins + age.lapisSmallClouds + 
448
                        age.lapisVikingPipes + age.lapisJRoushPipes +
449
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
450
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
451
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
452
                        age.worldVikingPipes + age.worldVikingFishyPipes +
453
                        age.lapisNone) - age.lapisNone - 1) ^3),
454
                <!-- Else clause; no conflict. May have none, or something. Normal instability -->
455
                  (50 * (
456
                    (age.lapisClusters + age.lapisVeins + age.lapisClouds +
457
                        age.lapisHugeVeins + age.lapisSmallClouds + 
458
                        age.lapisVikingPipes + age.lapisJRoushPipes +
459
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
460
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
461
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
462
                        age.worldVikingPipes + age.worldVikingFishyPipes +
463
                        age.lapisNone) - age.lapisNone - 1) ^3)
464
                     )
465
                 ),
466
467
            <!-- Outer else clause, no symbols defined.
468
                One will be used at random (logic in standard ores) -->
469
                    5)        <!-- 5 penalty for unspecified -->
470
        </Instability>
471
472
    </MystcraftSymbol>
473
474
475
    <MystcraftSymbol name='goldClusters' displayName='Gold Clusters' weight='0.5' />
476
    <MystcraftSymbol name='goldVeins' displayName='Gold Veins (normal)' weight='0.5' />
477
    <MystcraftSymbol name='goldHugeVeins' displayName='Gold Veins (strategic)' weight='0.0' />
478
    <MystcraftSymbol name='goldSmallClouds' displayName='Gold Clouds (normal)' weight='0.0'/>
479
    <MystcraftSymbol name='goldClouds' displayName='Gold Clouds (strategic)' weight='0.5' />
480
    <MystcraftSymbol name='goldVikingPipes' displayName='Gold Pipes (hollow)' weight='0.5' />
481
    <MystcraftSymbol name='goldJRoushPipes' displayName='Gold Pipes (solid)' weight='0.5' />
482
    <MystcraftSymbol name='goldNone' displayName='No Gold' weight='0.5' 
483
        <Instability>:= if (
484
            <!-- test for instability -- "none" and something else. -->
485
                    (age.goldClusters + age.goldVeins + age.goldClouds +
486
                        age.goldHugeVeins + age.goldSmallClouds + 
487
                        age.goldVikingPipes + age.goldJRoushPipes +
488
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
489
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
490
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
491
                        age.worldVikingPipes + age.worldVikingFishyPipes +
492
                        age.goldNone)>0,
493
            <!-- At least one symbol was defined, determine if conflict -->
494
                (if (
495
                  ((age.goldNone > 0) &amp; (
496
                    (age.goldClusters + age.goldVeins + age.goldClouds +
497
                        age.goldHugeVeins + age.goldSmallClouds + 
498
                        age.goldVikingPipes + age.goldJRoushPipes +
499
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
500
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
501
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
502
                        age.worldVikingPipes + age.worldVikingFishyPipes +
503
                        age.goldNone)>age.goldNone)),
504
                <!-- We have a conflict; "none" and something else -->
505
                    <!-- Double the normal instability for the specified ores -->
506
                  (100 * (
507
                    (age.goldClusters + age.goldVeins + age.goldClouds +
508
                        age.goldHugeVeins + age.goldSmallClouds + 
509
                        age.goldVikingPipes + age.goldJRoushPipes +
510
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
511
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
512
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
513
                        age.worldVikingPipes + age.worldVikingFishyPipes +
514
                        age.goldNone) - age.goldNone - 1) ^3),
515
                <!-- Else clause; no conflict. May have none, or something. Normal instability -->
516
                  (50 * (
517
                    (age.goldClusters + age.goldVeins + age.goldClouds +
518
                        age.goldHugeVeins + age.goldSmallClouds + 
519
                        age.goldVikingPipes + age.goldJRoushPipes +
520
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
521
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
522
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
523
                        age.worldVikingPipes + age.worldVikingFishyPipes +
524
                        age.goldNone) - age.goldNone - 1) ^3)
525
                     )
526
                 ),
527
528
            <!-- Outer else clause, no symbols defined.
529
                One will be used at random (logic in standard ores) -->
530
                    5)        <!-- 5 penalty for unspecified -->
531
        </Instability>
532
533
    </MystcraftSymbol>
534
535
536
    <MystcraftSymbol name='diamondClusters' displayName='Diamond Clusters' weight='0.5' />
537
    <MystcraftSymbol name='diamondVeins' displayName='Diamond Veins (normal)' weight='0.5' />
538
    <MystcraftSymbol name='diamondHugeVeins' displayName='Diamond Veins (strategic)' weight='0.0' />
539
    <MystcraftSymbol name='diamondSmallClouds' displayName='Diamond Clouds (normal)' weight='0.0'/>
540
    <MystcraftSymbol name='diamondClouds' displayName='Diamond Clouds (strategic)' weight='0.5' />
541
    <MystcraftSymbol name='diamondVikingPipes' displayName='Diamond Pipes (hollow)' weight='0.5' />
542
    <MystcraftSymbol name='diamondJRoushPipes' displayName='Diamond Pipes (solid)' weight='0.5' />
543
    <MystcraftSymbol name='diamondNone' displayName='No Diamond' weight='0.5' 
544
        <Instability>:= if (
545
            <!-- test for instability -- "none" and something else. -->
546
                    (age.diamondClusters + age.diamondVeins + age.diamondClouds +
547
                        age.diamondHugeVeins + age.diamondSmallClouds + 
548
                        age.diamondVikingPipes + age.diamondJRoushPipes +
549
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
550
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
551
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
552
                        age.worldVikingPipes + age.worldVikingFishyPipes +
553
                        age.diamondNone)>0,
554
            <!-- At least one symbol was defined, determine if conflict -->
555
                (if (
556
                  ((age.diamondNone > 0) &amp; (
557
                    (age.diamondClusters + age.diamondVeins + age.diamondClouds +
558
                        age.diamondHugeVeins + age.diamondSmallClouds + 
559
                        age.diamondVikingPipes + age.diamondJRoushPipes +
560
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
561
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
562
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
563
                        age.worldVikingPipes + age.worldVikingFishyPipes +
564
                        age.diamondNone)>age.diamondNone)),
565
                <!-- We have a conflict; "none" and something else -->
566
                    <!-- Double the normal instability for the specified ores -->
567
                  (100 * (
568
                    (age.diamondClusters + age.diamondVeins + age.diamondClouds +
569
                        age.diamondHugeVeins + age.diamondSmallClouds + 
570
                        age.diamondVikingPipes + age.diamondJRoushPipes +
571
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
572
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
573
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
574
                        age.worldVikingPipes + age.worldVikingFishyPipes +
575
                        age.diamondNone) - age.diamondNone - 1) ^3),
576
                <!-- Else clause; no conflict. May have none, or something. Normal instability -->
577
                  (50 * (
578
                    (age.diamondClusters + age.diamondVeins + age.diamondClouds +
579
                        age.diamondHugeVeins + age.diamondSmallClouds + 
580
                        age.diamondVikingPipes + age.diamondJRoushPipes +
581
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
582
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
583
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
584
                        age.worldVikingPipes + age.worldVikingFishyPipes +
585
                        age.diamondNone) - age.diamondNone - 1) ^3)
586
                     )
587
                 ),
588
589
            <!-- Outer else clause, no symbols defined.
590
                One will be used at random (logic in standard ores) -->
591
                    5)        <!-- 5 penalty for unspecified -->
592
        </Instability>
593
594
    </MystcraftSymbol>
595
596
597
    <MystcraftSymbol name='emeraldClusters' displayName='Emerald Clusters' weight='0.5' />
598
    <MystcraftSymbol name='emeraldVeins' displayName='Emerald Veins (normal)' weight='0.5' />
599
    <MystcraftSymbol name='emeraldHugeVeins' displayName='Emerald Veins (strategic)' weight='0.0' />
600
    <MystcraftSymbol name='emeraldSmallClouds' displayName='Emerald Clouds (normal)' weight='0.0'/>
601
    <MystcraftSymbol name='emeraldClouds' displayName='Emerald Clouds (strategic)' weight='0.5' />
602
    <MystcraftSymbol name='emeraldVikingPipes' displayName='Emerald Pipes (hollow)' weight='0.5' />
603
    <MystcraftSymbol name='emeraldJRoushPipes' displayName='Emerald Pipes (solid)' weight='0.5' />
604
    <MystcraftSymbol name='emeraldNone' displayName='No Emerald' weight='0.5' 
605
        <Instability>:= if (
606
            <!-- test for instability -- "none" and something else. -->
607
                    (age.emeraldClusters + age.emeraldVeins + age.emeraldClouds +
608
                        age.emeraldHugeVeins + age.emeraldSmallClouds + 
609
                        age.emeraldVikingPipes + age.emeraldJRoushPipes +
610
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
611
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
612
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
613
                        age.worldVikingPipes + age.worldVikingFishyPipes +
614
                        age.emeraldNone)>0,
615
            <!-- At least one symbol was defined, determine if conflict -->
616
                (if (
617
                  ((age.emeraldNone > 0) &amp; (
618
                    (age.emeraldClusters + age.emeraldVeins + age.emeraldClouds +
619
                        age.emeraldHugeVeins + age.emeraldSmallClouds + 
620
                        age.emeraldVikingPipes + age.emeraldJRoushPipes +
621
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
622
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
623
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
624
                        age.worldVikingPipes + age.worldVikingFishyPipes +
625
                        age.emeraldNone)>age.emeraldNone)),
626
                <!-- We have a conflict; "none" and something else -->
627
                    <!-- Double the normal instability for the specified ores -->
628
                  (100 * (
629
                    (age.emeraldClusters + age.emeraldVeins + age.emeraldClouds +
630
                        age.emeraldHugeVeins + age.emeraldSmallClouds + 
631
                        age.emeraldVikingPipes + age.emeraldJRoushPipes +
632
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
633
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
634
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
635
                        age.worldVikingPipes + age.worldVikingFishyPipes +
636
                        age.emeraldNone) - age.emeraldNone - 1) ^3),
637
                <!-- Else clause; no conflict. May have none, or something. Normal instability -->
638
                  (50 * (
639
                    (age.emeraldClusters + age.emeraldVeins + age.emeraldClouds +
640
                        age.emeraldHugeVeins + age.emeraldSmallClouds + 
641
                        age.emeraldVikingPipes + age.emeraldJRoushPipes +
642
                        age.worldVanillaClusters + age.worldV2Mix + age.worldV3PureVein +
643
                        age.worldHugeVeins + age.worldSmallClouds + age.worldHugeClouds +
644
                        age.worldMixedPipresHollowOreSolidGem + age.worldJRoushPipes +
645
                        age.worldVikingPipes + age.worldVikingFishyPipes +
646
                        age.emeraldNone) - age.emeraldNone - 1) ^3)
647
                     )
648
                 ),
649
650
            <!-- Outer else clause, no symbols defined.
651
                One will be used at random (logic in standard ores) -->
652
                    5)        <!-- 5 penalty for unspecified -->
653
        </Instability>
654
655
    </MystcraftSymbol>
656
657
</ConfigSection>