Update beta randomizer with extra_keys setting

This commit is contained in:
2026-05-03 17:51:24 -05:00
parent 807d56d3c0
commit 40b838feed
3 changed files with 14 additions and 3 deletions

2
.gitmodules vendored
View File

@@ -9,7 +9,7 @@
[submodule "BetaRandomizer"] [submodule "BetaRandomizer"]
path = BetaRandomizer path = BetaRandomizer
url = https://git.gwaa.kiwi/alttpr-gwaa-kiwi/alttpr-python url = https://git.gwaa.kiwi/alttpr-gwaa-kiwi/alttpr-python
branch = beta branch = beta_2
[submodule "PikitRandomizer"] [submodule "PikitRandomizer"]
path = PikitRandomizer path = PikitRandomizer
url = https://git.gwaa.kiwi/alttpr-gwaa-kiwi/alttpr-python.git url = https://git.gwaa.kiwi/alttpr-gwaa-kiwi/alttpr-python.git

View File

@@ -1,5 +1,4 @@
namespace ALttPRandomizer.Model { namespace ALttPRandomizer.Model {
using ALttPRandomizer.Randomizers;
using ALttPRandomizer.Settings; using ALttPRandomizer.Settings;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
@@ -159,6 +158,10 @@
[IgnoreSetting(Apr2025)] [IgnoreSetting(Apr2025)]
public TrapDoorMode TrapDoorMode { get; set; } = TrapDoorMode.Some; public TrapDoorMode TrapDoorMode { get; set; } = TrapDoorMode.Some;
[SettingName("extra_keys")]
[IgnoreSetting(Apr2025, Base)]
public ExtraKeysMode ExtraKeys { get; set; } = ExtraKeysMode.None;
[NoSettingName] [NoSettingName]
[IgnoreSetting(Apr2025)] [IgnoreSetting(Apr2025)]
public FollowerShuffle FollowerShuffle { get; set; } = FollowerShuffle.Vanilla; public FollowerShuffle FollowerShuffle { get; set; } = FollowerShuffle.Vanilla;
@@ -475,6 +478,14 @@
[SettingName("oneway")] RemoveAll, [SettingName("oneway")] RemoveAll,
} }
public enum ExtraKeysMode {
[SettingName("0")] None,
[SettingName("1")] Extra1,
[SettingName("20")] Percent20,
[SettingName("30")] Percent30,
[SettingName("40")] Percent40,
}
public enum FluteShuffle { public enum FluteShuffle {
Vanilla, Vanilla,
Random, Random,