- Add min extract requirement property

- Fix warnings
- Convert string to mongoId
This commit is contained in:
Cj
2025-10-01 01:51:57 -04:00
parent d68a51f031
commit e57f03bd28
4 changed files with 32 additions and 10 deletions
@@ -329,7 +329,7 @@ public record QuestConditionCounter
public record QuestConditionCounterCondition
{
[JsonPropertyName("id")]
public string? Id { get; set; }
public MongoId? Id { get; set; }
[JsonPropertyName("dynamicLocale")]
public bool? DynamicLocale { get; set; }
@@ -361,12 +361,24 @@ public record RepeatableQuestTypesConfig
public record Exploration : BaseQuestConfig
{
/// <summary>
/// Minimum extract count that a per map extract requirement can be generated with
/// </summary>
[JsonPropertyName("minExtracts")]
public required int MinimumExtracts { get; set; }
/// <summary>
/// Maximum extract count that a per map extract requirement can be generated with
/// </summary>
[JsonPropertyName("maxExtracts")]
public required int MaximumExtracts { get; set; }
/// <summary>
/// Minimum extract count that a specific extract can be generated with
/// </summary>
[JsonPropertyName("minExtractsWithSpecificExit")]
public required int MinimumExtractsWithSpecificExit { get; set; }
/// <summary>
/// Maximum extract count that a specific extract can be generated with
/// </summary>