-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWaystoneModDefinitions.cs
More file actions
744 lines (737 loc) · 28.8 KB
/
Copy pathWaystoneModDefinitions.cs
File metadata and controls
744 lines (737 loc) · 28.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
using System;
using System.Collections.Generic;
using System.Linq;
namespace WaystoneCrafter
{
public class ModDefinition
{
public string InternalName { get; set; }
public string DisplayName { get; set; }
public bool IsPrefix { get; set; }
public string Description { get; set; }
public string Variant { get; set; } // To distinguish between mods with same internal name
}
public static class WaystoneModDefinitions
{
private static readonly List<ModDefinition> ModList = new()
{
new ModDefinition
{
InternalName = "MapExperienceGainIncrease",
DisplayName = "Elevated",
IsPrefix = true,
Description = "+% Experience gain"
},
new ModDefinition
{
InternalName = "MapMonsterPackSizeIncrease",
DisplayName = "Teeming",
IsPrefix = true,
Description = "+% Pack Size"
},
new ModDefinition
{
InternalName = "MapDroppedItemQuantityRarityIncrease",
DisplayName = "Plundering",
IsPrefix = true,
Description = "(10–15)% increased Quantity of Items found in this Area\n(18–24)% increased Rarity of Items found in this Area"
},
new ModDefinition
{
InternalName = "MapDroppedItemRarityIncrease",
DisplayName = "Collector's",
IsPrefix = true,
Description = "+% Rarity"
},
new ModDefinition
{
InternalName = "MapDroppedGoldIncrease",
DisplayName = "Bountiful",
IsPrefix = true,
Description = "+% Gold"
},
new ModDefinition
{
InternalName = "MapPackSizeIncrease",
DisplayName = "Breeding",
IsPrefix = true,
Description = "+% Pack Size"
},
new ModDefinition
{
InternalName = "MapTotalEffectivenessIncrease",
DisplayName = "Populated",
IsPrefix = true,
Description = "+% Monster Packs"
},
new ModDefinition
{
InternalName = "MapMagicPackIncrease",
DisplayName = "Teeming",
IsPrefix = true,
Description = "+% Magic Monsters"
},
new ModDefinition
{
InternalName = "MapRarePackIncrease",
DisplayName = "Brimming",
IsPrefix = true,
Description = "+% Rare Monsters"
},
new ModDefinition
{
InternalName = "MapMagicRarePackIncrease",
DisplayName = "Swarming",
IsPrefix = true,
Description = "x% increased Magic Monsters\nx% increased number of Rare Monsters"
},
new ModDefinition
{
InternalName = "MapMagicChestCountIncrease",
DisplayName = "Archivist's",
IsPrefix = true,
Description = "+% Magic Chests"
},
new ModDefinition
{
InternalName = "MapRareChestCountIncrease",
DisplayName = "Treasurer's",
IsPrefix = true,
Description = "+% Rare Chests"
},
new ModDefinition
{
InternalName = "MapMagicPackSizeIncrease",
DisplayName = "Emboldening",
IsPrefix = true,
Description = "+% Magic Pack Size"
},
new ModDefinition
{
InternalName = "MapRareMonstersAdditionalModifier",
DisplayName = "Nemesis",
IsPrefix = true,
Description = "Rare Monsters have +1 Modifier"
},
new ModDefinition
{
InternalName = "MapAdditionalShrine",
DisplayName = "Devoted",
IsPrefix = true,
Description = "+1 Shrine"
},
new ModDefinition
{
InternalName = "MapAdditionalStrongbox",
DisplayName = "Antiquarian's",
IsPrefix = true,
Description = "+1 Strongbox"
},
new ModDefinition
{
InternalName = "MapAdditionalEssence",
DisplayName = "Crystallised",
IsPrefix = true,
Description = "+1 Essence"
},
new ModDefinition
{
InternalName = "MapMonsterFireDamage",
DisplayName = "of the Inferno",
Description = "Monsters deal Extra Fire Damage\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterColdDamage",
DisplayName = "of Frostbite",
Description = "Monsters deal Extra Cold Damage\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterLightningDamage",
DisplayName = "of Thunder",
Description = "Monsters deal (26–30)% of Damage as Extra Lightning\n95% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterDamage",
DisplayName = "of Pain",
Description = "+% Monster Damage\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterFast",
DisplayName = "of Fleeting",
Description = "+% Monster Speed (Movement, Attack, Cast)\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterCriticalStrikesAndDamage",
DisplayName = "of Destruction",
Description = "+% Monster Crit Chance & Damage\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterLife",
DisplayName = "of Toughness",
Description = "(30–39)% more Monster Life\n90% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersAllResistances",
DisplayName = "of the Prism",
Description = "+% Monster Elemental Resistances\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersEvasive",
DisplayName = "of the Blur",
Description = "Monsters are Evasive\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersEnergyShield",
DisplayName = "of Buffering",
Description = "Monsters gain Extra Energy Shield\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPoisoning",
DisplayName = "of Venom",
Description = "Monsters have 40% chance to Poison on Hit\n90% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapBleeding",
DisplayName = "of Puncturing",
Description = "Monsters have 25% chance to Bleed on Hit\n90% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersArmourBreak",
DisplayName = "of Shattering",
Description = "Monsters Break Armour\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersAccuracy",
DisplayName = "of Precision",
Description = "+% Monster Accuracy\n75% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterChaosDamage",
DisplayName = "of Armageddon",
Description = "Monsters deal (26–30)% of Damage as Extra Chaos\n75% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersAilmentChance",
DisplayName = "of Overpowering",
Description = "Monsters have 100% increased Freeze Buildup\nMonsters have 100% increased Ignite Chance\nMonsters have 100% increased Shock Chance\n100% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterMultipleProjectiles",
DisplayName = "of Splitting",
Description = "Monsters fire Additional Projectiles\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonsterAreaOfEffect",
DisplayName = "of Giants",
Description = "+% Monster Area of Effect\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPlayerEnfeeblement",
DisplayName = "of Enfeeblement",
Description = "Players are Cursed with Enfeeble\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPlayerTemporalChains",
DisplayName = "of Temporal Chains",
Description = "Players are Cursed with Temporal Chains\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPlayerElementalWeakness",
DisplayName = "of Elemental Weakness",
Description = "Players are Cursed with Elemental Weakness\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersElementalPenetration",
DisplayName = "of Penetration",
Description = "Monster Damage Penetrates Resistances\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPlayerMaxResists",
DisplayName = "of Exposure",
Description = "-% Maximum Player Resistances\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPlayerReducedRegen",
DisplayName = "of Smothering",
Description = "Players have 40% less Recovery Rate of Life and Energy Shield\n125% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPlayerFlaskChargeGain",
DisplayName = "of Drought",
Description = "Reduced Flask Charges\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapPlayerCooldownRecovery",
DisplayName = "of Fatigue",
Description = "Less Cooldown Recovery Rate\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersBaseSelfCriticalMultiplier",
DisplayName = "of Obstruction",
Description = "Monsters take Less Crit Damage\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersCurseEffectOnSelfFinal",
DisplayName = "of the Hexwarded",
Description = "75% less effect of Curses on Monsters\n70% increased Waystones found in Area",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapMonstersStealChargesOnHit",
DisplayName = "of Enervation",
Description = "Monsters Steal Charges\n+% Waystones found",
IsPrefix = false
},
new ModDefinition
{
InternalName = "MapSpreadGroundEffect",
DisplayName = "of Flames",
Description = "Burning Ground\n+% Waystones found",
IsPrefix = false,
Variant = "Fire"
},
new ModDefinition
{
InternalName = "MapSpreadChilledGround",
DisplayName = "of Ice",
Description = "Chilled Ground\n+% Waystones found",
IsPrefix = false,
Variant = "Cold"
},
new ModDefinition
{
InternalName = "MapSpreadGroundEffect",
DisplayName = "of Electricity",
Description = "Shocked Ground\n+% Waystones found",
IsPrefix = false,
Variant = "Lightning"
},
new ModDefinition
{
InternalName = "MapChestCountIncrease",
DisplayName = "Salvager's",
IsPrefix = true,
Description = "x% increased Chests found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterStunAilmentThreshold",
DisplayName = "of the Unwavering",
IsPrefix = false,
Description = "Monsters have x% increased Stun and Ailment Threshold\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterStunBuildup",
DisplayName = "of Impact",
IsPrefix = false,
Description = "Monsters have x% increased Stun Effect Duration\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterArmoured",
DisplayName = "of Endurance",
IsPrefix = false,
Description = "Monsters are Armoured\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterAccuracy",
DisplayName = "of Precision",
IsPrefix = false,
Description = "Monsters have x% increased Accuracy Rating\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksBaron",
DisplayName = "Baron's",
IsPrefix = true,
Description = "Area contains an additional pack of Barons"
},
// Additional pack mods with their specific internal names
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksHallowed",
DisplayName = "Hallowed",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Undead"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksBeastly",
DisplayName = "Beastly",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Beasts"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksRusted",
DisplayName = "Rusted",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Ezomyte Monsters"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksFaridun",
DisplayName = "Faridun's",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Faridun Monsters"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksSacrificial",
DisplayName = "Sacrificial",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Vaal Monsters"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksPerennial",
DisplayName = "Perennial's",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Plagued Monsters"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksDoryani",
DisplayName = "Doryani's",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Transcended Monsters"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksBrambled",
DisplayName = "Brambled",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Bramble Monsters"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksVaal",
DisplayName = "Sacrificial",
IsPrefix = true,
Description = "Area contains (8–12) additional packs of Vaal Monsters"
},
new ModDefinition
{
InternalName = "MapMonsterArmourBreak",
DisplayName = "of Shattering",
IsPrefix = false,
Description = "Monsters have x% increased Armour Break\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterPoisoning",
DisplayName = "of Venom",
IsPrefix = false,
Description = "Monsters have x% chance to Poison on Hit\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterElementAilmentChance",
DisplayName = "of Overpowering",
IsPrefix = false,
Description = "Monsters have x% increased Elemental Ailment Effect\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterDamageAsLightning",
DisplayName = "of Thunder",
IsPrefix = false,
Description = "Monsters deal x% of Physical Damage as extra Lightning Damage\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterLifeIncrease",
DisplayName = "of Toughness",
IsPrefix = false,
Description = "Monsters have x% increased Life\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalProjectiles",
DisplayName = "of Splitting",
IsPrefix = false,
Description = "Monsters fire x additional Projectiles\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterDamageAsChaos",
DisplayName = "of Armageddon",
IsPrefix = false,
Description = "Monsters deal x% of Physical Damage as extra Chaos Damage\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterEnergyShield",
DisplayName = "of Buffering",
IsPrefix = false,
Description = "Monsters have x% increased Energy Shield\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapDroppedItemQuantityIncrease",
DisplayName = "Plundering",
IsPrefix = true,
Description = "x% increased Quantity of Items found in this Area"
},
new ModDefinition
{
InternalName = "MapMonsterBleeding",
DisplayName = "of Puncturing",
IsPrefix = false,
Description = "Monsters have x% chance to cause Bleeding on Hit\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksEzomyte",
DisplayName = "Rusted",
IsPrefix = true,
Description = "Area contains additional packs of Iron Guards"
},
new ModDefinition
{
InternalName = "MapMonstersCurseEffectOnSelf",
DisplayName = "of the Hexwarded",
IsPrefix = false,
Description = "x% reduced Effect of Curses on Monsters\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapPlayerRecoveryRate",
DisplayName = "of Smothering",
IsPrefix = false,
Description = "x% reduced Recovery Rate of Life and Energy Shield\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapSpreadBurningGround",
DisplayName = "of Flames",
IsPrefix = false,
Description = "Areas contain Burning Ground\nx% increased Waystones found in Area"
},
new ModDefinition
{
InternalName = "MapMonsterDamageIncrease",
DisplayName = "of Pain",
IsPrefix = false,
Description = "+% Monster Damage\n+% Waystones found"
},
new ModDefinition
{
InternalName = "MapMonsterDamageAsCold",
DisplayName = "of Frostbite",
IsPrefix = false,
Description = "Monsters deal Extra Cold Damage\n+% Waystones found"
},
new ModDefinition
{
InternalName = "MapPlayerMaximumResists",
DisplayName = "of Exposure",
IsPrefix = false,
Description = "-% Maximum Player Resistances\n+% Waystones found"
},
new ModDefinition
{
InternalName = "MapMonsterElementalResistances",
DisplayName = "of the Prism",
IsPrefix = false,
Description = "+% Monster Elemental Resistances\n+% Waystones found"
},
new ModDefinition
{
InternalName = "MapSpreadShockedGround",
DisplayName = "of Electricity",
IsPrefix = false,
Description = "Shocked Ground\n+% Waystones found"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksUndead",
DisplayName = "Hallowed",
IsPrefix = true,
Description = "Area contains additional packs of undead monsters"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPacksBeasts",
DisplayName = "Beastly",
IsPrefix = true,
Description = "Area contains additional packs of beast monsters"
},
new ModDefinition
{
InternalName = "MapMonstersStealCharges",
DisplayName = "of Enervation",
IsPrefix = false,
Description = "Monsters steal charges on hit"
},
new ModDefinition
{
InternalName = "MapMonsterSpeedIncrease",
DisplayName = "of Fleeting",
IsPrefix = false,
Description = "Monsters have increased movement speed"
},
new ModDefinition
{
InternalName = "MapMonsterGiantSize",
DisplayName = "of Giants",
IsPrefix = false,
Description = "Monsters have increased size and area of effect"
},
new ModDefinition
{
InternalName = "MapMonsterThorns",
DisplayName = "Brambled",
IsPrefix = true,
Description = "Monsters reflect damage"
},
new ModDefinition
{
InternalName = "MapPlayerEnfeeble",
DisplayName = "of Enfeeblement",
IsPrefix = false,
Description = "Players are cursed with Enfeeble"
},
new ModDefinition
{
InternalName = "MapMonsterCriticalStrikes",
DisplayName = "of Destruction",
IsPrefix = false,
Description = "Monsters have increased critical strike chance"
},
new ModDefinition
{
InternalName = "MapMonsterEvasion",
DisplayName = "of the Blur",
IsPrefix = false,
Description = "Monsters have increased evasion"
},
new ModDefinition
{
InternalName = "MapMonsterFireDamage",
DisplayName = "of the Inferno",
IsPrefix = false,
Description = "Monsters deal additional fire damage"
},
new ModDefinition
{
InternalName = "MapMonsterIncreasedAreaOfEffect",
DisplayName = "of Giants",
IsPrefix = false,
Description = "Monsters have increased area of effect"
},
new ModDefinition
{
InternalName = "MapMonsterAdditionalPackBramble",
DisplayName = "Brambled",
IsPrefix = true,
Description = "Area contains additional packs of bramble monsters"
},
new ModDefinition
{
InternalName = "MapMonsterEvasive",
DisplayName = "of the Blur",
IsPrefix = false,
Description = "Monsters are evasive"
},
new ModDefinition
{
InternalName = "MapMonsterDamageAsFire",
DisplayName = "of the Inferno",
IsPrefix = false,
Description = "Monsters deal additional fire damage"
},
new ModDefinition
{
InternalName = "MapMonsterCritIncrease",
DisplayName = "of Destruction",
IsPrefix = false,
Description = "Monsters have increased critical strike chance"
},
};
public static ModDefinition GetModDefinition(string internalName, string displayName = null)
{
var candidates = ModList.Where(m => m.InternalName == internalName);
if (!string.IsNullOrEmpty(displayName))
{
// If we have a display name, use it to find the exact variant
return candidates.FirstOrDefault(m => m.DisplayName == displayName);
}
return candidates.FirstOrDefault();
}
public static IEnumerable<ModDefinition> GetAllModDefinitions()
{
return ModList;
}
public static bool IsPrefix(string internalName)
{
var def = GetModDefinition(internalName);
return def?.IsPrefix ?? false;
}
public static string GetDisplayName(string internalName)
{
return GetModDefinition(internalName)?.DisplayName ?? internalName;
}
public static string GetDescription(string internalName)
{
return GetModDefinition(internalName)?.Description ?? internalName;
}
}
}