Add settings for ganon crystals and GT crystals

This commit is contained in:
2025-03-02 14:00:40 -06:00
parent 830197385d
commit 085433e108
2 changed files with 20 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
namespace ALttPRandomizer.Model {
using ALttPRandomizer.Settings;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
public class SeedSettings {
public const string Omit = "<null>";
@@ -11,6 +12,12 @@
public Goal Goal { get; set; } = Goal.Ganon;
[CommonValue("crystals_ganon")]
public EntryRequirement CrystalsGanon { get; set; } = EntryRequirement.Crystals7;
[CommonValue("crystals_gt")]
public EntryRequirement CrystalsGT { get; set; } = EntryRequirement.Crystals7;
public EntranceShuffle EntranceShuffle { get; set; } = EntranceShuffle.Vanilla;
public SkullWoodsShuffle SkullWoods { get; set; } = SkullWoodsShuffle.Original;
public LinkedDrops LinkedDrops { get; set; } = LinkedDrops.Unset;
@@ -65,6 +72,18 @@
Completionist,
}
public enum EntryRequirement {
[JsonStringEnumMemberName("7")] [CommonValue("7")] Crystals7,
[JsonStringEnumMemberName("6")] [CommonValue("6")] Crystals6,
[JsonStringEnumMemberName("5")] [CommonValue("5")] Crystals5,
[JsonStringEnumMemberName("4")] [CommonValue("4")] Crystals4,
[JsonStringEnumMemberName("3")] [CommonValue("3")] Crystals3,
[JsonStringEnumMemberName("2")] [CommonValue("2")] Crystals2,
[JsonStringEnumMemberName("1")] [CommonValue("1")] Crystals1,
[JsonStringEnumMemberName("0")] [CommonValue("0")] Crystals0,
Random,
}
[CommonValue("shuffle")]
public enum EntranceShuffle {
Vanilla,