show_map option and retries
This commit is contained in:
@@ -92,6 +92,11 @@
|
||||
[NoSettingName([Apr2025, Base])]
|
||||
public ShowLoot ShowLoot { get; set; } = ShowLoot.Never;
|
||||
|
||||
[SettingName("showmap")]
|
||||
[RequiredSetting([Apr2025, Base], ShowMap.Map)]
|
||||
[NoSettingName([Apr2025, Base])]
|
||||
public ShowMap ShowMap { get; set; } = ShowMap.Map;
|
||||
|
||||
[NoSettingName]
|
||||
[RequiredSetting([Apr2025], ShopShuffle.Vanilla)]
|
||||
public ShopShuffle ShopShuffle { get; set; } = ShopShuffle.Vanilla;
|
||||
@@ -322,10 +327,17 @@
|
||||
|
||||
public enum ShowLoot {
|
||||
Never,
|
||||
Presence,
|
||||
Compass,
|
||||
Always,
|
||||
}
|
||||
|
||||
public enum ShowMap {
|
||||
Visited,
|
||||
Map,
|
||||
Always,
|
||||
}
|
||||
|
||||
public enum BootsSettings {
|
||||
Normal,
|
||||
[AdditionalSetting("--pseudoboots")] Pseudoboots,
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
public const string Name = "base";
|
||||
public const string DungeonMapName = "dungeon_map";
|
||||
|
||||
public const int MULTI_TRIES = 20;
|
||||
public const int SINGLE_TRIES = 20;
|
||||
|
||||
public BaseRandomizer(
|
||||
AzureStorage azureStorage,
|
||||
CommonSettingsProcessor settingsProcessor,
|
||||
@@ -97,6 +100,8 @@
|
||||
|
||||
args.Add("--spoiler=json");
|
||||
|
||||
args.Add(string.Format("--tries={0}", SINGLE_TRIES));
|
||||
|
||||
foreach (var arg in settings) {
|
||||
args.Add(arg);
|
||||
}
|
||||
@@ -148,7 +153,8 @@
|
||||
|
||||
var args = settings.Select((s, idx) => string.Format("--p{0}={1}", idx + 1, string.Join(" ", this.GetArgs(s))))
|
||||
.Append(string.Format("--names={0}", string.Join(",", names)))
|
||||
.Append(string.Format("--multi={0}", settings.Count));
|
||||
.Append(string.Format("--multi={0}", settings.Count))
|
||||
.Append(string.Format("--tries={0}", MULTI_TRIES));
|
||||
|
||||
await StartProcess(randomizerName, id, args, async exitcode => {
|
||||
if (exitcode != 0) {
|
||||
|
||||
Submodule BaseRandomizer updated: 7bec1f899c...ea8498f402
Submodule DungeonMapRandomizer updated: 8df39da2bd...5e0deadf55
Reference in New Issue
Block a user